20 Jul
2006
20 Jul
'06
11:25 a.m.
Spencer Salazar wrote:
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;
Thanks! -- peace, love & harmony Atte http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/compositions