11#include "libsnd2_internal.h"
13static int is_first_dmy_SsNoteOn = 0;
14static int is_first_dmy_SsSetProgramChange = 0;
15static int is_first_dmy_SsGetMetaEvent = 0;
16static int is_first_dmy_SsSetPitchBend = 0;
17static int is_first_dmy_SsSetControlChange = 0;
18static int is_first_dmy_SsContBankChange = 0;
19static int is_first_dmy_SsContDataEntry = 0;
20static int is_first_dmy_SsContMainVol = 0;
21static int is_first_dmy_SsContPanpot = 0;
22static int is_first_dmy_SsContExpression = 0;
23static int is_first_dmy_SsContDamper = 0;
24static int is_first_dmy_SsContExternal = 0;
25static int is_first_dmy_SsContNrpn1 = 0;
26static int is_first_dmy_SsContNrpn2 = 0;
27static int is_first_dmy_SsContRpn1 = 0;
28static int is_first_dmy_SsContRpn2 = 0;
29static int is_first_dmy_SsContResetAll = 0;
30static int is_first_dmy_SsSetNrpnVabAttr0 = 0;
31static int is_first_dmy_SsSetNrpnVabAttr1 = 0;
32static int is_first_dmy_SsSetNrpnVabAttr2 = 0;
33static int is_first_dmy_SsSetNrpnVabAttr3 = 0;
34static int is_first_dmy_SsSetNrpnVabAttr4 = 0;
35static int is_first_dmy_SsSetNrpnVabAttr5 = 0;
36static int is_first_dmy_SsSetNrpnVabAttr6 = 0;
37static int is_first_dmy_SsSetNrpnVabAttr7 = 0;
38static int is_first_dmy_SsSetNrpnVabAttr8 = 0;
39static int is_first_dmy_SsSetNrpnVabAttr9 = 0;
40static int is_first_dmy_SsSetNrpnVabAttr10 = 0;
41static int is_first_dmy_SsSetNrpnVabAttr11 = 0;
42static int is_first_dmy_SsSetNrpnVabAttr12 = 0;
43static int is_first_dmy_SsSetNrpnVabAttr13 = 0;
44static int is_first_dmy_SsSetNrpnVabAttr14 = 0;
45static int is_first_dmy_SsSetNrpnVabAttr15 = 0;
46static int is_first_dmy_SsSetNrpnVabAttr16 = 0;
47static int is_first_dmy_SsSetNrpnVabAttr17 = 0;
48static int is_first_dmy_SsSetNrpnVabAttr18 = 0;
49static int is_first_dmy_SsSetNrpnVabAttr19 = 0;
51void dmy_nothing1(s16 seq_no, s16 sep_no, u8 note, u8 vollr)
59void dmy_SsNoteOn(s16 sep_no, s16 seq_no, u8 note, u8 vollr)
65 if ( !is_first_dmy_SsNoteOn )
67 printf(
"_SsNoteOn\n");
68 is_first_dmy_SsNoteOn = 1;
72void dmy_SsSetProgramChange(s16 sep_no, s16 seq_no, u8 prog)
77 if ( !is_first_dmy_SsSetProgramChange )
79 printf(
"_SsSetProgramChange\n");
80 is_first_dmy_SsSetProgramChange = 1;
84void dmy_SsGetMetaEvent(s16 sep_no, s16 seq_no, u8 meta_event)
89 if ( !is_first_dmy_SsGetMetaEvent )
91 printf(
"_SsGetMetaEvent\n");
92 is_first_dmy_SsGetMetaEvent = 1;
96void dmy_SsSetPitchBend(s16 sep_no, s16 seq_no)
100 if ( !is_first_dmy_SsSetPitchBend )
102 printf(
"_SsSetPitchBend\n");
103 is_first_dmy_SsSetPitchBend = 1;
107void dmy_SsSetControlChange(s16 sep_no, s16 seq_no, u8 control_value)
112 if ( !is_first_dmy_SsSetControlChange )
114 printf(
"_SsSetControlChange\n");
115 is_first_dmy_SsSetControlChange = 1;
119void dmy_SsContBankChange(s16 sep_no, s16 seq_no, u8 control_value)
124 if ( !is_first_dmy_SsContBankChange )
126 printf(
"_SsContBankChange\n");
127 is_first_dmy_SsContBankChange = 1;
131void dmy_SsContDataEntry(s16 sep_no, s16 seq_no, u8 control_value)
136 if ( !is_first_dmy_SsContDataEntry )
138 printf(
"_SsContDataEntry\n");
139 is_first_dmy_SsContDataEntry = 1;
143void dmy_SsContMainVol(s16 sep_no, s16 seq_no, u8 control_value)
148 if ( !is_first_dmy_SsContMainVol )
150 printf(
"_SsContMainVol\n");
151 is_first_dmy_SsContMainVol = 1;
155void dmy_SsContPanpot(s16 sep_no, s16 seq_no, u8 control_value)
160 if ( !is_first_dmy_SsContPanpot )
162 printf(
"_SsContPanpot\n");
163 is_first_dmy_SsContPanpot = 1;
167void dmy_SsContExpression(s16 sep_no, s16 seq_no, u8 control_value)
172 if ( !is_first_dmy_SsContExpression )
174 printf(
"_SsContExpression\n");
175 is_first_dmy_SsContExpression = 1;
179void dmy_SsContDamper(s16 sep_no, s16 seq_no, u8 control_value)
184 if ( !is_first_dmy_SsContDamper )
186 printf(
"_SsContDamper\n");
187 is_first_dmy_SsContDamper = 1;
191void dmy_SsContExternal(s16 sep_no, s16 seq_no, u8 control_value)
196 if ( !is_first_dmy_SsContExternal )
198 printf(
"_SsContExternal\n");
199 is_first_dmy_SsContExternal = 1;
203void dmy_SsContNrpn1(s16 sep_no, s16 seq_no, u8 control_value)
208 if ( !is_first_dmy_SsContNrpn1 )
210 printf(
"_SsContNrpn1\n");
211 is_first_dmy_SsContNrpn1 = 1;
215void dmy_SsContNrpn2(s16 sep_no, s16 seq_no, u8 control_value)
220 if ( !is_first_dmy_SsContNrpn2 )
222 printf(
"_SsContNrpn2\n");
223 is_first_dmy_SsContNrpn2 = 1;
227void dmy_SsContRpn1(s16 sep_no, s16 seq_no, u8 control_value)
232 if ( !is_first_dmy_SsContRpn1 )
234 printf(
"_SsContRpn1\n");
235 is_first_dmy_SsContRpn1 = 1;
239void dmy_SsContRpn2(s16 sep_no, s16 seq_no, u8 control_value)
244 if ( !is_first_dmy_SsContRpn2 )
246 printf(
"_SsContRpn2\n");
247 is_first_dmy_SsContRpn2 = 1;
251void dmy_SsContResetAll(s16 sep_no, s16 seq_no, u8 control_value)
256 if ( !is_first_dmy_SsContResetAll )
258 printf(
"_SsContResetAll\n");
259 is_first_dmy_SsContResetAll = 1;
263void dmy_SsSetNrpnVabAttr0(s16 vab_id, s16 prog, s16 tone,
VagAtr vag_attr, s16 fn_idx, u8 attribute_value)
270 (void)attribute_value;
271 if ( !is_first_dmy_SsSetNrpnVabAttr0 )
273 printf(
"_SsSetNrpnVabAttr0\n");
274 is_first_dmy_SsSetNrpnVabAttr0 = 1;
278void dmy_SsSetNrpnVabAttr1(s16 vab_id, s16 prog, s16 tone,
VagAtr vag_attr, s16 fn_idx, u8 attribute_value)
285 (void)attribute_value;
286 if ( !is_first_dmy_SsSetNrpnVabAttr1 )
288 printf(
"_SsSetNrpnVabAttr1\n");
289 is_first_dmy_SsSetNrpnVabAttr1 = 1;
293void dmy_SsSetNrpnVabAttr2(s16 vab_id, s16 prog, s16 tone,
VagAtr vag_attr, s16 fn_idx, u8 attribute_value)
300 (void)attribute_value;
301 if ( !is_first_dmy_SsSetNrpnVabAttr2 )
303 printf(
"_SsSetNrpnVabAttr2\n");
304 is_first_dmy_SsSetNrpnVabAttr2 = 1;
308void dmy_SsSetNrpnVabAttr3(s16 vab_id, s16 prog, s16 tone,
VagAtr vag_attr, s16 fn_idx, u8 attribute_value)
315 (void)attribute_value;
316 if ( !is_first_dmy_SsSetNrpnVabAttr3 )
318 printf(
"_SsSetNrpnVabAttr3\n");
319 is_first_dmy_SsSetNrpnVabAttr3 = 1;
323void dmy_SsSetNrpnVabAttr4(s16 vab_id, s16 prog, s16 tone,
VagAtr vag_attr, s16 fn_idx, u8 attribute_value)
330 (void)attribute_value;
331 if ( !is_first_dmy_SsSetNrpnVabAttr4 )
333 printf(
"_SsSetNrpnVabAttr4\n");
334 is_first_dmy_SsSetNrpnVabAttr4 = 1;
338void dmy_SsSetNrpnVabAttr5(s16 vab_id, s16 prog, s16 tone,
VagAtr vag_attr, s16 fn_idx, u8 attribute_value)
345 (void)attribute_value;
346 if ( !is_first_dmy_SsSetNrpnVabAttr5 )
348 printf(
"_SsSetNrpnVabAttr5\n");
349 is_first_dmy_SsSetNrpnVabAttr5 = 1;
353void dmy_SsSetNrpnVabAttr6(s16 vab_id, s16 prog, s16 tone,
VagAtr vag_attr, s16 fn_idx, u8 attribute_value)
360 (void)attribute_value;
361 if ( !is_first_dmy_SsSetNrpnVabAttr6 )
363 printf(
"_SsSetNrpnVabAttr6\n");
364 is_first_dmy_SsSetNrpnVabAttr6 = 1;
368void dmy_SsSetNrpnVabAttr7(s16 vab_id, s16 prog, s16 tone,
VagAtr vag_attr, s16 fn_idx, u8 attribute_value)
375 (void)attribute_value;
376 if ( !is_first_dmy_SsSetNrpnVabAttr7 )
378 printf(
"_SsSetNrpnVabAttr7\n");
379 is_first_dmy_SsSetNrpnVabAttr7 = 1;
383void dmy_SsSetNrpnVabAttr8(s16 vab_id, s16 prog, s16 tone,
VagAtr vag_attr, s16 fn_idx, u8 attribute_value)
390 (void)attribute_value;
391 if ( !is_first_dmy_SsSetNrpnVabAttr8 )
393 printf(
"_SsSetNrpnVabAttr8\n");
394 is_first_dmy_SsSetNrpnVabAttr8 = 1;
398void dmy_SsSetNrpnVabAttr9(s16 vab_id, s16 prog, s16 tone,
VagAtr vag_attr, s16 fn_idx, u8 attribute_value)
405 (void)attribute_value;
406 if ( !is_first_dmy_SsSetNrpnVabAttr9 )
408 printf(
"_SsSetNrpnVabAttr9\n");
409 is_first_dmy_SsSetNrpnVabAttr9 = 1;
413void dmy_SsSetNrpnVabAttr10(s16 vab_id, s16 prog, s16 tone,
VagAtr vag_attr, s16 fn_idx, u8 attribute_value)
420 (void)attribute_value;
421 if ( !is_first_dmy_SsSetNrpnVabAttr10 )
423 printf(
"_SsSetNrpnVabAttr10\n");
424 is_first_dmy_SsSetNrpnVabAttr10 = 1;
428void dmy_SsSetNrpnVabAttr11(s16 vab_id, s16 prog, s16 tone,
VagAtr vag_attr, s16 fn_idx, u8 attribute_value)
435 (void)attribute_value;
436 if ( !is_first_dmy_SsSetNrpnVabAttr11 )
438 printf(
"_SsSetNrpnVabAttr11\n");
439 is_first_dmy_SsSetNrpnVabAttr11 = 1;
443void dmy_SsSetNrpnVabAttr12(s16 vab_id, s16 prog, s16 tone,
VagAtr vag_attr, s16 fn_idx, u8 attribute_value)
450 (void)attribute_value;
451 if ( !is_first_dmy_SsSetNrpnVabAttr12 )
453 printf(
"_SsSetNrpnVabAttr12\n");
454 is_first_dmy_SsSetNrpnVabAttr12 = 1;
458void dmy_SsSetNrpnVabAttr13(s16 vab_id, s16 prog, s16 tone,
VagAtr vag_attr, s16 fn_idx, u8 attribute_value)
465 (void)attribute_value;
466 if ( !is_first_dmy_SsSetNrpnVabAttr13 )
468 printf(
"_SsSetNrpnVabAttr13\n");
469 is_first_dmy_SsSetNrpnVabAttr13 = 1;
473void dmy_SsSetNrpnVabAttr14(s16 vab_id, s16 prog, s16 tone,
VagAtr vag_attr, s16 fn_idx, u8 attribute_value)
480 (void)attribute_value;
481 if ( !is_first_dmy_SsSetNrpnVabAttr14 )
483 printf(
"_SsSetNrpnVabAttr14\n");
484 is_first_dmy_SsSetNrpnVabAttr14 = 1;
488void dmy_SsSetNrpnVabAttr15(s16 vab_id, s16 prog, s16 tone,
VagAtr vag_attr, s16 fn_idx, u8 attribute_value)
495 (void)attribute_value;
496 if ( !is_first_dmy_SsSetNrpnVabAttr15 )
498 printf(
"_SsSetNrpnVabAttr15\n");
499 is_first_dmy_SsSetNrpnVabAttr15 = 1;
503void dmy_SsSetNrpnVabAttr16(s16 vab_id, s16 prog, s16 tone,
VagAtr vag_attr, s16 fn_idx, u8 attribute_value)
510 (void)attribute_value;
511 if ( !is_first_dmy_SsSetNrpnVabAttr16 )
513 printf(
"_SsSetNrpnVabAttr16\n");
514 is_first_dmy_SsSetNrpnVabAttr16 = 1;
518void dmy_SsSetNrpnVabAttr17(s16 vab_id, s16 prog, s16 tone,
VagAtr vag_attr, s16 fn_idx, u8 attribute_value)
525 (void)attribute_value;
526 if ( !is_first_dmy_SsSetNrpnVabAttr17 )
528 printf(
"_SsSetNrpnVabAttr17\n");
529 is_first_dmy_SsSetNrpnVabAttr17 = 1;
533void dmy_SsSetNrpnVabAttr18(s16 vab_id, s16 prog, s16 tone,
VagAtr vag_attr, s16 fn_idx, u8 attribute_value)
540 (void)attribute_value;
541 if ( !is_first_dmy_SsSetNrpnVabAttr18 )
543 printf(
"_SsSetNrpnVabAttr18\n");
544 is_first_dmy_SsSetNrpnVabAttr18 = 1;
548void dmy_SsSetNrpnVabAttr19(s16 vab_id, s16 prog, s16 tone,
VagAtr vag_attr, s16 fn_idx, u8 attribute_value)
555 (void)attribute_value;
556 if ( !is_first_dmy_SsSetNrpnVabAttr19 )
558 printf(
"_SsSetNrpnVabAttr19\n");
559 is_first_dmy_SsSetNrpnVabAttr19 = 1;