Section InstrumentsClassifications

Musical instrument classifications

See
MusicalInstrument The object
MusicalInstruments Map of objects and the INSTR_* constants.

Summary

ConstantTypeSummary
MIDI_SECTION_BASSintMIDI section: basses
MIDI_SECTION_BRASSintMIDI section: brass
MIDI_SECTION_CHROMATIC_PERCSintMIDI section: chromatics percussions
MIDI_SECTION_DRUMKITSintMIDI section: drumkits More percussive, mostly non-pitched.
MIDI_SECTION_EFFECTSintMIDI section: effects (sounds & noise)
MIDI_SECTION_ENSEMBLESintMIDI section: ensembles
MIDI_SECTION_ETHNICSintMIDI section: ethnics
MIDI_SECTION_GUITARSintMIDI section: guitars
MIDI_SECTION_ORGANSintMIDI section: organs
MIDI_SECTION_OTHERSintMIDI section: unknown/unsorted
MIDI_SECTION_PERCUSSIONSintMIDI section: percussives
MIDI_SECTION_PIANOSintMIDI section; pianos
MIDI_SECTION_PIPESintMIDI section: pipes
MIDI_SECTION_REEDSintMIDI section: reeds
MIDI_SECTION_STRINGSintMIDI section solo strings & orchestral instruments
MIDI_SECTION_SYNTH_FXintMIDI section: synth effects
MIDI_SECTION_SYNTH_LEADS=intMIDI section: synth leads
MIDI_SECTION_SYNTH_PADSintMIDI section: synth pads
ORCH_SECTION_ANALOGICSintAnalogic instruments of the orchestra: Moog, Yamaha DX7, Roland AX, synths
ORCH_SECTION_BOWED_STRINGSintBowed strings section of the orchestra: for violins, hurdy-gurdy...
ORCH_SECTION_BRASSintBrass section of the orchestra: for trumpet, trombone.
ORCH_SECTION_DOUBLE_REEDSintDouble-reeds section of the orchestra: for oboe, bassoon, bombarde, some bagpipes, duduk...
ORCH_SECTION_ELECTRONICSintElectronic (non analogic) instruments of the orchestra: Theremine, Martenot waves.
ORCH_SECTION_ELECTRO_MECHANICS=intElectro mechanics instruments of the orchestra: for Hammond organ, Rhodes piano, Wurlitzer, clavinet...
ORCH_SECTION_FLUTESintFlutes section of the orchestra: for flute, church organ, recorders, ocarina, tin whistle...
ORCH_SECTION_FREE_REEDS=intFree-reeds section of the orchestra: for harmonica, accordion, harmonium, sheng, guimbarde...
ORCH_SECTION_IDIOPHONESintIdiophone percussions section of the orchestra: cymbals, triangle, claves, maracas...
ORCH_SECTION_MECHANICALSintMecanical instruments of the orchestra: for street organ, musical box
ORCH_SECTION_MEMBRANOPHONESintMembranophone (skin) percussions section of the orchestra: bass, snares and toms, djembe, cuica
ORCH_SECTION_OTHERSintUnsorted instruments of the orchestra
ORCH_SECTION_OTHER_PERCSintOther (auxiliary, aerophones) percussion section of the orchestra: sirens, whistles...
ORCH_SECTION_PITCHED_PERCSintPitched percussions section of the orchestra: for glockenspiel, celesta, xylophone, steeldrums, bells...
ORCH_SECTION_PLUCKED_STRINGSintPlucked strings section of the orchestra: for guitars, harpsichord, harp...
ORCH_SECTION_SINGLE_REEDSintSingle-reed section of the orchestra: for clarinet, sax, xaphoon, alboka...
ORCH_SECTION_SOUNDSintInstrument sounds and effects
ORCH_SECTION_STRUCKED_STRINGSintStrucked strings section of the orchestra: for piano, cymbalum, yangqin, berimbau...
ORCH_SECTION_TIMPANIintTimpani section of the orchestra: only for timpanis.
ORCH_SECTION_VOICESintVoice section of the orchestra: for choirs Oooh or Aaah...
Return typeFunction and summary
MapGetAllMIDISections()
Get the list of all MIDI sections.
MapGetAllOrchestralSections()
Get the list of all sections of the orchestra.
CollectionGetAlphabetOfInstruments()
Get the alphabet of first letter of all musical instruments The Collection is built each time this function is called, so it's recommanded to store the result in a variable and reuse it while needed.
CollectionGetGeographicListOfInstruments()
Get the list of geographic origins of "ethnic" musical instruments The Collection is built each time this function is called, so it's recommanded to store the result in a variable and reuse it while needed.
CollectionGetInstrumentsByFirstLetter(string letter)
Returns a Collection of MusicalInstruments by their first letter, ordered alphabetically
CollectionGetInstrumentsByGeographicOrigin(string country)
Returns a Collection of MusicalInstruments by their geographical origin, ordered alphabetically
CollectionGetInstrumentsByMidiSection(int midiSection)
Returns a Collection of MusicalInstruments that are member of MIDI section midiSection.
CollectionGetInstrumentsByOrchestraSection(int orchSection)
Returns a Collection of MusicalInstruments that are member of orchestral section orchSection.

