Extract Standard MIDI file (.mid) from RIFF MIDI (RMID) file (.rmi or .mid).
This is a simple tool to extract minimal RMID chunk from RIFF file (usually with extension .rmi or .mid) and write MIDI data to an independent .mid file.
I wrote this because my favorite MIDI player cannot read RIFF MIDI songs I collected many years ago.
python3 rmi2mid.py <.rmi or .mid> <.mid>
python3 -m rmi2mid <.rmi or .mid> <.mid>
Currently an RIFF file with (nested) LIST chunks is not supported.