Changed notes to be notesPerBeat