This project has moved and is read-only. For the latest updates, please go here.

No Note-Off events

Topics: Midi
Oct 25, 2011 at 12:41 PM

I'm just getting started and am checking out the VST samples (using various versions including 63199).

I got through the installation and x64 issues - thanks to the forum.

My problem now is that NoteOff messages (0x80) are always being received as NoteOn (0x90), so I'm getting 2 NoteOn's per midi key instead of On / Off.

I saw this in my first (templated) plugin attempt so went back to MidiNoteMapper and MidiNoteSampler (trapping MidiProcessor.Process) and am having the same problem.

Is there anything obvious I can check before re-installing the source ?

Oct 25, 2011 at 1:22 PM

So you load your (templated) plugin into a Host and the host gives you Note-on instead of Note-off midi events...?

You can treat note-on midi events with a velocity of 0 (zero) as a note-off midi event.
This has to do with "running status". Running status is a compacted form of transmitting midi over the wire. It leaves the status byte out if it is the same as the last one and thus cutting down on the amount of data that goes over the wire.

Checkout the midi specs for the full story.

Hope it helps.

Oct 25, 2011 at 3:22 PM

Ah, so much left to learn :)

Thanks for the prompt and quality reply, I'm really enjoying putting programming and music together and VST.NET has made it so much easier.

Better get reading