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.

See
MusicalInstrument

Section

SectionSummary
InstrumentsClassificationsMusical instrument classifications

Summary

FieldTypeSummary
ArticulationstringName of the articulation, if the sound is special for if: legato, staccato.
HighestNotestringHighest note, nil if unknown.
IDintSound ID, may be one of Myriad sound base internals ID, or added ID in SMCore database.
IsDuplicatebooleanSome gold sounds are duplicates, or "alias".
IsStopbooleanIs this sound a stop (registry) for organ, accordion ?
LowestNotestringLowest note, nil if unknown.
MyrSynthGuitartableFiles or options for MyrSynth Guitar, nil if not applicable.
OutputDeviceintOutput device, digital or MyrSynth.
PlayRangestringSpecific play range for the sound, else play ranges are attached to .
Return typeFunction and summary
booleanisAvailable()
Is sound available?
stringname()
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: true if available, false or nil if not.