Constants

int ORCH_SECTION_BOWED_STRINGS

Bowed strings section of the orchestra: for violins, hurdy-gurdy...

See
https://fr.wikipedia.org/wiki/Instrument_à_cordes_frottées

int ORCH_SECTION_PLUCKED_STRINGS

Plucked strings section of the orchestra: for guitars, harpsichord, harp...

See
https://fr.wikipedia.org/wiki/Instrument_à_cordes_pincées

int ORCH_SECTION_STRUCKED_STRINGS

Strucked strings section of the orchestra: for piano, cymbalum, yangqin, berimbau...

See
https://fr.wikipedia.org/wiki/Instrument_à_cordes_frappées

int ORCH_SECTION_FLUTES

Flutes section of the orchestra: for flute, church organ, recorders, ocarina, tin whistle...

See
https://fr.wikipedia.org/wiki/Flûte

int ORCH_SECTION_FREE_REEDS=

Free-reeds section of the orchestra: for harmonica, accordion, harmonium, sheng, guimbarde...

See
https://fr.wikipedia.org/wiki/Instrument_à_anche_libre

int ORCH_SECTION_SINGLE_REEDS

Single-reed section of the orchestra: for clarinet, sax, xaphoon, alboka...

See
https://fr.wikipedia.org/wiki/Instrument_à_anche_simple

int ORCH_SECTION_DOUBLE_REEDS

Double-reeds section of the orchestra: for oboe, bassoon, bombarde, some bagpipes, duduk...

See
https://fr.wikipedia.org/wiki/Instrument_à_anche_double

int ORCH_SECTION_BRASS

Brass section of the orchestra: for trumpet, trombone.

int ORCH_SECTION_VOICES

Voice section of the orchestra: for choirs Oooh or Aaah...

int ORCH_SECTION_PITCHED_PERCS

Pitched percussions section of the orchestra: for glockenspiel, celesta, xylophone, steeldrums, bells...

See
https://en.wikipedia.org/wiki/Pitched_percussion

int ORCH_SECTION_TIMPANI

Timpani section of the orchestra: only for timpanis.

Yes, timpanist have their own section because they don't study other percussions.

See
https://en.wikipedia.org/wiki/Percussion_section#Timpani

int ORCH_SECTION_MEMBRANOPHONES

Membranophone (skin) percussions section of the orchestra: bass, snares and toms, djembe, cuica

See
https://fr.wikipedia.org/wiki/Membranophone

int ORCH_SECTION_IDIOPHONES

Idiophone percussions section of the orchestra: cymbals, triangle, claves, maracas...

int ORCH_SECTION_OTHER_PERCS

Other (auxiliary, aerophones) percussion section of the orchestra: sirens, whistles...

int ORCH_SECTION_MECHANICALS

Mecanical instruments of the orchestra: for street organ, musical box

See
https://fr.wikipedia.org/wiki/Instrument_de_musique_mécanique

int ORCH_SECTION_ELECTRO_MECHANICS=

