Note Off events missing (inverted Note On/Off events)

Hi,

i’ve encountered an issue while testing my keyboard controller.

The output in MIOS Studio shows correct note on/off (key pressed down = on, key released = off) events, but when i’m testing on a separate music computer running Cubase those events seem inverted (on -> off and off -> on)

Cubase MIDI monitor shows something like this on a single C3 press:

Note On C3 0 Note On C3 127

It looks like Note Off events are missing and strange 0 events are triggered before Note On.

I’ve no idea what is causing that.

 

Edit: The solution was to change the USB port or reinsert the USB cable.

Edit 2: The problem is unfortunately still there.

Here is my config. Jumper J6 on DIO_MATRIX module is set to the left position (inverted diodes).

KEYBOARD n=1 rows=8 dout\_sr1=1 dout\_sr2=2 din\_sr1=1 din\_sr2=2 din\_inverted=1 break\_inverted=0 din\_key\_offset=32 \ scan\_velocity=1 scan\_optimized=0 note\_offset=36 \ delay\_fastest=5 delay\_fastest\_black\_keys=0 delay\_slowest=100

 

A Note On with a 0 velocity is always considered as a Note Off by most of midi gear, this is for the running status, to avoid its constantly change, and optimize the midi traffic.
Are you sure Cubase receives 0 velocity first?

Thanks for your help

Yes, i tested it carefully. It can also be heard when playing a VSTi. Frist i thought there were hanging notes. But now it looks like Note On and Off events are simply inverted, which results in a similiar scenario.

Try with with an other midi monitor like midiOx(pc) or snoize(mac) depending on your separate music computer. And share the result…

I noted another strange thing.

When i press C3 for the first time after opening Cubase i see multiple Note On 0 events with different note values fired. There is no C3 0 event, only the last C3 127 event.

Note On E1 0 Note On F1 0 Note On F#1 0 Note On G1 0 Note On G#3 0 Note On A2 0 Note On A#3 0 Note On B3 0 Note On C3 127

After the first C3 press, there are only two events fired per key press as described in the opening post.

Edit: this happens only sometimes

I’ve swapped the MIDIBox controller with another MIDI keyboard and everthing looks fine in Cubase MIDI monitor. It sends Note On and Note Off events as expected.

Besides MIDI-OX outputs everything as expected for both of my controllers. MIDI-OX output looks exactly like MIOS studio output.

So there is something wrong when using the MIDIBox controller with Cubase. But what the hell is it?

Try also to desactive MIDI THRU in cubase midi settings…

And if your midibox has regular MIDI and you own a midi interface try with it instead of USB directly.

Note: if your’re connected with usb there’s no running status then Note Off must be received.
Running status is only for regular midi connection(DIN) and MIOS studio marks the Note Off as “optimized” when it’s the case.
 

Disabling MIDI thru in Cubase preferences results in no MIDI input at all.

My controller has no regular MIDI ports to test with, USB only.

Just now, tago said:

Disabling MIDI thru in Cubase preferences results in no MIDI input at all.

Yes this is disabling midi monitoring too, this can’t help.

it seems you’re not alone I found more than 10 threads like this:
https://www.steinberg.net/forums/viewtopic.php?t=117590

Unfortunately I didn’t read any concrete solution.
 

It seems is not an exclusive Cubase problem since NI Absynth in standalone does exactly the same thing (Note On/Off inverted).

Edit:

I’ve tested it on another computer, which also runs Windows 10, using SAVIHost running Synth1 with no issues.

I think i found the culprit.

I’ve changed the USB port and now it works.

Regardless i’d like to know what the underlying problem is. I’ve never encountered such a problem in conjunction with a MIDI keyboard before.

USB midi driver maybe and try all others USB ports.

Oh fine! :wink:

I changed it back to the original USB port and now it works there too.

Maybe the cable was not correctly inserted? But that doesn’t explain why MIDI-OX showed the correct MIDI data all the time.

Very strange.

Thanks for your assistance

You’re welcome, you can mark this topic as [SOLVED] :wink:

Best regards
Bruno

Yeah its kind of solved. I mean the inverted On/Off behaviour is really strange.

I know a guy I used to work with who can’t touch any computer because they hang. Yep it’s strange sometimes :wink:

Radioactive Man :wink: