I am building a small MIDI composer application, using the Stanford Library. It is almost complete, except for a small problem: sound vanishes after the NoteOn command, but I want notes to keep on playing until I release the button.
With MIDI, you should hear the note continue forever until you send a NoteOff command. If you're hearing a note begin but then fade out (without having sent a NoteOff message), then it might be that the channel is set to an instrument that naturally fades out on its own - like a marimba or steel drum sound.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With