hvcc icon indicating copy to clipboard operation
hvcc copied to clipboard

range of noteout, ctlout, pgmout, touchout, bendout

Open giuliomoro opened this issue 5 years ago • 0 comments

In Pd, channel numbers are 1-16 for the first opened MIDI port, and then they keep going if you have more ports (e.g.: 17-32 is the second port).

This is what libpd does:

  • Channel numbers start at 0.
  • Channel numbers in libpd encode both Pd channels and ports in the following way: libpd_channel = pd_channel + 16 * pd_port. In particular, any nonnegative integer is a valid channel number as far as libpd is concerned.

It's convenient for me (and I think it may also make sense for others) to have heavy behave the same way.

(a separate issue should be granted for handling the range of [bendin]/[bendout], which is also peculiar in libpd)

giuliomoro avatar Nov 14 '18 17:11 giuliomoro