getNoteIndices(): remove duplicate initialization of alignedNoteIndices