Python script to clean up a MIDI file converted from an audio recording of solo voice.