View Single Post
Old 05-26-2004, 08:45 AM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,530
sde is on a distinguished road
Splitting Bytes in C

I am working on midi events.

There is one byte in the event which I need to take apart.

B0 (hex value)

B is refers to the event being a control change, and 0 refers to the midi channel.

in C, how can i put each of these in their own variable?
__________________
Mike
sde is offline   Reply With Quote