Lexicon MPX1 sysex question

Discuss problems and solutions.
Post Reply
rutgerv
Newbie
Posts: 7
Joined: 01 Apr 2014 13:03

Lexicon MPX1 sysex question

Post 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
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: Lexicon MPX1 sysex question

Post 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
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Post Reply