MIDI via USB - hanging notes
The seems like a stupid problem and it has me stumped.
I have a small keyboard (Novation Launchkey Mini) to play instruments in Max (2021 M1 Mac, Monterey) while testing live audio processing in place of the player/acoustic instrument I'm writing for.
With the keyboard connected via USB, notes often (at least 10%) hang when playing a simple vsti synth or sampler.
The same USB connection (and same instrument) works perfectly with a DAW, which seems to suggest it’s a Max problem.
If I connect the keyboard using a MIDI cable via my audio interface’s MIDI input, it all works perfectly with no hanging notes in Max.
Is there something hidden away in preferences? What am I missing?
Alistair
I still have this problem: MIDI in via USB to Max leaves some notes hanging especially for chords (i.e. near simultaneous notes).
One solution I have is to use pure data (in addition to Max) with a simple patch that has notein -> nouteout . In pd preferences I send the MIDI out to 'to Max 1'. Adding this extra stage I don't get any hanging notes, so what is Max doing different to pd? Anybody?
An older MacBook Pro 2017 Core i7 has the same problem and the added pd solution works for it too.
are you using midiin or notein in max ?
I remember a lot of complaints about that little keyboard, like it sends
too much stuff through usb midi, and one needs to filter all but midi
data one needs. In Logic, Reaper, Kontak etc ...
in detail, it seems that midi implementation of it is not really well done.
it sends note off as note on with velocity 0 (which is usually ok)
144 36 0 instead of 128 36 64 (note off).
midi implementation allows dropping of status byte for repeated messages,
and if midi stream is under heavy load, note on with velocity 0 can get lost.
I would turn off all that control stuff novation sends,
including midi clock and use notein instead of midiin to see if anything changes to better.
Thanks so much for the information.
I was using midiin...
I turned off the clock output in settings on the Launchkey and now it's absolutely fine (with midiin), but I'll also switch to notein to be sure