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

    Function secondaryDominant

    • The secondary dominant (V7) that tonicizes a scale degree.

      Parameters

      • targetDegree: number

        1-based scale degree to tonicize: 5 is the dominant, so secondaryDominant(5, majorKey(0)) is the V of V.

      • key: KeyLike

        The prevailing key, as a key name, a key/scale, or a Key.

      Returns ChordData

      A dominant-seventh chord a fifth above the target's root.

      If targetDegree is not an integer naming a degree in key.

      secondaryDominantOf to tonicize a chord that has no degree in the key, or when no key is at hand.