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

    Function isLeadingToneResolution

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

      Parameters

      • prev: NoteData

        The leading-tone note.

      • cur: NoteData

        The following note.

      • key: KeyLike

        Key context supplying the tonic.

      Returns boolean

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

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

      Parameters

      • prev: number

        The leading-tone note.

      • cur: number

        The following note.

      • key: KeyLike

        Key context supplying the tonic.

      Returns boolean

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