All of a sudden my setup started producing stuck midi notes.
The problem appeared with an Axiom Air32 mini keyboard which is connected via USB to an M-Audio Air Hub and the Air Hub is connected to a M1 MacBook, running MacOS 27 (latest update. Cubase is an Artist 14.0.41 version.
Other software (GarageBand/Manistage and standalone synths) work fine.
The Midi Monitor shows only the Note On events and no Note Offs are recorded. The problem is present with recorded notes and with live playing too. Any channel the keyboard is set to produces the same problem. All pressed notes are stuck. The Screen Keyboard (and the MacBook’s keyboard) work fine. Reinstalling Cubase didn’t help.
Deleting the preferences, deleting the Cubase 15 trial files from the Preferences folder, starting in safe mode did not help. Here is a Midi Monitor reading after pressing one key (and releasing it.) Also, here is the same action monitored in MainStage. I guess the difference is obvious and it IS a Cubase problem.
Hello Pete
I can’t recall, it is a stock MainStage plugin, most likely the Grand Piano. I do not think it really matters, as in Cubase all the plugins (and unplugged midi tracks) produce the error and outside Cubase all the other software (GarageBand, MainStage, bunch of standalone synth plugins, such as Kontakt, Pianoteq, lots of AIR Music stuff) work fine. For the Note Off 64, I would not be surprised if this was the standard setting for the midi keyboard, as it does not implement Note off Velocity
It is a bit late, so not tonight, but maybe tomorrow I will remove all of Cubase totally form the MacBook and reinstall. Let’s see what happens.
What comes to my mind that since I have been routinely struggling with the well documented bug for disappearing Midi Remote settings, I have accustomed to the workflow in which if the assigned controllers disappear, I delete the related files from the Documents/Midi Remote/User setting and then import the layout from a saved file. this time I did it without quitting Cubase, and this could have brought the havoc on me.
At least I could get some info about which files I am supposed to delete/reinstall to make things work again. I tried the application itself, the Preferences and also tried safe mode.
Well, this is getting even more maddening. I decided to completely wipe clean the MacBook and do a fresh install. After that, the problem is still present.
This is actually driving me crazy.
Can it be related to Mac OS 27? I can’t remember using this keyboard since the update. But this is midi, for god’s sake, how can it go this wrong? (With only this one software?)
Did Steinberg deliberately break Cubase 14 to assist the decision to update to Cubase 15?
Pete, thank you for the update, this indeed works, however needs a little tweaking in Cubase. Nevertheless, even better news that for Dorico there is an update that fixes the problem, in a humble way I hope that Cubase (14!) will receive an update too. Apple could do something, but I guess their reaction will be stating that this is a feature, not a bug.
Nah. They’ve (Apple) been good with the MIDI 2.0 support. I suspect they’ll fix it.
We took a slightly different path vs what Apple has. We won’t convert protocols unless we need to. Apple converts based on stated preference from the app/device. Both approaches are valid for different reasons, but this bug came from that conversion. My guess is, on macOS, Cubase says it wants MIDI 2.0.
Note On Velocity Zero in MIDI 1.0 is a note off. Note On Velocity Zero in MIDI 2.0 is still a Note On, but with a zero velocity. If you translate between protocols, you end up with a problem there.
Pete, this is fine and thank you for the heads-up, however back in the previous century when I was studying the midi protocol, it was said that:
the zero velocity NoteOff is a data saver trick, as this way the status byte can be spared, and with the 5-pin Midi (31 kbit/s transfer speed) it was a valid point. In the protocol, it is stated that at the receiving end its implementation is mandatory.
Theoretically, Midi 2.0 should be fully compatible with Midi 1.0 and it is a pity that they are damaging a standard that has been working for more than 40 years.
The standard didn’t break anything. Converting unnecessarily to MIDI 2.0 protocol (IMO) did.
The UMP data format introduced with MIDI 2.0 supports MIDI 1.0 and MIDI 2.0 protocol messages and so is backwards compatible. It’s the translation that broke it here.
Internally in Windows, every message is moved around as UMP vs the old byte format, even for MIDI 1.0. If you send a MIDI 1.0 Note On with velocity 0, it will arrive as a Note On with velocity 0, in MIDI 1.0 protocol, so we don’t break Mackie, among other things. If you send a Note On with velocity 0 in MIDI 2.0, it arrives as exactly that, per the MIDI 2.0 protocol specifications.
The current behavior in macOS is a translation decision (or bug) made by the folks at Apple, it’s not a protocol or format deficiency.
I believe the problem comes from translating back from this, which is lossy because you don’t know if the original MIDI 1.0 message was a Note On with 0 or a Note Off.