@libraz/libcantus - v1.1.0
    Preparing search index...

    Function scaleLadderPitch

    • The pitch a rung of the key's ladder of scale tones stands for.

      The inverse of scaleLadderPosition's rung: adding the position's offset back to the result returns the pitch it came from.

      Layer-internal, like scaleLadderPosition.

      Parameters

      • rung: number

        Scale tones counted from the tonic, negative below it.

      • key: KeyLike

        The key/scale to count along, as a key name, a key/scale, or a Key.

      Returns number

      The MIDI pitch of that scale tone.