How to extract the least 7 bits from a value ? :/
I need to do this for sysex extraction...but I'm a bit confused on how to do. any idea?
Edit: bits, not bytes
How to extract the least 7 bytes from a value?
When the input is MIDI data with values between 0 and 255, you can use X MOD 128. Normally you don't have to do that, though, since all the data bytes are from 0 to 127 and the most significant bit is 0 anyway.
Bjørn S
Who is online
Users browsing this forum: No registered users and 83 guests
