-
Notifications
You must be signed in to change notification settings - Fork 3
/
OPL-GM.H
272 lines (271 loc) · 10.7 KB
/
OPL-GM.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
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
259
260
261
262
263
264
265
266
267
268
269
270
271
272
/*
* This file contains OPL fonts for all the General Midi level 1 instruments:
* - 128 instruments
* - 128 percussions
*/
static struct timbre_t gmtimbres[256] = {
/* ,---------+-------- Wave select settings *
* | ,-------÷-+------ Sustain/release rates *
* | | ,-----÷-÷-+---- Attack/decay rates *
* | | | ,---÷-÷-÷-+-- AM/VIB/EG/KSR/Multiple bits *
* | | | | | | | | *
* | | | | | | | | ,----+-- KSL/attenuation settings *
* | | | | | | | | | | ,----- Feedback/connection bits *
* | | | | | | | | | | | */
{0x052F221,0x073D231,0x4F,0x00,0x06,0},
{0x053F101,0x074D211,0x4F,0x00,0x06,0},
{0x1F5F213,0x0F5F111,0xC6,0x00,0x00,0},
{0x0F9F131,0x0F9F331,0x8E,0x80,0x0A,0},
{0x050F101,0x07CD201,0x4F,0x04,0x06,0},
{0x013F202,0x043F502,0x22,0x00,0x0E,0},
{0x0F9F131,0x0F9F332,0x8E,0x80,0x0A,0},
{0x153F101,0x274F111,0x49,0x00,0x06,0},
{0x061F217,0x074F212,0x4F,0x08,0x08,0},
{0x060F207,0x072F212,0x4F,0x0A,0x08,0},
{0x061F217,0x0B2F112,0x4F,0x08,0x08,0},
{0x212AA93,0x021AC91,0x97,0x00,0x0E,0},
{0x015DA85,0x013F981,0x4E,0x80,0x0A,0},
{0x0F0FF06,0x0B5F8C4,0x00,0x00,0x0E,0},
{0x060F217,0x072F202,0x4F,0x10,0x08,0},
{0x053F103,0x074F217,0x4F,0x0B,0x06,0},
{0x00FFF64,0x00FFF21,0x86,0x80,0x01,0},
{0x00FFF24,0x00FFF21,0x80,0x80,0x01,0},
{0x0FFF001,0x00F9031,0x4F,0x00,0x06,0},
{0x1069FB2,0x10F94B0,0xC0,0x80,0x09,0},
{0x0FFF001,0x00F9033,0x4F,0x08,0x06,0},
{0x00BF224,0x00B5231,0x4F,0x10,0x0E,0},
{0x0035121,0x0674262,0x15,0x80,0x0A,0},
{0x0AFF5E1,0x10FF4E1,0xD0,0x00,0x0C,0},
{0x021FF13,0x003FF11,0x96,0x80,0x0A,0},
{0x001FF11,0x003FF11,0x8D,0x80,0x00,0},
{0x171F503,0x083F211,0x5E,0x00,0x0E,0},
{0x031F121,0x044F406,0x40,0x80,0x00,0},
{0x01FF201,0x088F501,0x11,0x00,0x0A,0},
{0x053F131,0x227F232,0x48,0x00,0x06,0},
{0x01A9162,0x01AC1E6,0x40,0x03,0x08,0},
{0x0AF73C8,0x07FF3C4,0x12,0x00,0x08,0},
{0x0B69401,0x0268300,0x00,0x00,0x01,0},
{0x0EEC100,0x0DEF301,0x23,0x00,0x0A,0},
{0x071FB50,0x0B9F300,0x00,0x00,0x00,0},
{0x0EFF230,0x078F521,0x1E,0x00,0x0E,0},
{0x1889500,0x003FF10,0x40,0x00,0x06,0},
{0x1F7F500,0x3F7F500,0x10,0x00,0x00,0},
{0x025F911,0x034F131,0x05,0x00,0x0A,0},
{0x021D500,0x0018310,0x4F,0x00,0x0A,0},
{0x2035170,0x2675420,0x1C,0x00,0x0E,0},
{0x21152F0,0x1FE31F1,0xD0,0x80,0x00,0},
{0x11152B0,0x1FE31B1,0xC5,0x80,0x00,0},
{0x01172A0,0x1FE51A0,0xC0,0x80,0x08,0},
{0x01171B1,0x1154261,0x8B,0x40,0x06,0},
{0x0F9F131,0x0E6F731,0x9C,0x80,0x0E,0},
{0x171F502,0x083F211,0x60,0x40,0x0E,0},
{0x005F010,0x004D011,0x25,0x80,0x0E,0},
{0x2005130,0x2655420,0x1C,0x00,0x0E,0},
{0x01151B1,0x1154261,0x8B,0x40,0x06,0},
{0x1037531,0x0445462,0x1A,0x00,0x0E,0},
{0x0817021,0x12C7322,0x16,0x00,0x0C,0},
{0x0089021,0x02BFA23,0x40,0x8E,0x01,0},
{0x0F2F251,0x2F2F241,0x0D,0x00,0x0A,0},
{0x173F141,0x074F241,0x4F,0x10,0x06,0},
{0x00591C0,0x20462C1,0x0F,0x00,0x0A,0},
{0x00B4131,0x03B9261,0x1C,0x80,0x0E,0},
{0x01F41B1,0x03B9261,0x1C,0x80,0x0E,0},
{0x0655200,0x0767301,0x1D,0x00,0x0E,0},
{0x08C4321,0x02F8521,0x19,0x80,0x0C,0},
{0x05A5321,0x01AAA21,0x9F,0x80,0x0C,0},
{0x0AE71E1,0x09E81E2,0x15,0x0A,0x0E,0},
{0x029BB21,0x00A9021,0x8E,0x80,0x08,0},
{0x0AE71E1,0x09E81E1,0x16,0x0A,0x0A,0},
{0x2AE71E0,0x09E80E4,0x23,0x00,0x0A,0},
{0x0537101,0x07C5212,0x4F,0x00,0x0A,0},
{0x0687120,0x05E5231,0x4E,0x00,0x0A,0},
{0x05B7110,0x07B5251,0x4F,0x00,0x0E,0},
{0x009F021,0x00A9024,0x92,0x00,0x0A,0},
{0x0176EB1,0x00E8BA1,0xC5,0x80,0x02,0},
{0x019D530,0x01B6171,0xC8,0x80,0x0C,0},
{0x01B5132,0x03BA261,0x9A,0x82,0x0C,0},
{0x0160020,0x0155022,0x5B,0x80,0x0A,0},
{0x0177421,0x01765A2,0x83,0x8D,0x07,0},
{0x08F6EE0,0x02A6561,0xEC,0x00,0x0E,0},
{0x0160020,0x01550E2,0x5B,0x80,0x0A,0},
{0x1063F53,0x0075F00,0x85,0x00,0x06,0},
{0x33457F1,0x05D67E1,0x28,0x00,0x0E,0},
{0x0C70CF5,0x0A560F6,0x9A,0x80,0x0D,0},
{0x0537102,0x07C5211,0x4F,0x00,0x0A,0},
{0x007F804,0x0748201,0x08,0x00,0x08,0},
{0x04FF660,0x00F7660,0x03,0x00,0x02,0},
{0x0089782,0x00897F1,0x0D,0x00,0x00,0},
{0x0F55550,0x0F55500,0x80,0x00,0x08,0},
{0x0339661,0x02B5521,0x00,0x00,0x06,0},
{0x203F661,0x004F622,0x07,0x00,0x02,0},
{0x0E1A311,0x0E4A103,0x80,0x80,0x06,0},
{0x0F2F251,0x0F2F251,0x41,0x00,0x0A,0},
{0x034F121,0x044F406,0x40,0x80,0x01,0},
{0x19041F0,0x006A2B0,0xC0,0x80,0x08,0},
{0x102FF51,0x002FF01,0x03,0x08,0x04,0},
{0x0AFF5E1,0x10FF4E1,0xD0,0x00,0x0C,0},
{0x11122F0,0x02E31F1,0x46,0x80,0x0C,0},
{0x0D3B305,0x024F246,0x40,0x80,0x02,0},
{0x0FFF100,0x0FF5011,0x0D,0x80,0x06,0},
{0x0FF1000,0x0FF5011,0x12,0x80,0x0A,0},
{0x002A4B4,0x04245F6,0x87,0x80,0x06,0},
{0x01111F1,0x01111F1,0x41,0x41,0x02,0},
{0x002A4B4,0x04245F7,0x87,0x80,0x06,0},
{0x0005874,0x0012635,0x18,0x80,0x06,0},
{0x003FF40,0x001FF08,0x0D,0x00,0x08,0},
{0x00F5F00,0x005FF00,0x00,0x00,0x00,0},
{0x0417F21,0x0213521,0x56,0x00,0x0E,0},
{0x301F17E,0x001F131,0x00,0x00,0x04,0},
{0x053F101,0x053F108,0x40,0x40,0x00,0},
{0x011A131,0x0437D16,0x87,0x80,0x08,0},
{0x053F101,0x074F219,0x4F,0x00,0x06,0},
{0x01FF201,0x088F508,0x11,0x00,0x08,0},
{0x055F502,0x053F601,0x99,0x80,0x00,0},
{0x1176E31,0x20C8B22,0x43,0x05,0x02,0},
{0x1037531,0x0445462,0x1C,0x00,0x0E,0},
{0x0427880,0x0548595,0x4D,0x00,0x0E,0},
{0x072F107,0x004FC08,0x48,0x80,0x00,0},
{0x0F6F80E,0x0F6F80E,0x00,0x00,0x00,0},
{0x1068F02,0x005FF00,0xC0,0x00,0x0A,0},
{0x097C802,0x097C802,0x00,0x00,0x01,0},
{0x007FF01,0x007FF01,0x00,0x00,0x07,0},
{0x096D801,0x096D801,0x00,0x00,0x0A,0},
{0x0F0F006,0x0B4F600,0x00,0x00,0x0E,0},
{0x10B5F01,0x10B5F01,0x80,0x80,0x04,0},
{0x2056651,0x0066642,0x00,0x00,0x00,0},
{0x0665F53,0x0077F00,0x05,0x00,0x06,0},
{0x000200E,0x001210E,0x00,0x00,0x0E,0},
{0x003F1C0,0x001107E,0x4F,0x0C,0x02,0},
{0x08785F4,0x09974F3,0x50,0x80,0x0C,0},
{0x1111EF0,0x11111E2,0x00,0xC0,0x08,0},
{0x00FFF7E,0x00F3F6E,0x00,0x00,0x0E,0},
{0x0F0A006,0x075C584,0x00,0x00,0x0E,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x277F810,0x006F311,0x44,0x00,0x08,0},
{0x0FFF902,0x0FFF811,0x07,0x00,0x08,0},
{0x205FC00,0x017FA00,0x00,0x00,0x0E,0},
{0x007FF00,0x008FF01,0x02,0x00,0x00,0},
{0x205FC00,0x017FA00,0x00,0x00,0x0E,0},
{0x00CF600,0x006F600,0x00,0x00,0x04,0},
{0x008F60C,0x247FB12,0x00,0x00,0x0A,0},
{0x00CF600,0x006F600,0x00,0x00,0x04,0},
{0x008F60C,0x2477B12,0x00,0x05,0x0A,0},
{0x00CF600,0x006F600,0x00,0x00,0x04,0},
{0x002F60C,0x243CB12,0x00,0x00,0x0A,0},
{0x00CF600,0x006F600,0x00,0x00,0x04,0},
{0x00CF600,0x006F600,0x00,0x00,0x04,0},
{0x000F60E,0x3029FD0,0x00,0x00,0x0E,0},
{0x00CF600,0x006F600,0x00,0x00,0x04,0},
{0x042F80E,0x3E4F407,0x08,0x4A,0x0E,0},
{0x030F50E,0x0029FD0,0x00,0x0A,0x0E,0},
{0x3E4E40E,0x1E5F507,0x0A,0x5D,0x06,0},
{0x004B402,0x0F79705,0x03,0x0A,0x0E,0},
{0x000F64E,0x3029F9E,0x00,0x00,0x0E,0},
{0x237F811,0x005F310,0x45,0x08,0x08,0},
{0x000F60E,0x3029FD0,0x00,0x00,0x0E,0},
{0x303FF80,0x014FF10,0x00,0x0D,0x0C,0},
{0x042F80E,0x3E4F407,0x08,0x4A,0x0E,0},
{0x00CF506,0x008F502,0x0B,0x00,0x06,0},
{0x0BFFA01,0x097C802,0x00,0x00,0x07,0},
{0x087FA01,0x0B7FA01,0x51,0x00,0x06,0},
{0x08DFA01,0x0B8F802,0x54,0x00,0x06,0},
{0x088FA01,0x0B6F802,0x59,0x00,0x06,0},
{0x30AF901,0x006FA00,0x00,0x00,0x0E,0},
{0x389F900,0x06CF600,0x80,0x00,0x0E,0},
{0x388F803,0x0B6F60C,0x80,0x08,0x0F,0},
{0x388F803,0x0B6F60C,0x85,0x00,0x0F,0},
{0x04F760E,0x2187700,0x40,0x08,0x0E,0},
{0x049C80E,0x2699B03,0x40,0x00,0x0E,0},
{0x305ADD7,0x0058DC7,0xDC,0x00,0x0E,0},
{0x304A8D7,0x00488C7,0xDC,0x00,0x0E,0},
{0x306F680,0x3176711,0x00,0x00,0x0E,0},
{0x205F580,0x3164611,0x00,0x09,0x0E,0},
{0x0F40006,0x0F5F715,0x3F,0x00,0x01,0},
{0x3F40006,0x0F5F712,0x3F,0x00,0x00,0},
{0x0F40006,0x0F5F712,0x3F,0x00,0x01,0},
{0x0E76701,0x0077502,0x58,0x00,0x00,0},
{0x048F841,0x0057542,0x45,0x08,0x00,0},
{0x3F0E00A,0x005FF1E,0x40,0x4E,0x08,0},
{0x3F0E00A,0x002FF1E,0x7C,0x52,0x08,0},
{0x04A7A0E,0x21B7B00,0x40,0x08,0x0E,0},
{0x3E4E40E,0x1395507,0x0A,0x40,0x06,0},
{0x332F905,0x0A5D604,0x05,0x40,0x0E,0},
{0x3F30002,0x0F5F715,0x3F,0x00,0x08,0},
{0x08DFA01,0x0B5F802,0x4F,0x00,0x07,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0},
{0x0000000,0x0000000,0x00,0x00,0x00,0}
};