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

    Function getFretboardScale

    • Maps all scale note positions across the full neck. Each string entry is an array of fret numbers (0–maxFret) where a scale note appears.

      Parameters

      • scale: Scale

        The scale to map.

      • tuning: readonly number[]

        Open string steps from A4, low→high, in steps of the scale's tuning (one fret per step). The exported presets are 12-TET: for a scale of another tuning on a 12-TET instrument, pass scale.retune(TET12).

      • Optionaloptions: FretboardVoicingOptions

        maxFret controls how far up the neck to scan (default 12).

      Returns FretboardScaleResult

      A single result with all scale positions across the neck.