<!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>&nbsp;</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.&nbsp; Right now I'm still trying to learn 
the&nbsp;basics.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'm currently&nbsp;playing with&nbsp;the ~notein and ~ctlin objects, and 
apparently the ~notein is aware of note number, velocity, and&nbsp;midi 
input&nbsp;number -- and the ~ctlin is aware of ctrl number, ctrl value, and 
midi input number.</DIV>
<DIV>&nbsp;</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>&nbsp;</DIV>
<DIV>2) I used pd -midiindev x,y to tell pd which midi inputs I wanted.&nbsp; 
MIDI input 1 is showing up as "1", according to ~notein and ~ctlin,&nbsp;but 
MIDI input 2 is showing up as "17" or "20" (depending on the parameter 
used).</DIV>
<DIV>&nbsp;</DIV>
<DIV>3) Is it possible to send Program Change messages with PD?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Any input would be appreciated on either count!!</DIV>
<DIV>rs</DIV></BODY></HTML>