IIRC, note offs are sometimes sent as note ons (0x9n = 144 for channel 0) with velocity 0, and sometimes as the dedicated note off message (0x8n = 128 for channel 0) - which of these methods you get depends on the controller.
I'm running into problems getting the MIDI polyphony working.
Specifically, in the ChucK examples, I'm catching all of the noteon
messages but none of the noteoffs. One thing, I don't really
understand what "off @=> us[note];" is supposed to do, when "off" is
an Event. Basically, all of my noteon messages are coming as [144 key
vel] while my noteoffs are coming as [128 key 64]. How does this
work? I don't see anything for message 128 in the source code. I'm
testing on this one:
http://chuck.cs.princeton.edu/doc/examples/midi/polyfony2.ck
Thanks everyone. I tried reprogramming my keyboard (Korg Kontrol49)
but I couldn't figure out how to make it work.
Andrew
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users