Update MusicGenerator.java