You could likely write one using midicomp which does bidirectional "compilation" between SMF and text. "Decompile" to text, use regular unix text tools to test and fix, "recompile" back to SMF.

On Tue, Oct 17, 2023 at 2:34 PM Peter P. <peterparker@fastmail.com> wrote:
Hi list,

I am looking for a program (ideally on the command line) that allows me
to check for identical notes being retriggered before they have been
turned off. In addition I wonder if such a tool could then correct note
lengths to prevent this case?

In addition, is there a similar tool for checking and repairing missing
note-off events (hanging notes) within a midi file?

I think I have checked all on this list
https://wiki.linuxaudio.org/apps/categories/midi_software
but so far no solution found.

Thanks for any ideas!
Peter
_______________________________________________
Linux-audio-user mailing list -- linux-audio-user@lists.linuxaudio.org
To unsubscribe send an email to linux-audio-user-leave@lists.linuxaudio.org