Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

range of noteout, ctlout, pgmout, touchout, bendout #13

Open
giuliomoro opened this issue Nov 14, 2018 · 0 comments
Open

range of noteout, ctlout, pgmout, touchout, bendout #13

giuliomoro opened this issue Nov 14, 2018 · 0 comments

Comments

@giuliomoro
Copy link

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 added a commit to giuliomoro/hvcc that referenced this issue Nov 14, 2018
@giuliomoro giuliomoro changed the title noteout, ctlout, pgmout, touchout, bendout clip the channel number range of noteout, ctlout, pgmout, touchout, bendout Nov 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant