Launchpad controller keeps sending lots of MIDI

I am trying to figure out how to probe different (usb) midi devices using the sysex device inquiry. For this, I am trying to modify the MidiDemo example, to do the things I need it to do. When that is successful, I’ll be able to incorporate the code into my app.

My problem is now that in a clean MidiDemo build, when I select my Launchpad Pro MK3 MIDI as input device, I get many many messages just saying f8. When breakpointed on the line messageText << m.getDescription() << “\n”; I can see that the midi message is the following byte string: f8 93 ff 00 01 00 00 00.

To be clear, this is when no buttons are pressed and in a clean MidiDemo build. Does this mean that my device is faulty, or is it normal that the LPPro just sends such amounts of data? My CPU in XCode also jumps up from ~4% to 100% immediately when I select the controller as a midi in device.

Note: I’ve managed to circumvent the app taking a 99-100% cpu load by adding the following if:

        for (auto& m : messages)
            if (m.getDescription() != "f8")
                messageText << m.getDescription() << "\n";

Hi. It’s a midi clock message - the LP Pro can be used to sequence synths and so sends clock messages.

https://www.lim.di.unimi.it/IEEE/MIDI/SOT3.HTM

2 Likes

…and this manual page shows how to toggle transmission of MIDI clock on that unit.

1 Like

Thanks leehu and bgporter. Does anybody have some example code of sending a Device Inquiry / Identity Request and more specifically, receiving the response?

Never mind, I’ve again put F0 and F7 delimiters in the byte array that I passed to MidiMessage::createSysExMessage. Getting the response now.

1 Like