Renamed noteLenghts to durations, getNoteLength to getDuration