-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInstruments.h
157 lines (153 loc) · 9.83 KB
/
Instruments.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
#include <avr/pgmspace.h>
// Instruments names are going to be saved on PROGMEM to save space on SRAM (variables)
const char instrument_0[] PROGMEM = "Ac Grand Piano ";
const char instrument_1[] PROGMEM = "Bright Ac Piano";
const char instrument_2[] PROGMEM = "Elec Grand Piano";
const char instrument_3[] PROGMEM = "Honky-tonk Piano";
const char instrument_4[] PROGMEM = "Electric Piano 1";
const char instrument_5[] PROGMEM = "Electric Piano 2";
const char instrument_6[] PROGMEM = "Harpsichord";
const char instrument_7[] PROGMEM = "Clavi";
const char instrument_8[] PROGMEM = "Celesta";
const char instrument_9[] PROGMEM = "Glockenspiel";
const char instrument_10[] PROGMEM = "Music Box";
const char instrument_11[] PROGMEM = "Vibraphone";
const char instrument_12[] PROGMEM = "Marimba";
const char instrument_13[] PROGMEM = "Xylophone";
const char instrument_14[] PROGMEM = "Tubular Bells";
const char instrument_15[] PROGMEM = "Dulcimer";
const char instrument_16[] PROGMEM = "Drawbar Organ";
const char instrument_17[] PROGMEM = "Percussive Organ";
const char instrument_18[] PROGMEM = "Rock Organ";
const char instrument_19[] PROGMEM = "Church Organ";
const char instrument_20[] PROGMEM = "Reed Organ";
const char instrument_21[] PROGMEM = "Accordion";
const char instrument_22[] PROGMEM = "Harmonica";
const char instrument_23[] PROGMEM = "Tango Accordion";
const char instrument_24[] PROGMEM = "Ac Guitar(nylon)";
const char instrument_25[] PROGMEM = "Ac Guitar(steel)";
const char instrument_26[] PROGMEM = "Elec jazz Guitar";
const char instrument_27[] PROGMEM = "Elec Guit(clean)";
const char instrument_28[] PROGMEM = "Elec Guit(muted)";
const char instrument_29[] PROGMEM = "Overdriven Guit";
const char instrument_30[] PROGMEM = "Distortion Guit";
const char instrument_31[] PROGMEM = "Guit Harmonics";
const char instrument_32[] PROGMEM = "Acoustic Bas";
const char instrument_33[] PROGMEM = "Elec Bass(finger)";
const char instrument_34[] PROGMEM = "Elec Bass (pick)";
const char instrument_35[] PROGMEM = "Fretless Bass";
const char instrument_36[] PROGMEM = "Slap Bass 1";
const char instrument_37[] PROGMEM = "Slap Bass 2";
const char instrument_38[] PROGMEM = "Synth Bass 1";
const char instrument_39[] PROGMEM = "Synth Bass 2";
const char instrument_40[] PROGMEM = "Violin";
const char instrument_41[] PROGMEM = "Viola";
const char instrument_42[] PROGMEM = "Cello";
const char instrument_43[] PROGMEM = "Contrabass";
const char instrument_44[] PROGMEM = "Tremolo Strings";
const char instrument_45[] PROGMEM = "Pizzicato String";
const char instrument_46[] PROGMEM = "Orchestral Harp";
const char instrument_47[] PROGMEM = "Timpani";
const char instrument_48[] PROGMEM = "String Ensemb 1";
const char instrument_49[] PROGMEM = "String Ensemb 2";
const char instrument_50[] PROGMEM = "Synth Strings 1";
const char instrument_51[] PROGMEM = "Synth Strings 2";
const char instrument_52[] PROGMEM = "Choir Aahs";
const char instrument_53[] PROGMEM = "Voice Oohs";
const char instrument_54[] PROGMEM = "Synth Voice";
const char instrument_55[] PROGMEM = "Orchestra Hit";
const char instrument_56[] PROGMEM = "Trumpet";
const char instrument_57[] PROGMEM = "Trombone";
const char instrument_58[] PROGMEM = "Tuba";
const char instrument_59[] PROGMEM = "Muted Trumpet";
const char instrument_60[] PROGMEM = "French Horn";
const char instrument_61[] PROGMEM = "Brass Section";
const char instrument_62[] PROGMEM = "Synth Brass 1";
const char instrument_63[] PROGMEM = "Synth Brass 2";
const char instrument_64[] PROGMEM = "Soprano Sax";
const char instrument_65[] PROGMEM = "Alto Sax";
const char instrument_66[] PROGMEM = "Tenor Sax";
const char instrument_67[] PROGMEM = "Baritone Sax";
const char instrument_68[] PROGMEM = "Oboe";
const char instrument_69[] PROGMEM = "English Horn";
const char instrument_70[] PROGMEM = "Bassoon";
const char instrument_71[] PROGMEM = "Clarinet";
const char instrument_72[] PROGMEM = "Piccolo";
const char instrument_73[] PROGMEM = "Flute";
const char instrument_74[] PROGMEM = "Recorder";
const char instrument_75[] PROGMEM = "Pan Flute";
const char instrument_76[] PROGMEM = "Blown Bottle";
const char instrument_77[] PROGMEM = "Shakuhachi";
const char instrument_78[] PROGMEM = "Whistle";
const char instrument_79[] PROGMEM = "Ocarina";
const char instrument_80[] PROGMEM = "Square Lead 1";
const char instrument_81[] PROGMEM = "Saw Lead 2";
const char instrument_82[] PROGMEM = "Calliope Lead 3";
const char instrument_83[] PROGMEM = "Chiff Lead 4";
const char instrument_84[] PROGMEM = "Charang Lead 5";
const char instrument_85[] PROGMEM = "Voice Lead 6";
const char instrument_86[] PROGMEM = "Fifths Lead 7";
const char instrument_87[] PROGMEM = "Bass + Lead 8";
const char instrument_88[] PROGMEM = "New Age (Pad1)";
const char instrument_89[] PROGMEM = "Warm Pad (Pad2)";
const char instrument_90[] PROGMEM = "Polysynth (Pad3)";
const char instrument_91[] PROGMEM = "Choir (Pad4)";
const char instrument_92[] PROGMEM = "Bowed (Pad5)";
const char instrument_93[] PROGMEM = "Metallic (Pad6)";
const char instrument_94[] PROGMEM = "Halo (Pad7)";
const char instrument_95[] PROGMEM = "Sweep (Pad8)";
const char instrument_96[] PROGMEM = "Rain (FX1)";
const char instrument_97[] PROGMEM = "Sound Track (FX2)";
const char instrument_98[] PROGMEM = "Crystal (FX3)";
const char instrument_99[] PROGMEM = "Atmosphere (FX4)";
const char instrument_100[] PROGMEM = "Brightness (FX5)";
const char instrument_101[] PROGMEM = "Goblins (FX6)";
const char instrument_102[] PROGMEM = "Echoes (FX7)";
const char instrument_103[] PROGMEM = "Sci-fi (FX8)";
const char instrument_104[] PROGMEM = "Sitar";
const char instrument_105[] PROGMEM = "Banjo";
const char instrument_106[] PROGMEM = "Shamisen";
const char instrument_107[] PROGMEM = "Koto";
const char instrument_108[] PROGMEM = "Kalimba";
const char instrument_109[] PROGMEM = "Bag Pipe";
const char instrument_110[] PROGMEM = "Fiddle";
const char instrument_111[] PROGMEM = "Shanai";
const char instrument_112[] PROGMEM = "Tinkle Bell";
const char instrument_113[] PROGMEM = "Agogo";
const char instrument_114[] PROGMEM = "Steel Drum";
const char instrument_115[] PROGMEM = "Woodblock";
const char instrument_116[] PROGMEM = "Taiko Drum";
const char instrument_117[] PROGMEM = "Melodic Tom";
const char instrument_118[] PROGMEM = "Synth Drum";
const char instrument_119[] PROGMEM = "Reverse Cymbal";
const char instrument_120[] PROGMEM = "Guit Fret Noise";
const char instrument_121[] PROGMEM = "Breath Noise";
const char instrument_122[] PROGMEM = "Seashore";
const char instrument_123[] PROGMEM = "Bird Tweet";
const char instrument_124[] PROGMEM = "Telephone Ring";
const char instrument_125[] PROGMEM = "Helicopter";
const char instrument_126[] PROGMEM = "Applause";
const char instrument_127[] PROGMEM = "Gunshot";
const char *const instrument_table[] PROGMEM = {instrument_0, instrument_1, instrument_2, instrument_3, instrument_4, instrument_5,
instrument_6, instrument_7, instrument_8, instrument_9, instrument_10, instrument_11,
instrument_12, instrument_13, instrument_14, instrument_15, instrument_16, instrument_17,
instrument_18, instrument_19, instrument_20, instrument_21, instrument_22, instrument_23,
instrument_24, instrument_25, instrument_26, instrument_27, instrument_28, instrument_29,
instrument_30, instrument_31, instrument_32, instrument_33, instrument_34, instrument_35,
instrument_36, instrument_37, instrument_38, instrument_39, instrument_40, instrument_41,
instrument_42, instrument_43, instrument_44, instrument_45, instrument_46, instrument_47,
instrument_48, instrument_49, instrument_50, instrument_51, instrument_52, instrument_53,
instrument_54, instrument_55, instrument_56, instrument_57, instrument_58, instrument_59,
instrument_60, instrument_61, instrument_62, instrument_63, instrument_64, instrument_65,
instrument_66, instrument_67, instrument_68, instrument_69, instrument_70, instrument_71,
instrument_72, instrument_73, instrument_74, instrument_75, instrument_76, instrument_77,
instrument_78, instrument_79, instrument_80, instrument_81, instrument_82, instrument_83,
instrument_84, instrument_85, instrument_86, instrument_87, instrument_88, instrument_89,
instrument_90, instrument_91, instrument_92, instrument_93, instrument_94, instrument_95,
instrument_96, instrument_97, instrument_98, instrument_99, instrument_100, instrument_101,
instrument_102, instrument_103, instrument_104, instrument_105, instrument_106, instrument_107,
instrument_108, instrument_109, instrument_110, instrument_111, instrument_112, instrument_113,
instrument_114, instrument_115, instrument_116, instrument_117, instrument_118, instrument_119,
instrument_120, instrument_121, instrument_122, instrument_123, instrument_124, instrument_125,
instrument_126, instrument_127};
char buffer[16]; // make sure this is large enough for the largest string it must hold