i'm working in a midi usb instrument, and i need some help:
is there any way for notes to stop without using note off command? I need that notes sound for a while and then stop without any change in buttons (like a guitar string, it stops after a while). i've seen commands for release, decay and attack, but not for sustain time. Also notes should turn off indepently.
thx for your help.
isn't that a parameter you can set for the sound in your MIDI device ?
i've tried, but it keeps sounding. And after some notes, all of them are still "on" and midi sound goes crazy and i have to press the panic button
is there any way for notes to stop without using note off command?
Yes use the note on command with a velocity of zero.
But that is probably not much help.
A note will naturally decay depending on the nature of the note being synthesised.
There is no way in MIDI to tell a note to be on for a certain time, you have to do this in software somewhere.