Develop branch assert when sending a simple CC message

Hi,

On current develop branch, I hit the assert jassert (Utils::getNumWordsForMessageType (a) == 4); in juce_UMPacket.h when trying to send a simple CC message:

auto devices = juce::MidiOutput::getAvailableDevices();
auto midiOut = juce::MidiOutput::openDevice(devices[0].identifier);
jassert(midiOut != nullptr);

midiOut->sendMessageNow(juce::MidiMessage::controllerEvent(1, 2, 3));

Please can this be fixed.

Thanks,

Jelle

A similar problem also happened for me when trying to receive MIDI CCs.

Thanks for reporting, that’s fixed here:

1 Like