Transpose a note or scale degree by semitones steps.
semitones
Notes path: TWELVE_TONES[(noteIndex(note) + semitones) % 12] ScaleDegree path: SCALE_DEGREES[(sdGetIndex(d) + semitones) % 12].normalize(is_flat, is_minor)
Transpose a note or scale degree by
semitonessteps.Notes path: TWELVE_TONES[(noteIndex(note) + semitones) % 12] ScaleDegree path: SCALE_DEGREES[(sdGetIndex(d) + semitones) % 12].normalize(is_flat, is_minor)