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

    Function writtenRoot

    • The written root of a symbol ("Cb" from "Cbmaj7", "E#" from "E# major") when it names the pitch of stepsFromA4 in 12-TET; otherwise null.

      Parameters

      • symbol: string
      • stepsFromA4: number

      Returns string | null