Fix a few bugs (forgot local for variables in functions)
Add (buggy) code to clear the song
Reduce the number of possible notes to compute faster (for debugging)