23 Jul
2006
23 Jul
'06
1:30 a.m.
On Sun, Jul 23, 2006 at 12:38:19AM -0400, Spencer Salazar wrote:
Howdy,
midi_msg.data1 &0xf0 - 128 => type
To get the high word, you should actually be right-shifting by 4:
( ( msg.data1 & 0xf0 ) >> 4 ) => type;
That be a high nybble, incidentally. B> -- Packrat (BSc/BE;COSO;Wombat Implementor) Nihil illegitemi carbovndvm