werckme / werckmeister

An open source Sheet Music MIDI Compiler
http://werckme.github.io/
GNU General Public License v3.0
32 stars 4 forks source link

auto channel #407

Open SambaGodschynski opened 11 months ago

SambaGodschynski commented 11 months ago

as composer I want not to worry about which midi channel is free.

instrumentDef: _setName=piano _onDevice=MyDevice _ch='auto' _pc=1;
instrumentDef: _setName=drums _onDevice=MyDevice _ch=9 _pc=1;

I expect an error message when on a device no channels are left. The auto chosen channels do not change unless the configuration was changed.

SambaGodschynski commented 11 months ago

is not as easy as I have thought. The issue is mixing auto and non-auto. It would be necessary to order the definitions: first the non-auto, then the auto ones.