fixed bug MusicAnalyzer; key changes in ScoreGenerator now affects MusicGenerator