I'm having an strange problem with midi channel using pd.
I'm working with two different midi controller, one is assigned to midi channel 1 and another to midi channel 2.
If i connect them separately they work right, sending and receiving from their channels, but if I connect the two at the same time (setting first on pd) all works bad. I can see with ctlin than first controller (channel 1) now send to midi channel 17 and sometimes 33... crazy... midi only works with 16 channels, right?
I'm missing something?
Ah...I'm working with Pd-extended on Debian wheezy 32-bit.
Thanks a lot for the help!
midi channel problem
Hi! If you confuse about channel numbers, that's all right. When you add more than one midi-input to pd, it changes channel names making it plus 16. So the first channel of the second port is 17, the first channel of the third port is 33 and so on...
Ah... thanks a lot k0ch. I was searching about it with no lucky.
I noticed what you say also with channel 2 = channel 18 or channel 1 = channel 16 or 33, but thought that adding +16 was perhaps a fault of the program.
But then, is not possible show exactly the original midi channels from second or third controllers?just out of curiosity.
Hi, you can see the original MIDI channel by connecting a [% 16] to [ctlin] (so 17, 33, etc. becomes 1, then 18, 34, etc. becomes 2 and so on). Just note that channel 16 will be displayed as 0 (since the modulus of 16 on 16 is 0), but then again you can use some simple logic to convert it back (something like [expr if ($f1 == 0), 16, $f1]).
I hope this helps,
Perfect, thanks for the help Gilberto.
[%16] and [expr if (($f1 == 0), 16, $f1)] works perfect for me.
Is the first time in some years of discontinued use of pd I have connected more than one midi controller. I'm not a big fan of work with midi on pd.