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

    Function augmentedSixthKind

    • Identify a chord as one of the augmented sixths, or null when it is none.

      A chord qualifies when it sounds the lowered submediant of key in the bass, its pitch classes are exactly one of the three sets built over that bass, and its own letters spell the augmented sixth above it. All three are needed: the same pitch classes over the same bass are an ordinary bVI7 when the tone ten semitones above the bass is written as a minor seventh, and the letters are the only place that distinction lives.

      A chord naming no bassPc sounds its root lowest, which is how the two conventions for that field — the sounding bass always, or only a bass that differs from the root — are read alike here.

      The root the chord is measured from is not consulted, so a chord voiced or rebuilt around any of its own tones still identifies as long as it keeps its spelling.

      Parameters

      • chord: ChordLike

        The chord to test, as a chord symbol, chord data, or a Chord.

      • key: KeyLike

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

      Returns AugmentedSixthKind | null

      The kind of augmented sixth, or null.

      augmentedSixthFromPitchClasses to make the reading from pitch classes that carry no spelling at all.

      import { augmentedSixthKind, majorKey, romanToChord } from '@libraz/libcantus';
      augmentedSixthKind(romanToChord('Fr6', majorKey(0)), majorKey(0)); // 'french'