adjusting note positions and integrating music