Hi,
I'm trying to use PD as a MIDI routing tool -- I was using MIDIOX but I want to go a little more in-depth. Right now I'm still trying to learn the basics.
I'm currently playing with the ~notein and ~ctlin objects, and apparently the ~notein is aware of note number, velocity, and midi input number -- and the ~ctlin is aware of ctrl number, ctrl value, and midi input number.
what's the best way to determine the midi channel of incoming data (and ultimately to output the data stream as a certain midi channel)?
I used pd -midiindev x,y to tell pd which midi inputs I wanted. MIDI input 1 is showing up as "1", according to ~notein and ~ctlin, but MIDI input 2 is showing up as "17" or "20" (depending on the parameter used).
Is it possible to send Program Change messages with PD?
Any input would be appreciated on either count!! rs
Hallo, Ryan Supak hat gesagt: // Ryan Supak wrote:
I'm trying to use PD as a MIDI routing tool -- I was using MIDIOX but I want to go a little more in-depth. Right now I'm still trying to learn the basics.
I'm currently playing with the ~notein
Careful With That Tilde~, Eugene. ;) It has a special meaning in Pd conventions (the philosphical ones, not the real ones), that is denoting signal objects and then belongs to the end of the object name.
and ~ctlin objects, and apparently the ~notein is aware of note number, velocity, and midi input number -- and the ~ctlin is aware of ctrl number, ctrl value, and midi input number.
- what's the best way to determine the midi channel of incoming
data (and ultimately to output the data stream as a certain midi channel)?
Well, look at the midi channel outlet of [notein] or [ctlin], it sends the midi channel number.
- I used pd -midiindev x,y to tell pd which midi inputs I wanted.
MIDI input 1 is showing up as "1", according to ~notein and ~ctlin, but MIDI input 2 is showing up as "17" or "20" (depending on the parameter used).
Yes, that's normal: The first device in Pd sends midi channels 1-16, the second sends 17-32 and so on for each device you can add.
To me it seems, that you are using the term "midi input" in a not really consistent way. IMO it's better to not talk of "input" but of:
- Is it possible to send Program Change messages with PD?
[pgmin] and [pgmout] are for Program Change messages.
Frank Barknecht _ ______footils.org__