You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One way is obviously to try to delay the NOTE_OFF by an amount of time. If you look at a MIDI file, you'll see that each note is made up of two events, at different times.
Another way is to send in the NOTE_OFF immediately after the NOTE_ON, but with a timestamp for the time that you want it to end. However, I couldn't get this working myself.
How do I play the note if I know its duration? Not NOTE_ON, NOTE_OFF
The text was updated successfully, but these errors were encountered: