Page 1 of 1

Lexicon MPX1 sysex question

Posted: 07 Apr 2014 22:22
by rutgerv
Hi,

The MPX1 uses 64 steps for reverb time, but divided over 2 bytes.
Range first byte: 00 to 0F
Range 2nd byte: 00 to 03

How do you tackle this one?

Cheers,

Rutger

Re: Lexicon MPX1 sysex question

Posted: 08 Apr 2014 03:00
by Macciza
Hi
Did a quick search and there is plenty of info for MPX1 syses stuff.
They are using nibbles - to split the data,
So you could use - floor( value) & 0x0f - for the first byte and - (floor(value) >> 4) & 0x0f - for the second byte
Or try this as a one line function - nibble(byte) = {floor( byte) & 0x0f, (floor(byte) >> 4) & 0x0f} then do - nibble(value)
The other thing to remember is this is Lo,Hi ordering - some others do it as Hi,Lo . . .
Cheers
MM