fixed new Single Note Melody Generation