<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML DIR=ltr><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"></HEAD><BODY><DIV><FONT face='Arial' color=#000000 size=2></FONT>Hi,</DIV>
<DIV> </DIV>
<DIV>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.</DIV>
<DIV> </DIV>
<DIV>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.</DIV>
<DIV> </DIV>
<DIV>1) 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)?</DIV>
<DIV> </DIV>
<DIV>2) 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).</DIV>
<DIV> </DIV>
<DIV>3) Is it possible to send Program Change messages with PD?</DIV>
<DIV> </DIV>
<DIV>Any input would be appreciated on either count!!</DIV>
<DIV>rs</DIV></BODY></HTML>