From the original SynthMaker forum (2004–2014), with its members’ names and dates.
TheAudiophileDutchman ·
Using the PC keyboard for playing MIDI-notes, I noticed (using the string component) that NOTE OFF messages are coming through correctly.
Using one of my MIDI-keyboards however, no NOTE OFF messages are generated, but the VELOCITY of the NOTE ON is set to 0 instead. This behaviour can be considered as a nice emulation of NOTE OFF, but it's not exactly the same 😉
TheAudiophileDutchman ·
By the way, this behaviour goes for all 4 MIDI-keyboards I have; all with their own separate PC-MIDI-interface.
Tom7777 ·
Good find, this happens for my keyboard also, the events seem to be working fine though as i can play the keyboard in SM just fine, it just seems to be a problem with the strings.
NothanUmber ·
Hm, here the "PC keyboard" mode of the midi in module produces "note off" events if I release the key... But if you use a real midi keyboard the behaviour you described is not uncommon as the midi standard is a little bit ambiguous in that regard: Using note on events with a velocity value of 0 instead of note off events is also a valid defined variant - and that's what several hardware is actually doing. So in order to be sure that you handle all kinds of midi hardware correctly just put a converter after the midi in module that converts note on events with a velocity of 0 to note off events (just use the midi split and midi event modules, look at the status (144 for note on and 128 for note off) that comes out of the splitter and the velocity (available at the data 2 output of the split component) and generate the appropriate events with the midi event module.
Greetings,
NothanUmber
P.S.: Misinterpreted you first post, you actually didn't complain about the "PC Keyboard" so please ignore that part 🙂
TheAudiophileDutchman ·
Thanks for the explanation, learning all the time.
The SM forum is great 😍 😀
JIftw ·
Wow, thanks also for the explanation, I finally understand why one of my synth's function would not work with my friend's MIDI keyboard.
Off topic:
What's strange though is that in my synth, I programmed the sustain pedal to hold Off events (status 128) in a buffer... so in theory it should not work with that keyboard, since it never sends 128. But the pedal does work. So I guess the keyboard processes the pedal internally (something like buffering vel=0 messages while pedal is on) ?
EDIT: BTW, I believe the spec mentions a release velocity... such a parameter is unavailable with those non-standard keyboards.
5 year old thread... lol
Wrote something here? To have a post removed or your name hidden, write to [email protected].