Universal Music Theory Library - v0.12.0
    Preparing search index...

    Function get12TETName

    • Returns the full note name with octave for a step offset from A4 in 12-TET.

      Parameters

      • stepsFromA4: number

        Integer semitone offset from A4 (A4 = 0, C4 = -9).

      • preferFlats: boolean = false

        If true, uses flat spelling (e.g. Bb instead of A#).

      Returns string

      Note name with octave, e.g. "C4", "Bb3".