Send note-offs for hanging note-ons in raw MIDI data
midiflush analyzes a MIDI stream (from midiin or seq), counting the number of note-ons received for each note and MIDI channel. When it is sent a , MIDI note-off messages are sent for any notes which haven't been turned off. This is useful in conjunction with seq, which doesn't turn its notes off when it receives the message. At all times, midiflush echoes its input to output.
|| When midiflush receives a , it outputs MIDI note-off messages for all note-ons which have not been matched by note-offs since the object was created (or the last message was sent).
|| Raw MIDI data from a source such as seq or midiin will be passed through unchanged, while the object observes which note-on messages on each channel have not received matching note-off messages.
|| Erases any note-ons held by midiflush, without sending any note-offs.
When midiflush receives a bang it supplies note-offs for any held note-ons