9 static const TCHAR* INSTRUMENT_NAME[] =
12 _T(
"Bright_Acoustic "),
13 _T(
"Electric_Grand "),
15 _T(
"Electric_Piano "),
16 _T(
"Electric_Piano_2 "),
29 _T(
"Percussive_Organ "),
36 _T(
"Tango_Accordian "),
38 _T(
"Steel_String_Guitar "),
39 _T(
"Electric_Jazz_Guitar "),
40 _T(
"Electric_Clean_Guitar "),
41 _T(
"Electric_muted_Guitar "),
42 _T(
"Overdriven_Guitar "),
43 _T(
"Distortion_Guitar "),
45 _T(
"Guitar_Harmonics "),
47 _T(
"Electric_Bass_Finger "),
48 _T(
"Electric_Bass_Pick "),
59 _T(
"Tremolo_Strings "),
60 _T(
"Pizzicato_Strings "),
61 _T(
"Orchestral_Strings "),
63 _T(
"String_Ensemble_1 "),
64 _T(
"String_Ensemble_2 "),
66 _T(
"Synth_strings_1 "),
67 _T(
"Synth_strings_2 "),
141 _T(
"Reverse_Cymbal "),
143 _T(
"Guitar_Fret_Noise "),
147 _T(
"Telephone_Ring "),
155 return INSTRUMENT_NAME[m_nInstrumentID];
163 stdDefns[_T(
"PIANO" )] = _T(
"0");
164 stdDefns[_T(
"ACOUSTIC_GRAND" )] = _T(
"0");
165 stdDefns[_T(
"BRIGHT_ACOUSTIC" )] = _T(
"1");
166 stdDefns[_T(
"ELECTRIC_GRAND" )] = _T(
"2");
167 stdDefns[_T(
"HONKEY_TONK" )] = _T(
"3");
168 stdDefns[_T(
"ELECTRIC_PIANO" )] = _T(
"4");
169 stdDefns[_T(
"ELECTRIC_PIANO_1" )] = _T(
"4");
170 stdDefns[_T(
"ELECTRIC_PIANO_2" )] = _T(
"5");
171 stdDefns[_T(
"HARPISCHORD" )] = _T(
"6");
172 stdDefns[_T(
"CLAVINET" )] = _T(
"7");
173 stdDefns[_T(
"CELESTA" )] = _T(
"8");
174 stdDefns[_T(
"GLOCKENSPIEL" )] = _T(
"9");
176 stdDefns[_T(
"MUSIC_BOX" )] = _T(
"10");
177 stdDefns[_T(
"VIBRAPHONE" )] = _T(
"11");
178 stdDefns[_T(
"MARIMBA" )] = _T(
"12");
179 stdDefns[_T(
"XYLOPHONE" )] = _T(
"13");
180 stdDefns[_T(
"TUBULAR_BELLS" )] = _T(
"14");
181 stdDefns[_T(
"DULCIMER" )] = _T(
"15");
182 stdDefns[_T(
"DRAWBAR_ORGAN" )] = _T(
"16");
183 stdDefns[_T(
"PERCUSSIVE_ORGAN" )] = _T(
"17");
184 stdDefns[_T(
"ROCK_ORGAN" )] = _T(
"18");
185 stdDefns[_T(
"CHURCH_ORGAN" )] = _T(
"19");
187 stdDefns[_T(
"REED_ORGAN" )] = _T(
"20");
188 stdDefns[_T(
"ACCORDIAN" )] = _T(
"21");
189 stdDefns[_T(
"HARMONICA" )] = _T(
"22");
190 stdDefns[_T(
"TANGO_ACCORDIAN" )] = _T(
"23");
191 stdDefns[_T(
"GUITAR" )] = _T(
"24");
192 stdDefns[_T(
"NYLON_STRING_GUITAR" )] = _T(
"24");
193 stdDefns[_T(
"STEEL_STRING_GUITAR" )] = _T(
"25");
194 stdDefns[_T(
"ELECTRIC_JAZZ_GUITAR" )] = _T(
"26");
195 stdDefns[_T(
"ELECTRIC_CLEAN_GUITAR" )] = _T(
"27");
196 stdDefns[_T(
"ELECTRIC_MUTED_GUITAR" )] = _T(
"28");
197 stdDefns[_T(
"OVERDRIVEN_GUITAR" )] = _T(
"29");
199 stdDefns[_T(
"DISTORTION_GUITAR" )] = _T(
"30");
200 stdDefns[_T(
"GUITAR_HARMONICS" )] = _T(
"31");
201 stdDefns[_T(
"ACOUSTIC_BASS" )] = _T(
"32");
202 stdDefns[_T(
"ELECTRIC_BASS_FINGER" )] = _T(
"33");
203 stdDefns[_T(
"ELECTRIC_BASS_PICK" )] = _T(
"34");
204 stdDefns[_T(
"FRETLESS_BASS" )] = _T(
"35");
205 stdDefns[_T(
"SLAP_BASS_1" )] = _T(
"36");
206 stdDefns[_T(
"SLAP_BASS_2" )] = _T(
"37");
207 stdDefns[_T(
"SYNTH_BASS_1" )] = _T(
"38");
208 stdDefns[_T(
"SYNTH_BASS_2" )] = _T(
"39");
210 stdDefns[_T(
"VIOLIN" )] = _T(
"40");
211 stdDefns[_T(
"VIOLA" )] = _T(
"41");
212 stdDefns[_T(
"CELLO" )] = _T(
"42");
213 stdDefns[_T(
"CONTRABASS" )] = _T(
"43");
214 stdDefns[_T(
"TREMOLO_STRINGS" )] = _T(
"44");
215 stdDefns[_T(
"PIZZICATO_STRINGS" )] = _T(
"45");
216 stdDefns[_T(
"ORCHESTRAL_STRINGS" )] = _T(
"46");
217 stdDefns[_T(
"TIMPANI" )] = _T(
"47");
218 stdDefns[_T(
"STRING_ENSEMBLE_1" )] = _T(
"48");
219 stdDefns[_T(
"STRING_ENSEMBLE_2" )] = _T(
"49");
221 stdDefns[_T(
"SYNTH_STRINGS_1" )] = _T(
"50");
222 stdDefns[_T(
"SYNTH_STRINGS_2" )] = _T(
"51");
223 stdDefns[_T(
"CHOIR_AAHS" )] = _T(
"52");
224 stdDefns[_T(
"VOICE_OOHS" )] = _T(
"53");
225 stdDefns[_T(
"SYNTH_VOICE" )] = _T(
"54");
226 stdDefns[_T(
"ORCHESTRA_HIT" )] = _T(
"55");
227 stdDefns[_T(
"TRUMPET" )] = _T(
"56");
228 stdDefns[_T(
"TROMBONE" )] = _T(
"57");
229 stdDefns[_T(
"TUBA" )] = _T(
"58");
230 stdDefns[_T(
"MUTED_TRUMPET" )] = _T(
"59");
232 stdDefns[_T(
"FRENCH_HORN" )] = _T(
"60");
233 stdDefns[_T(
"BRASS_SECTION" )] = _T(
"61");
234 stdDefns[_T(
"SYNTHBRASS_1" )] = _T(
"62");
235 stdDefns[_T(
"SYNTHBRASS_2" )] = _T(
"63");
236 stdDefns[_T(
"SOPRANO_SAX" )] = _T(
"64");
237 stdDefns[_T(
"ALTO_SAX" )] = _T(
"65");
238 stdDefns[_T(
"TENOR_SAX" )] = _T(
"66");
239 stdDefns[_T(
"BARITONE_SAX" )] = _T(
"67");
240 stdDefns[_T(
"OBOE" )] = _T(
"68");
241 stdDefns[_T(
"ENGLISH_HORN" )] = _T(
"69");
243 stdDefns[_T(
"BASSOON" )] = _T(
"70");
244 stdDefns[_T(
"CLARINET" )] = _T(
"71");
245 stdDefns[_T(
"PICCOLO" )] = _T(
"72");
246 stdDefns[_T(
"FLUTE" )] = _T(
"73");
247 stdDefns[_T(
"RECORDER" )] = _T(
"74");
248 stdDefns[_T(
"PAN_FLUTE" )] = _T(
"75");
249 stdDefns[_T(
"BLOWN_BOTTLE" )] = _T(
"76");
250 stdDefns[_T(
"SKAKUHACHI" )] = _T(
"77");
251 stdDefns[_T(
"WHISTLE" )] = _T(
"78");
252 stdDefns[_T(
"OCARINA" )] = _T(
"79");
254 stdDefns[_T(
"LEAD_SQUARE" )] = _T(
"80");
255 stdDefns[_T(
"SQUARE" )] = _T(
"80");
256 stdDefns[_T(
"LEAD_SAWTOOTH" )] = _T(
"81");
257 stdDefns[_T(
"SAWTOOTH" )] = _T(
"81");
258 stdDefns[_T(
"LEAD_CALLIOPE" )] = _T(
"82");
259 stdDefns[_T(
"CALLIOPE" )] = _T(
"82");
260 stdDefns[_T(
"LEAD_CHIFF" )] = _T(
"83");
261 stdDefns[_T(
"CHIFF" )] = _T(
"83");
262 stdDefns[_T(
"LEAD_CHARANG" )] = _T(
"84");
263 stdDefns[_T(
"CHARANG" )] = _T(
"84");
264 stdDefns[_T(
"LEAD_VOICE" )] = _T(
"85");
265 stdDefns[_T(
"VOICE" )] = _T(
"85");
266 stdDefns[_T(
"LEAD_FIFTHS" )] = _T(
"86");
267 stdDefns[_T(
"FIFTHS" )] = _T(
"86");
268 stdDefns[_T(
"LEAD_BASSLEAD" )] = _T(
"87");
269 stdDefns[_T(
"BASSLEAD" )] = _T(
"87");
270 stdDefns[_T(
"PAD_NEW_AGE" )] = _T(
"88");
271 stdDefns[_T(
"NEW_AGE" )] = _T(
"88");
272 stdDefns[_T(
"PAD_WARM" )] = _T(
"89");
273 stdDefns[_T(
"WARM" )] = _T(
"89");
275 stdDefns[_T(
"PAD_POLYSYNTH" )] = _T(
"90");
276 stdDefns[_T(
"POLYSYNTH" )] = _T(
"90");
277 stdDefns[_T(
"PAD_CHOIR" )] = _T(
"91");
278 stdDefns[_T(
"CHOIR" )] = _T(
"91");
279 stdDefns[_T(
"PAD_BOWED" )] = _T(
"92");
280 stdDefns[_T(
"BOWED" )] = _T(
"92");
281 stdDefns[_T(
"PAD_METALLIC" )] = _T(
"93");
282 stdDefns[_T(
"METALLIC" )] = _T(
"93");
283 stdDefns[_T(
"PAD_HALO" )] = _T(
"94");
284 stdDefns[_T(
"HALO" )] = _T(
"94");
285 stdDefns[_T(
"PAD_SWEEP" )] = _T(
"95");
286 stdDefns[_T(
"SWEEP" )] = _T(
"95");
287 stdDefns[_T(
"FX_RAIN" )] = _T(
"96");
288 stdDefns[_T(
"RAIN" )] = _T(
"96");
289 stdDefns[_T(
"FX_SOUNDTRACK" )] = _T(
"97");
290 stdDefns[_T(
"SOUNDTRACK" )] = _T(
"97");
291 stdDefns[_T(
"FX_CRYSTAL" )] = _T(
"98");
292 stdDefns[_T(
"CRYSTAL" )] = _T(
"98");
293 stdDefns[_T(
"FX_ATMOSPHERE" )] = _T(
"99");
294 stdDefns[_T(
"ATMOSPHERE" )] = _T(
"99");
296 stdDefns[_T(
"FX_BRIGHTNESS" )] = _T(
"100");
297 stdDefns[_T(
"BRIGHTNESS" )] = _T(
"100");
298 stdDefns[_T(
"FX_GOBLINS" )] = _T(
"101");
299 stdDefns[_T(
"GOBLINS" )] = _T(
"101");
300 stdDefns[_T(
"FX_ECHOES" )] = _T(
"102");
301 stdDefns[_T(
"ECHOES" )] = _T(
"102");
302 stdDefns[_T(
"FX_SCI-FI" )] = _T(
"103");
303 stdDefns[_T(
"SCI-FI" )] = _T(
"103");
304 stdDefns[_T(
"SITAR" )] = _T(
"104");
305 stdDefns[_T(
"BANJO" )] = _T(
"105");
306 stdDefns[_T(
"SHAMISEN" )] = _T(
"106");
307 stdDefns[_T(
"KOTO" )] = _T(
"107");
308 stdDefns[_T(
"KALIMBA" )] = _T(
"108");
309 stdDefns[_T(
"BAGPIPE" )] = _T(
"109");
311 stdDefns[_T(
"FIDDLE" )] = _T(
"110");
312 stdDefns[_T(
"SHANAI" )] = _T(
"111");
313 stdDefns[_T(
"TINKLE_BELL" )] = _T(
"112");
314 stdDefns[_T(
"AGOGO" )] = _T(
"113");
315 stdDefns[_T(
"STEEL_DRUMS" )] = _T(
"114");
316 stdDefns[_T(
"WOODBLOCK" )] = _T(
"115");
317 stdDefns[_T(
"TAIKO_DRUM" )] = _T(
"116");
318 stdDefns[_T(
"MELODIC_TOM" )] = _T(
"117");
319 stdDefns[_T(
"SYNTH_DRUM" )] = _T(
"118");
320 stdDefns[_T(
"REVERSE_CYMBAL" )] = _T(
"119");
322 stdDefns[_T(
"GUITAR_FRET_NOISE" )] = _T(
"120");
323 stdDefns[_T(
"BREATH_NOISE" )] = _T(
"121");
324 stdDefns[_T(
"SEASHORE" )] = _T(
"122");
325 stdDefns[_T(
"BIRD_TWEET" )] = _T(
"123");
326 stdDefns[_T(
"TELEPHONE_RING" )] = _T(
"124");
327 stdDefns[_T(
"HELICOPTER" )] = _T(
"125");
328 stdDefns[_T(
"APPLAUSE" )] = _T(
"126");
329 stdDefns[_T(
"GUNSHOT" )] = _T(
"127");
334 stdDefns[_T(
"ACOUSTIC_BASS_DRUM" )] = _T(
"35");
335 stdDefns[_T(
"BASS_DRUM" )] = _T(
"36");
336 stdDefns[_T(
"SIDE_STICK" )] = _T(
"37");
337 stdDefns[_T(
"ACOUSTIC_SNARE" )] = _T(
"38");
338 stdDefns[_T(
"HAND_CLAP" )] = _T(
"39");
340 stdDefns[_T(
"ELECTRIC_SNARE" )] = _T(
"40");
341 stdDefns[_T(
"LOW_FLOOR_TOM" )] = _T(
"41");
342 stdDefns[_T(
"CLOSED_HI_HAT" )] = _T(
"42");
343 stdDefns[_T(
"HIGH_FLOOR_TOM" )] = _T(
"43");
344 stdDefns[_T(
"PEDAL_HI_HAT" )] = _T(
"44");
345 stdDefns[_T(
"LOW_TOM" )] = _T(
"45");
346 stdDefns[_T(
"OPEN_HI_HAT" )] = _T(
"46");
347 stdDefns[_T(
"LOW_MID_TOM" )] = _T(
"47");
348 stdDefns[_T(
"HI_MID_TOM" )] = _T(
"48");
349 stdDefns[_T(
"CRASH_CYMBAL_1" )] = _T(
"49");
351 stdDefns[_T(
"HIGH_TOM" )] = _T(
"50");
352 stdDefns[_T(
"RIDE_CYMBAL_1" )] = _T(
"51");
353 stdDefns[_T(
"CHINESE_CYMBAL" )] = _T(
"52");
354 stdDefns[_T(
"RIDE_BELL" )] = _T(
"53");
355 stdDefns[_T(
"TAMBOURINE" )] = _T(
"54");
356 stdDefns[_T(
"SPLASH_CYMBAL" )] = _T(
"55");
357 stdDefns[_T(
"COWBELL" )] = _T(
"56");
358 stdDefns[_T(
"CRASH_CYMBAL_2" )] = _T(
"57");
359 stdDefns[_T(
"VIBRASLAP" )] = _T(
"58");
360 stdDefns[_T(
"RIDE_CYMBAL_2" )] = _T(
"59");
362 stdDefns[_T(
"HI_BONGO" )] = _T(
"60");
363 stdDefns[_T(
"LOW_BONGO" )] = _T(
"61");
364 stdDefns[_T(
"MUTE_HI_CONGA" )] = _T(
"62");
365 stdDefns[_T(
"OPEN_HI_CONGA" )] = _T(
"63");
366 stdDefns[_T(
"LOW_CONGA" )] = _T(
"64");
367 stdDefns[_T(
"HIGH_TIMBALE" )] = _T(
"65");
368 stdDefns[_T(
"LOW_TIMBALE" )] = _T(
"66");
369 stdDefns[_T(
"HIGH_AGOGO" )] = _T(
"67");
370 stdDefns[_T(
"LOW_AGOGO" )] = _T(
"68");
371 stdDefns[_T(
"CABASA" )] = _T(
"69");
373 stdDefns[_T(
"MARACAS" )] = _T(
"70");
374 stdDefns[_T(
"SHORT_WHISTLE" )] = _T(
"71");
375 stdDefns[_T(
"LONG_WHISTLE" )] = _T(
"72");
376 stdDefns[_T(
"SHORT_GUIRO" )] = _T(
"73");
377 stdDefns[_T(
"LONG_GUIRO" )] = _T(
"74");
378 stdDefns[_T(
"CLAVES" )] = _T(
"75");
379 stdDefns[_T(
"HI_WOOD_BLOCK" )] = _T(
"76");
380 stdDefns[_T(
"LOW_WOOD_BLOCK" )] = _T(
"77");
381 stdDefns[_T(
"MUTE_CUICA" )] = _T(
"78");
382 stdDefns[_T(
"OPEN_CUICA" )] = _T(
"79");
384 stdDefns[_T(
"MUTE_TRIANGLE" )] = _T(
"80");
385 stdDefns[_T(
"OPEN_TRIANGLE" )] = _T(
"81");
static void PopulateStandardDefinitions(DICTIONARY &stdDefns)
Populates the standard musical instrument Macro defintions into Music String Dictionary.
Declares Instrument class.
MString GetInstrumentName() const
Returns the name of the music instrument this object represents
Helper class for simple string manipulations
std::map< MString, MString, StringLess< const TCHAR * > > DICTIONARY