jpcima / ADLplug

FM Chip Synthesizer — OPL & OPN — VST/LV2/Standalone
Boost Software License 1.0
435 stars 22 forks source link

Control for number of 4op channels #3

Closed jpcima closed 6 years ago

jpcima commented 6 years ago

When ADLMIDI would load its banks in the ordinary way, an ideal number of 4ops channels would be automatically computed and applied to the 4op masks of every chip.

ADLplug will load its instruments in real time and there will be no such computation. Instead, a control will define the number of 4op channels. Upon a look at libADMIDI, RT will need to call adl_setNumFourOpsChn and then adl_reset in order to make this change effective. no longer, after Wohlstand told me he has fixed it.

I should take care of limiting this to 1 time per cycle, after an update of instruments.