Fix the Beats is an app that automatically arranges the notes in a MIDI file within the range of your instrument. Its default mode is for the 30 note music box in F scale. It even annotates the MIDI file, so that you can review the changes in a score writer software!
Here are some interesting links in text format, as it gave "suspicious link" if I entered them normally: You can find the app at the following link: triple "w" (dot) speakthebeats (dot) com/FixTheBeats/ Here is an instructions video on YouTube: triple "w" (dot) youtube (dot) com/watch?v=O4FZk1XRNpc
The audio track in the video was created using Fix the Beats. It is based on The Well-Tempered Clavier, Prelude 2 by J. S. Bach, arranged for playing on a 30 note music box in F scale.