Hi Jon,
Mackie control/MCU is not standard midi. I haven't figured out how to implement MCU into the plugin yet. Only standard midi. You may get weird results trying to use Mackie mode. (: I would look and see if you can set your controller to standard midi mode for now
Hi Cpyarger,
Regarding the way obs-midi handles pitch_bend commands, in message.hpp we have:
static message pitch_bend(uint8_t channel, int value) noexcept
{
return { make_command(message_type::PITCH_BEND, channel),
(unsigned char)(value & 0x7F), (uint8_t)((value >> 7) & 0x7F) };
}
static message pitch_bend(uint8_t channel, uint8_t lsb, uint8_t msb) noexcept
{
return { make_command(message_type::PITCH_BEND, channel), lsb, msb };
}
Which seems to me to detect what bit depth the pitch_bend message that has been sent is, and then set up an appropiate commande from that.
Mackie protocol uses a range from -8191 to +8192 which needs 14 bits.
Another github project using the Mackie protocol (
https://github.com/biappi/Control-Surface/blob/master/Sources/LogicControl.m) set up pitch bend like this:
(void)receivedPitchWheelChannel:(uint8_t)channel value:(uint16_t)value;
Do you think it makes any difference getting the message as 2 unsigned 8 bit values rather than one unsigned 16 bit value?
I found this page which has information regarding Mackie Control, I don't know if this is useful to you:
I FREAKIN FOUND THE HUI DOCS!!!!! MIDI Hardware, Control Surfaces, and OSC
forum.cockos.com
Thanks for all your hard work,
Cheers,
Jon