fix a bug in applySoundPatternRootNoteOnly