Hacker News new | ask | show | jobs
by n-gauge 2102 days ago
I created a midi piano in the browser for a Roland EP7 IIe that sent midi note off in a weird way - causing double notes , it would send the same note but with just the velocity information changed to 0, which most midi software didn't like.

https://htmlgames.github.io/htmlgames.github.io/htmlgames/PF...

So I just held the notes in an array and used that for note on/off information instead.

2 comments

Sending a noteOn with 0 velocity instead of noteOff is surprisingly common among MIDI keyboard implementations, so Im surprised that a lot of software wasn't handling it well.
It's not just common, it is part of the MIDI specification and deliberately done that way to allow running status, an optimization that was important in the days of (true) serial MIDI.
Which midi software did not like that? It is so common I build support for that into all my midi projects, so I'm kind of curious who would not support it and why.