ScummVM API documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
gm_names.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef SCI_SOUND_DRIVERS_GM_NAMES_H
23 #define SCI_SOUND_DRIVERS_GM_NAMES_H
24 
25 namespace Sci {
26 
27 // These tables are only used for debugging. Don't include them for devices
28 // with not enough available memory (e.g. phones), where REDUCE_MEMORY_USAGE
29 // is defined
30 #ifndef REDUCE_MEMORY_USAGE
31 
32 static const char *const GmInstrumentNames[] = {
33  /*000*/ "Acoustic Grand Piano",
34  /*001*/ "Bright Acoustic Piano",
35  /*002*/ "Electric Grand Piano",
36  /*003*/ "Honky-tonk Piano",
37  /*004*/ "Electric Piano 1",
38  /*005*/ "Electric Piano 2",
39  /*006*/ "Harpsichord",
40  /*007*/ "Clavinet",
41  /*008*/ "Celesta",
42  /*009*/ "Glockenspiel",
43  /*010*/ "Music Box",
44  /*011*/ "Vibraphone",
45  /*012*/ "Marimba",
46  /*013*/ "Xylophone",
47  /*014*/ "Tubular Bells",
48  /*015*/ "Dulcimer",
49  /*016*/ "Drawbar Organ",
50  /*017*/ "Percussive Organ",
51  /*018*/ "Rock Organ",
52  /*019*/ "Church Organ",
53  /*020*/ "Reed Organ",
54  /*021*/ "Accordion",
55  /*022*/ "Harmonica",
56  /*023*/ "Tango Accordion",
57  /*024*/ "Acoustic Guitar (nylon)",
58  /*025*/ "Acoustic Guitar (steel)",
59  /*026*/ "Electric Guitar (jazz)",
60  /*027*/ "Electric Guitar (clean)",
61  /*028*/ "Electric Guitar (muted)",
62  /*029*/ "Overdriven Guitar",
63  /*030*/ "Distortion Guitar",
64  /*031*/ "Guitar Harmonics",
65  /*032*/ "Acoustic Bass",
66  /*033*/ "Electric Bass (finger)",
67  /*034*/ "Electric Bass (pick)",
68  /*035*/ "Fretless Bass",
69  /*036*/ "Slap Bass 1",
70  /*037*/ "Slap Bass 2",
71  /*038*/ "Synth Bass 1",
72  /*039*/ "Synth Bass 2",
73  /*040*/ "Violin",
74  /*041*/ "Viola",
75  /*042*/ "Cello",
76  /*043*/ "Contrabass",
77  /*044*/ "Tremolo Strings",
78  /*045*/ "Pizzicato Strings",
79  /*046*/ "Orchestral Harp",
80  /*047*/ "Timpani",
81  /*048*/ "String Ensemble 1",
82  /*049*/ "String Ensemble 2",
83  /*050*/ "SynthStrings 1",
84  /*051*/ "SynthStrings 2",
85  /*052*/ "Choir Aahs",
86  /*053*/ "Voice Oohs",
87  /*054*/ "Synth Voice",
88  /*055*/ "Orchestra Hit",
89  /*056*/ "Trumpet",
90  /*057*/ "Trombone",
91  /*058*/ "Tuba",
92  /*059*/ "Muted Trumpet",
93  /*060*/ "French Horn",
94  /*061*/ "Brass Section",
95  /*062*/ "SynthBrass 1",
96  /*063*/ "SynthBrass 2",
97  /*064*/ "Soprano Sax",
98  /*065*/ "Alto Sax",
99  /*066*/ "Tenor Sax",
100  /*067*/ "Baritone Sax",
101  /*068*/ "Oboe",
102  /*069*/ "English Horn",
103  /*070*/ "Bassoon",
104  /*071*/ "Clarinet",
105  /*072*/ "Piccolo",
106  /*073*/ "Flute",
107  /*074*/ "Recorder",
108  /*075*/ "Pan Flute",
109  /*076*/ "Blown Bottle",
110  /*077*/ "Shakuhachi",
111  /*078*/ "Whistle",
112  /*079*/ "Ocarina",
113  /*080*/ "Lead 1 (square)",
114  /*081*/ "Lead 2 (sawtooth)",
115  /*082*/ "Lead 3 (calliope)",
116  /*083*/ "Lead 4 (chiff)",
117  /*084*/ "Lead 5 (charang)",
118  /*085*/ "Lead 6 (voice)",
119  /*086*/ "Lead 7 (fifths)",
120  /*087*/ "Lead 8 (bass+lead)",
121  /*088*/ "Pad 1 (new age)",
122  /*089*/ "Pad 2 (warm)",
123  /*090*/ "Pad 3 (polysynth)",
124  /*091*/ "Pad 4 (choir)",
125  /*092*/ "Pad 5 (bowed)",
126  /*093*/ "Pad 6 (metallic)",
127  /*094*/ "Pad 7 (halo)",
128  /*095*/ "Pad 8 (sweep)",
129  /*096*/ "FX 1 (rain)",
130  /*097*/ "FX 2 (soundtrack)",
131  /*098*/ "FX 3 (crystal)",
132  /*099*/ "FX 4 (atmosphere)",
133  /*100*/ "FX 5 (brightness)",
134  /*101*/ "FX 6 (goblins)",
135  /*102*/ "FX 7 (echoes)",
136  /*103*/ "FX 8 (sci-fi)",
137  /*104*/ "Sitar",
138  /*105*/ "Banjo",
139  /*106*/ "Shamisen",
140  /*107*/ "Koto",
141  /*108*/ "Kalimba",
142  /*109*/ "Bag pipe",
143  /*110*/ "Fiddle",
144  /*111*/ "Shannai",
145  /*112*/ "Tinkle Bell",
146  /*113*/ "Agogo",
147  /*114*/ "Steel Drums",
148  /*115*/ "Woodblock",
149  /*116*/ "Taiko Drum",
150  /*117*/ "Melodic Tom",
151  /*118*/ "Synth Drum",
152  /*119*/ "Reverse Cymbal",
153  /*120*/ "Guitar Fret Noise",
154  /*121*/ "Breath Noise",
155  /*122*/ "Seashore",
156  /*123*/ "Bird Tweet",
157  /*124*/ "Telephone Ring",
158  /*125*/ "Helicopter",
159  /*126*/ "Applause",
160  /*127*/ "Gunshot"
161 };
162 
163 // The GM Percussion map is downwards compatible to the MT32 map, which is used in SCI
164 static const char *const GmPercussionNames[] = {
165  /*00*/ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
166  /*10*/ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
167  /*20*/ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
168  /*30*/ 0, 0, 0, 0, 0,
169  // The preceding percussions are not covered by the GM standard
170  /*35*/ "Acoustic Bass Drum",
171  /*36*/ "Bass Drum 1",
172  /*37*/ "Side Stick",
173  /*38*/ "Acoustic Snare",
174  /*39*/ "Hand Clap",
175  /*40*/ "Electric Snare",
176  /*41*/ "Low Floor Tom",
177  /*42*/ "Closed Hi-Hat",
178  /*43*/ "High Floor Tom",
179  /*44*/ "Pedal Hi-Hat",
180  /*45*/ "Low Tom",
181  /*46*/ "Open Hi-Hat",
182  /*47*/ "Low-Mid Tom",
183  /*48*/ "Hi-Mid Tom",
184  /*49*/ "Crash Cymbal 1",
185  /*50*/ "High Tom",
186  /*51*/ "Ride Cymbal 1",
187  /*52*/ "Chinese Cymbal",
188  /*53*/ "Ride Bell",
189  /*54*/ "Tambourine",
190  /*55*/ "Splash Cymbal",
191  /*56*/ "Cowbell",
192  /*57*/ "Crash Cymbal 2",
193  /*58*/ "Vibraslap",
194  /*59*/ "Ride Cymbal 2",
195  /*60*/ "Hi Bongo",
196  /*61*/ "Low Bongo",
197  /*62*/ "Mute Hi Conga",
198  /*63*/ "Open Hi Conga",
199  /*64*/ "Low Conga",
200  /*65*/ "High Timbale",
201  /*66*/ "Low Timbale",
202  /*67*/ "High Agogo",
203  /*68*/ "Low Agogo",
204  /*69*/ "Cabasa",
205  /*70*/ "Maracas",
206  /*71*/ "Short Whistle",
207  /*72*/ "Long Whistle",
208  /*73*/ "Short Guiro",
209  /*74*/ "Long Guiro",
210  /*75*/ "Claves",
211  /*76*/ "Hi Wood Block",
212  /*77*/ "Low Wood Block",
213  /*78*/ "Mute Cuica",
214  /*79*/ "Open Cuica",
215  /*80*/ "Mute Triangle",
216  /*81*/ "Open Triangle"
217 };
218 
219 #endif // REDUCE_MEMORY_USAGE
220 
221 } // End of namespace Sci
222 
223 #endif // SCI_SOUND_DRIVERS_GM_NAMES_H
Definition: console.h:28