@libraz/libcantus - v0.9.3
    Preparing search index...

    Function isLeadingToneResolution

    • Whether a leading tone resolves correctly upward to the tonic.

      Parameters

      • prev: number

        The leading-tone pitch.

      • cur: number

        The following pitch.

      • key: KeyScale

        Key context supplying the tonic.

      Returns boolean

      True when prev is the leading tone and cur is the tonic a step above.