@tonalis/music-dsl
    Preparing search index...

    Function modulate

    • Transpose a note or scale degree by semitones steps.

      Notes path: TWELVE_TONES[(noteIndex(note) + semitones) % 12] ScaleDegree path: SCALE_DEGREES[(sdGetIndex(d) + semitones) % 12].normalize(is_flat, is_minor)

      Parameters

      • semitones: number
      • note: string

      Returns string