[2.1.36] Midi unexpected AllNoteOff and split problem

I have a cubase project that I exported to VST Live.
The Midi track controls lights via QLC+. At some points (e.g. 61.1) I noticed that the first notes are all immediately switched off and not held to their correct duration.
This is the preview in the MIDI window


This is the output in the MIDI monitor:

0x90 Note On 		  26  100 	 (26: D  0) 		 MME Midi
0x90 Note On 		  20  100 	 (20: G# -1) 		 MME Midi
0x90 Note On 		  16  100 	 (16: E  -1) 		 MME Midi
0x90 Note On 		  12  100 	 (12: C  -1) 		 MME Midi
0x90 Note On 		  10  100 	 (10: A# -2) 		 MME Midi
0x90 Note On 		   2   21 	 (2: D  -2) 		 MME Midi
0x80 Note Off 		  26    0 	 (26: D  0) 		 MME Midi
0x80 Note Off 		  20    0 	 (20: G# -1) 		 MME Midi
0x80 Note Off 		  16    0 	 (16: E  -1) 		 MME Midi
0x80 Note Off 		  12    0 	 (12: C  -1) 		 MME Midi
0x80 Note Off 		  10    0 	 (10: A# -2) 		 MME Midi
0x80 Note Off 		   2    0 	 (2: D  -2) 		 MME Midi
0xb0 Controller 		 123    0 	 (AllNoteOff) 	 MME Midi
0x80 Note Off 		  20  100 	 (20: G# -1) 		 MME Midi
0x80 Note Off 		  16  100 	 (16: E  -1) 		 MME Midi
0x80 Note Off 		  12  100 	 (12: C  -1) 		 MME Midi
0x90 Note On 		  20  100 	 (20: G# -1) 		 MME Midi
0x90 Note On 		  16  100 	 (16: E  -1) 		 MME Midi
0x90 Note On 		  12  100 	 (12: C  -1) 		 MME Midi
0x80 Note Off 		  20  100 	 (20: G# -1) 		 MME Midi
0x80 Note Off 		  16  100 	 (16: E  -1) 		 MME Midi
0x80 Note Off 		  12  100 	 (12: C  -1) 		 MME Midi
0xb0 Controller 		 123    0 	 (AllNoteOff) 	 MME Midi

I can confirm, from the lights I see, that D0 is immediately switched off, even though it should have been held for longer. I also noticed a suspicious

0xb0 Controller 		 123    0 	 (AllNoteOff) 	 MME Midi

which I did not program anywhere.

When investigating the Midi further I also noticed a weird split behaviour. Splitting right at 61.1, turns this:


into this:

So the notes that I noticed to be too short are now completely gone in the preview and editor:

Project attached:
midi_bug.vlprj (92,1 KB)

Hi @heavy-matill,

… if you stop the Transport a “AllNoteOff” MIDI Event message will be sent.

… I guess those “long” events do not start at 6.1.1, I guess a bit earlier. Then VST Live will cut those notes.

… please use the “Menu / File / Save Archive…”. Because with a “*.vlproj” project only, all assets (like MIDI clips) are not available.

Thank you,
Michael.

Correct, however the monitor shows AllNoteOff twice. The last one is me stopping, the one before is the problem.

According to VST midi editor, they start exactly at 61.1.1.0


here the archive export zipped:
midi_bug.zip (125,4 KB)

I noticed further more, that it is independent from the midi that is programmed there. If i remove the midi and play from e.g. 60 to 62, right when we hit 61, nothing happens (obviously because there is no midi there).
But even if I place an empty track inbetween there:


the monitor shows a single occurence of AllMidiOff right when passing 61:

One more thing. If i export the midi-only as file from cubase:
export.mid (28,5 KB)
and import it to VST Live, dont have a problem splitting it.

Hi @heavy-matill,

… I cannot reproduce it. I splitted the MIDI-Clip at 61.1.1 with SNAP=ON.

… if I disabled the SNAP control and split then the clip at 61.1.2, I’ll get your result. But that is expected. Maybe you miss to enable the SNAP control?

/Michael.

Hi,

I’ve loaded this project. There we have the “Lights” MIDI Track. Change the OUTPUT Port to “VM Out 8”.

Open the MIDI Monitor and select the INPUT Port to “VM In 8”.

Now run the Transport from 60.1. I don’t see any (AllNoteOff) Event. You? What happens here? The Track will send all its events to “VM Out 8” which is connect to “VM In 8” and we see the message in the MIDI Monitor.

Your MIDI Monitor is listening to a MME Midi Device. Which one? So it shows the incoming events from that device? I guess the (AllNoteOff) event comes from a connected external device?

See you,
Michael.