ezmidiplay: MIDI channels higher than 10 have one added

Discussions, advice, bug reports and much more about the "bach" environment.
Post Reply
acousmatician
Posts: 3
Joined: Mon Aug 07, 2023 4:04 pm

ezmidiplay: MIDI channels higher than 10 have one added

Post by acousmatician » Mon Aug 07, 2023 4:27 pm

Hi - I am new to Bach, so I may have misunderstood. Using bach.ezmidiplay I am sending data to Logic, with 14 sounds on 14 MIDI channels. I see that bach.ezmidiplay is designed to miss out channel 10 (usually for percussion) UNLESS the user sets channel 10.

It seems to me that bach.ezmidiplay adds 1 to the channel number for all channels higher than 10, EVEN IF the user sets channel 10 themselves. Channel 10 will play ok, because of [if $i2 == 10 then 10 else $i1]. But still, +1 is added to all other higher channels, because of [if $i1 < 10 then $i1 else out2 $i1] with out2 ALWAYS getting +1. The result is, channel 10 plays, but channel 11 plays on channel 12, channel 12 on 13 and so on. But maybe this is how it is supposed to work?

Andrew

Post Reply