[PD-dev] sysex/midiin and port numbers

Miller Puckette msp at ucsd.edu
Tue Jan 8 22:06:41 CET 2013


I _think_ it would be safe to change this... anyone know of any way that
would break compatibility?

thanks
M

On Tue, Jan 08, 2013 at 02:58:41PM -0500, Peter Brinkmann wrote:
> Hi,
> I've been revisiting the MIDI support of libpd, and I noticed that the
> functions inmidi_byte and inmidi_sysex add one to the port number before
> passing the message on to the midiin/sysexin object. Is this the desired
> behavior? If so, why? If not, is it too late to change it?
> 
> I also don't understand the output I'm getting from my Korg nanoKey: If I
> push a key on the keyboard, then [notein] outputs MIDI events for channel
> 1, while [midiin] outputs bytes for port 2. How to channel numbers and port
> numbers fit together?
> Thanks,
>      Peter

> _______________________________________________
> Pd-dev mailing list
> Pd-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev




More information about the Pd-dev mailing list