With MIDI, you should hear the note forever until you send the NoteOff command. If you hear a note, but then disappear (without sending a NoteOff message), the channel may be set to an instrument that naturally disappears on its own - like the sound of a marimba or a steel drum.
source
share