-
Notifications
You must be signed in to change notification settings - Fork 21
/
instruments.ts
258 lines (258 loc) · 7.74 KB
/
instruments.ts
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
enum MidiInstrument {
//% block="Acoustic Grand Piano" enumval=1
AcousticGrandPiano = 1,
//% block="Bright Acoustic Piano" enumval=2
BrightAcousticPiano = 2,
//% block="Electric Grand Piano" enumval=3
ElectricGrandPiano = 3,
//% block="Honky-tonk Piano" enumval=4
HonkytonkPiano = 4,
//% block="Electric Piano 1" enumval=5
ElectricPiano1 = 5,
//% block="Electric Piano 2" enumval=6
ElectricPiano2 = 6,
//% block="Harpsichord" enumval=7
Harpsichord = 7,
//% block="Clavi" enumval=8
Clavi = 8,
//% block="Celesta" enumval=9
Celesta = 9,
//% block="Glockenspiel" enumval=10
Glockenspiel = 10,
//% block="Music Box" enumval=11
MusicBox = 11,
//% block="Vibraphone" enumval=12
Vibraphone = 12,
//% block="Marimba" enumval=13
Marimba = 13,
//% block="Xylophone" enumval=14
Xylophone = 14,
//% block="Tubular Bells" enumval=15
TubularBells = 15,
//% block="Dulcimer" enumval=16
Dulcimer = 16,
//% block="Drawbar Organ" enumval=17
DrawbarOrgan = 17,
//% block="Percussive Organ" enumval=18
PercussiveOrgan = 18,
//% block="Rock Organ" enumval=19
RockOrgan = 19,
//% block="Church Organ" enumval=20
ChurchOrgan = 20,
//% block="Reed Organ" enumval=21
ReedOrgan = 21,
//% block="Accordion" enumval=22
Accordion = 22,
//% block="Harmonica" enumval=23
Harmonica = 23,
//% block="Tango Accordion" enumval=24
TangoAccordion = 24,
//% block="Acoustic Guitar (nylon)" enumval=25
AcousticGuitarNylon = 25,
//% block="Acoustic Guitar (steel)" enumval=26
AcousticGuitarSteel = 26,
//% block="Electric Guitar (jazz)" enumval=27
ElectricGuitarJazz = 27,
//% block="Electric Guitar (clean)" enumval=28
ElectricGuitarClean = 28,
//% block="Electric Guitar (muted)" enumval=29
ElectricGuitarMuted = 29,
//% block="Overdriven Guitar" enumval=30
OverdrivenGuitar = 30,
//% block="Distortion Guitar" enumval=31
DistortionGuitar = 31,
//% block="Guitar harmonics" enumval=32
GuitarHarmonics = 32,
//% block="Acoustic Bass" enumval=33
AcousticBass = 33,
//% block="Electric Bass (finger)" enumval=34
ElectricBassFinger = 34,
//% block="Electric Bass (pick)" enumval=35
ElectricBassPick = 35,
//% block="Fretless Bass" enumval=36
FretlessBass = 36,
//% block="Slap Bass 1" enumval=37
SlapBass1 = 37,
//% block="Slap Bass 2" enumval=38
SlapBass2 = 38,
//% block="Synth Bass 1" enumval=39
SynthBass1 = 39,
//% block="Synth Bass 2" enumval=40
SynthBass2 = 40,
//% block="Violin" enumval=41
Violin = 41,
//% block="Viola" enumval=42
Viola = 42,
//% block="Cello" enumval=43
Cello = 43,
//% block="Contrabass" enumval=44
Contrabass = 44,
//% block="Tremolo Strings" enumval=45
TremoloStrings = 45,
//% block="Pizzicato Strings" enumval=46
PizzicatoStrings = 46,
//% block="Orchestral Harp" enumval=47
OrchestralHarp = 47,
//% block="Timpani" enumval=48
Timpani = 48,
//% block="String Ensemble 1" enumval=49
StringEnsemble1 = 49,
//% block="String Ensemble 2" enumval=50
StringEnsemble2 = 50,
//% block="SynthStrings 1" enumval=51
SynthStrings1 = 51,
//% block="SynthStrings 2" enumval=52
SynthStrings2 = 52,
//% block="Choir Aahs" enumval=53
ChoirAahs = 53,
//% block="Voice Oohs" enumval=54
VoiceOohs = 54,
//% block="Synth Voice" enumval=55
SynthVoice = 55,
//% block="Orchestra Hit" enumval=56
OrchestraHit = 56,
//% block="Trumpet" enumval=57
Trumpet = 57,
//% block="Trombone" enumval=58
Trombone = 58,
//% block="Tuba" enumval=59
Tuba = 59,
//% block="Muted Trumpet" enumval=60
MutedTrumpet = 60,
//% block="French Horn" enumval=61
FrenchHorn = 61,
//% block="Brass Section" enumval=62
BrassSection = 62,
//% block="SynthBrass 1" enumval=63
SynthBrass1 = 63,
//% block="SynthBrass 2" enumval=64
SynthBrass2 = 64,
//% block="Soprano Sax" enumval=65
SopranoSax = 65,
//% block="Alto Sax" enumval=66
AltoSax = 66,
//% block="Tenor Sax" enumval=67
TenorSax = 67,
//% block="Baritone Sax" enumval=68
BaritoneSax = 68,
//% block="Oboe" enumval=69
Oboe = 69,
//% block="English Horn" enumval=70
EnglishHorn = 70,
//% block="Bassoon" enumval=71
Bassoon = 71,
//% block="Clarinet" enumval=72
Clarinet = 72,
//% block="Piccolo" enumval=73
Piccolo = 73,
//% block="Flute" enumval=74
Flute = 74,
//% block="Recorder" enumval=75
Recorder = 75,
//% block="Pan Flute" enumval=76
PanFlute = 76,
//% block="Blown Bottle" enumval=77
BlownBottle = 77,
//% block="Shakuhachi" enumval=78
Shakuhachi = 78,
//% block="Whistle" enumval=79
Whistle = 79,
//% block="Ocarina" enumval=80
Ocarina = 80,
//% block="Lead 1 (square)" enumval=81
LeadSquare = 81,
//% block="Lead 2 (sawtooth)" enumval=82
LeadSawtooth = 82,
//% block="Lead 3 (calliope)" enumval=83
LeadCalliope = 83,
//% block="Lead 4 (chiff)" enumval=84
LeadChiff = 84,
//% block="Lead 5 (charang)" enumval=85
LeadCharang = 85,
//% block="Lead 6 (voice)" enumval=86
LeadVoice = 86,
//% block="Lead 7 (fifths)" enumval=87
LeadFifths = 87,
//% block="Lead 8 (bass + lead)" enumval=88
LeadBassLead = 88,
//% block="Pad 1 (new age)" enumval=89
PadNewAge = 89,
//% block="Pad 2 (warm)" enumval=90
PadWarm = 90,
//% block="Pad 3 (polysynth)" enumval=91
PadPolysynth = 91,
//% block="Pad 4 (choir)" enumval=92
PadChoir = 92,
//% block="Pad 5 (bowed)" enumval=93
PadBowed = 93,
//% block="Pad 6 (metallic)" enumval=94
PadMetallic = 94,
//% block="Pad 7 (halo)" enumval=95
PadHalo = 95,
//% block="Pad 8 (sweep)" enumval=96
PadWweep = 96,
//% block="FX 1 (rain)" enumval=97
FXRain = 97,
//% block="FX 2 (soundtrack)" enumval=98
FXSoundtrack = 98,
//% block="FX 3 (crystal)" enumval=99
FXCrystal = 99,
//% block="FX 4 (atmosphere)" enumval=100
FXAtmosphere = 100,
//% block="FX 5 (brightness)" enumval=101
FXBrightness = 101,
//% block="FX 6 (goblins)" enumval=102
FXGoblins = 102,
//% block="FX 7 (echoes)" enumval=103
FXEchoes = 103,
//% block="FX 8 (sci-fi)" enumval=104
FXSciFi = 104,
//% block="Sitar" enumval=105
Sitar = 105,
//% block="Banjo" enumval=106
Banjo = 106,
//% block="Shamisen" enumval=107
Shamisen = 107,
//% block="Koto" enumval=108
Koto = 108,
//% block="Kalimba" enumval=109
Kalimba = 109,
//% block="Bag pipe" enumval=110
Bagpipe = 110,
//% block="Fiddle" enumval=111
Fiddle = 111,
//% block="Shanai" enumval=112
Shanai = 112,
//% block="Tinkle Bell" enumval=113
TinkleBell = 113,
//% block="Agogo" enumval=114
Agogo = 114,
//% block="Steel Drums" enumval=115
SteelDrums = 115,
//% block="Woodblock" enumval=116
Woodblock = 116,
//% block="Taiko Drum" enumval=117
TaikoDrum = 117,
//% block="Melodic Tom" enumval=118
MelodicTom = 118,
//% block="Synth Drum" enumval=119
SynthDrum = 119,
//% block="Reverse Cymbal" enumval=120
ReverseCymbal = 120,
//% block="Guitar Fret Noise" enumval=121
GuitarFretNoise = 121,
//% block="Breath Noise" enumval=122
BreathNoise = 122,
//% block="Seashore" enumval=123
Seashore = 123,
//% block="Bird Tweet" enumval=124
BirdTweet = 124,
//% block="Telephone Ring" enumval=125
TelephoneRing = 125,
//% block="Helicopter" enumval=126
Helicopter = 126,
//% block="Applause" enumval=127
Applause = 127,
//% block="Gunshot" enumval=128
Gunshot = 128
}