Howdy! Under the MIDI spec, MIDI messages carry the channel in the lower 4 bits of the first byte of the message. Thus the following code would store the channel in the "channel" variable: msg.data1 & 0x0f => int channel; spencer On Jul 20, 2006, at 7:44 AM, Atte André Jensen wrote:
Hi
How can one tell which midi channel is associated with a midi-event? It's probably somewhere in the docs, although I wasn't able to find it...
-- peace, love & harmony Atte
http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/ compositions _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users