Just posting random things I’m finding on Mackie Protocol. Please don’t take this as me hassling you with a list of development demands. It’s just me documenting stuff as I find it
Mackie Protocol (MP) uses note on/off messages to toggle various parameters on/off. I’ve noticed a difference between electra and MP. Both Electra and MP send note ons with a velocity of 127. When sending Note Off messages MP sends them with a velocity of zero whilst MP sends them with 127. I haven’t yet worked out is this is significant or not
For on off buttons under Mackie Protocol the message that the button sends is decoupled from the lighting state of the button. Whether a button is lit or not is controlled by the feedback sent to the Mackie controller.
So when a button is pressed to turn something on it sends a note on message with a velocity of 127 then a note off message with a velocity of zero. A note on message with a velocity of 127 is then sent back to the device to turn on the appropriate light.
When the button is pressed to turn the parameter off a note on message with a velocity of 127 is sent followed by a note off message with a velocity of zero. A note off message with a velocity of zero is sent to the Mackie device to turn the light off. Regardless of whether turning on or off the message that is sent from the mackie controller is the same
In terms of button presses the button on the Mackie controller is acting the same as a momentary note pad on electra.
There are a few differences though which upset the functionality and get the electra out of sync.
When I setup a pad as a momentary button it doesn’t stay lit. Electra sends out the note on message, it receives back a note on message, it then sends out a note off message and because it does that it turns off the lit status of the pad. Functionality in the daw is turned on or off as expected but the lighting status of the pad doesn’t accurately represent this.
If I setup a pad as a toggle. Then it sends out the note on message to turn on and stays lit. However when you untoggle it – it sends out a note off message. Mackie Protocol ignores this as it is waiting for another note on message to toggle the status. The electra pad is now dimmed but the functionality in the daw is still turned on. If I press the pad again it turns off the functionality in the daw but the pad is now lit. So after the initial press it will always take two presses to toggle the functionality on or off
Regardless of whether a toggle or momentary pad is used the message sent by electra is driven by the lit status of the pad. If the pad is not lit it will send a note ON, if the pad is lit it will send a note off. So if I’m using a momentary pad and turn the functionality on in the daw (using a mouse) then the pad on electra will get the feedback and light up as expected. But if I press the lit pad on the electra to turn off the functionality it sends out the wrong message