|
|
| version 1.1, 2003/11/21 06:51:11 | version 1.2, 2003/11/28 08:01:32 |
|---|---|
| Line 384 void cmvermouth_initialize(void) { | Line 384 void cmvermouth_initialize(void) { |
| void cmvermouth_load(UINT rate) { | void cmvermouth_load(UINT rate) { |
| MIDIMOD vermouth; | MIDIMOD vermouth; |
| UINT num; | |
| if (rate == 0) { | if (rate == 0) { |
| return; | return; |
| Line 394 void cmvermouth_load(UINT rate) { | Line 393 void cmvermouth_load(UINT rate) { |
| cmver.rate = rate; | cmver.rate = rate; |
| vermouth = midimod_create(rate); | vermouth = midimod_create(rate); |
| cmver.vermouth = vermouth; | cmver.vermouth = vermouth; |
| for (num=0; num<128; num++) { | midimod_loadall(vermouth); |
| midimod_loadprogram(vermouth, num); | |
| midimod_loadrhythm(vermouth, num); | |
| } | |
| } | } |
| } | } |