Electro mechanics instruments of the orchestra: for Hammond organ, Rhodes piano, Wurlitzer, clavinet...

See
https://fr.wikipedia.org/wiki/Instrument_électromécanique

int ORCH_SECTION_ELECTRONICS

Electronic (non analogic) instruments of the orchestra: Theremine, Martenot waves.

int ORCH_SECTION_ANALOGICS

Analogic instruments of the orchestra: Moog, Yamaha DX7, Roland AX, synths

int ORCH_SECTION_SOUNDS

Instrument sounds and effects

int ORCH_SECTION_OTHERS

Unsorted instruments of the orchestra

int MIDI_SECTION_PIANOS

MIDI section; pianos

int MIDI_SECTION_CHROMATIC_PERCS

MIDI section: chromatics percussions

int MIDI_SECTION_ORGANS

MIDI section: organs

int MIDI_SECTION_GUITARS

MIDI section: guitars

int MIDI_SECTION_BASS

MIDI section: basses

int MIDI_SECTION_STRINGS

MIDI section solo strings & orchestral instruments

int MIDI_SECTION_ENSEMBLES

MIDI section: ensembles

int MIDI_SECTION_BRASS

MIDI section: brass

int MIDI_SECTION_REEDS

MIDI section: reeds

int MIDI_SECTION_PIPES

MIDI section: pipes

int MIDI_SECTION_SYNTH_LEADS=

MIDI section: synth leads

int MIDI_SECTION_SYNTH_PADS

MIDI section: synth pads

int MIDI_SECTION_SYNTH_FX

MIDI section: synth effects

int MIDI_SECTION_ETHNICS

MIDI section: ethnics

int MIDI_SECTION_PERCUSSIONS

MIDI section: percussives

See
MIDI_SECTION_DRUMKITS

int MIDI_SECTION_EFFECTS

MIDI section: effects (sounds & noise)

int MIDI_SECTION_DRUMKITS

MIDI section: drumkits More percussive, mostly non-pitched.

See
MIDI_SECTION_PERCUSSIONS

int MIDI_SECTION_OTHERS

MIDI section: unknown/unsorted

Functions

GetAllOrchestralSections()

Get the list of all sections of the orchestra.

Returns a Map that is built each time this function is called, so it's recommanded to store the result in a variable and reuse it while needed.

Return
Map: Keys are ORCH_SECTION_* constants, values are english names.

GetAllMIDISections()

Get the list of all MIDI sections.

Returns a Map that is built each time this function is called, so it's recommanded to store the result in a variable and reuse it while needed.

Return
Map: Keys are MIDI_SECTION_* constants, values are english names.

GetAlphabetOfInstruments()

Get the alphabet of first letter of all musical instruments The Collection is built each time this function is called, so it's recommanded to store the result in a variable and reuse it while needed.

Return
Collection: sorted collection

GetGeographicListOfInstruments()

Get the list of geographic origins of "ethnic" musical instruments The Collection is built each time this function is called, so it's recommanded to store the result in a variable and reuse it while needed.

Return
Collection: sorted collection of strings

GetInstrumentsByOrchestraSection(int orchSection)

Returns a Collection of MusicalInstruments that are member of orchestral section orchSection.

ParameterTypeDefaultDescription
orchSectionint One of ORCH_SECTION_* constants
Return
Collection: Collection of MusicalInstrument objects

GetInstrumentsByMidiSection(int midiSection)

Returns a Collection of MusicalInstruments that are member of MIDI section midiSection.

ParameterTypeDefaultDescription
midiSectionint One of MIDI_SECTION_* constants
Return
Collection: Collection of MusicalInstrument objects

GetInstrumentsByFirstLetter(string letter)

Returns a Collection of MusicalInstruments by their first letter, ordered alphabetically

ParameterTypeDefaultDescription
letterstring 1-char letter "A", "B"...
Return
Collection: Collection of MusicalInstrument objects

GetInstrumentsByGeographicOrigin(string country)

Returns a Collection of MusicalInstruments by their geographical origin, ordered alphabetically

ParameterTypeDefaultDescription
countrystring  
Return
Collection: Collection of MusicalInstrument objects