Class Sound
A sound is a variant of an instrument.
Grand Piano 1, Grand Piano 2, Upright natural piano and Honky-tonk are sounds of the MusicalInstrument piano.
Section
| Section | Summary |
|---|---|
| InstrumentsClassifications | Musical instrument classifications |
Summary
| Field | Type | Summary |
|---|---|---|
| Articulation | string | Name of the articulation, if the sound is special for if: legato, staccato. |
| HighestNote | string | Highest note, nil if unknown. |
| ID | int | Sound ID, may be one of Myriad sound base internals ID, or added ID in SMCore database. |
| IsDuplicate | boolean | Some gold sounds are duplicates, or "alias". |
| IsStop | boolean | Is this sound a stop (registry) for organ, accordion ? |
| LowestNote | string | Lowest note, nil if unknown. |
| MyrSynthGuitar | table | Files or options for MyrSynth Guitar, nil if not applicable. |
| OutputDevice | int | Output device, digital or MyrSynth. |
| PlayRange | string | Specific play range for the sound, else play ranges are attached to |
| Return type | Function and summary |
|---|---|
| boolean | isAvailable() Is sound available? |
| string | name() For Gold sounds, if not customized, it's returned by the Application, according to language. |
Fields
int Sound:ID
Sound ID, may be one of Myriad sound base internals ID, or added ID in SMCore database.
int Sound:OutputDevice
Output device, digital or MyrSynth.
boolean Sound:IsDuplicate
Some gold sounds are duplicates, or "alias".
string Sound:Articulation
Name of the articulation, if the sound is special for if: legato, staccato.
boolean Sound:IsStop
Is this sound a stop (registry) for organ, accordion ?
table Sound:MyrSynthGuitar
Files or options for MyrSynth Guitar, nil if not applicable.
string Sound:LowestNote
Lowest note, nil if unknown.
string Sound:HighestNote
Highest note, nil if unknown.
string Sound:PlayRange
Specific play range for the sound, else play ranges are attached to
Methods
Sound:name()
For Gold sounds, if not customized, it's returned by the Application, according to language.
- Return
- string: string
Sound:isAvailable()
Is sound available?
This database contains all Gold 2 sounds. This function checks if the sound ID exist when user has the old Gold 1, or a light database.
- Return
- boolean:
trueif available,falseornilif not.