melo
melo copied to clipboard
Messed up MIDI file on some inputs
I just used your music compiler in a fun project to convert Java byte code into music.
While doing so I discovered a small bug. Try playing this file (Warning: it sounds like someone smashed the keyboard)
voice Right {}
play Right
{
:|a' b' c' d' a' b' c' d' a' |f' g' C D f' g' C D f' g' C | g a' b' c' g | b c d e |
}
Deleting any measure from this sequence sounds fine. Adding a tone to the last measure fixes it as well.