Functions and rules

How to write a chord's function in a chart, the scale every function gets in any key, and the rules the app follows to choose a scale. If you think a scale is wrong, the last section says how to tell me.

Writing a function

A chart row may end with the chord's function, after the scale: 5 | A7 | | V7/ii. Leave the scale cell blank and the scale follows the function, at the level the sheet is set to; a scale written in the cell is played as written instead. The function is read as:

[Key:] [(] [sub] [♭|♯] NUMERAL [quality] [/ [♭|♯] NUMERAL] [)]
  • The numeral counts from the row's key area, or from the key before a colon: Eb: V7/ii.
  • Case follows the chord family: upper case for major, dominant and sus; lower case for minor, half-diminished and diminished. The editor corrects the case, but rejects a major quality on a lower-case numeral.
  • sub (a tritone substitute) goes only on a dominant: subV7, subV7/ii.
  • After the slash comes the chord it leads to, as a degree of the key: V7/ii, iiø7/vi, ♯iv°7/V.
  • Degrees count from the tonic as in a major key, in minor keys too: ♭III in C minor is E♭.
  • (V7/ii): a dominant that doesn’t resolve as expected; the scale is the same. The sheet prints the parentheses.
  • Berklee spellings read too: II-7, VII-7(♭5), V7(sus4), SubV7/ii, I∆7 (Δ or ∆), B♭: V7/ii.

Qualities

FamilyWritten on the sheetAccepted spellings
major66
majornothing (a triad)nothing
majormaj7maj7Maj7M7maj
majormaj7♯5maj7#5
major++aug
dominant77
minor66m6-6
minor77m7-7
minornothing (a triad)nothingm-
minor(maj7)(maj7)mMaj7-(maj7)-Maj7
half-diminishedø7ø7øm7b5m7(b5)-7b5-7(b5)
diminished°7o7odim7
sus7sus47sus47(sus4)7sussus4sus

When a function won't read

WrittenThe editor saysMeaning
H: V7"H" isn't a key (Eb, Cm)The text before the colon has to be a key.
V7/x"V7/x" isn't a function (V7/ii, subV7, ii7/V, ♭VII7, IVmaj7)It doesn’t follow the pattern above.
subii7sub only goes on a dominant (subV7)A tritone substitute is a dominant: subV7, subV7/ii.
iimaj7iimaj7: a major quality on a lower-case numeralA lower-case numeral is a minor-family chord; a major chord takes an upper-case one (IImaj7).

A function settles the numeral and the key the rules reason in. It doesn't change the chord: the chord symbol, its labels and the practice presets still read the chord as written. With the scale cell blank, the function decides the scale; on a dominant the rules still choose the tensions from the key, so a function is usually better than picking the scale yourself: transpose the chart, or change the level, and the scale still fits.

Functions and their scales

Each row is a one-chord chart run through the same analysis the sheets use: the chord the function puts in the key, the scale the rules give it, the rule that decided and why. Where the rules can only guess, the rule is marked (guess), and the note on the sheet says “a guess — an @key or a function would settle it”. In a real chart the chords around a chord can settle what one chord on its own leaves open.

Diatonic

FunctionChordScaleRuleWhy
Imaj7CMaj7C IonianM3tonic: the 4th is in the key
ii7Dm7D Dorianm4ii of the ii–V to C
iii7Em7E Phrygianm9iii: Phrygian, the key's own notes (the ♭2 is a passing note)
IVmaj7FMaj7F LydianM4IV: the ♯4 is the key’s 7th
V7G7G MixolydianD4V7 of C: natural tensions
vi7Am7A Aeolianm7vi: Aeolian, the key's own notes (the ♭6 is a passing note)
viiø7Bm7♭5B Locrianh2 (guess)viiø7 in C: Locrian, the key's own notes (its ♭2 is a passing note)

Secondary

FunctionChordScaleRuleWhy
V7/iiA7A Mixolydian ♭6D4V7/ii in C: the ♭13 is in the key
iiø7/iiEm7♭5E Locrianh2iiø7 of D minor: Locrian, the key's own notes (its ♭2 is a passing note)
V7/iiiB7B Phrygian DominantD4V7/iii in C: ♭9 and ♭13 are in the key
iiø7/iiiF♯m7♭5F♯ Locrianh2iiø7 of E minor: Locrian, the key's own notes (its ♭2 is a passing note)
V7/IVC7C MixolydianD4V7/IV in C: natural tensions
ii7/IVGm7G Dorianm4ii of the ii–V to F
V7/VD7D MixolydianD4V7/V in C: natural tensions
ii7/VAm7A Dorianm4ii of the ii–V to G
V7/viE7E Phrygian DominantD4V7/vi in C: ♭9 and ♭13 are in the key
iiø7/viBm7♭5B Locrianh2iiø7 of A minor: Locrian, the key's own notes (its ♭2 is a passing note)

Substitutes and borrowings

FunctionChordScaleRuleWhy
subV7D♭7D♭ Lydian DominantD2tritone substitute: resolves down a half step to C
subV7/iiE♭7E♭ Lydian DominantD2tritone substitute: resolves down a half step to Dm
subV7/iiiF7F Lydian DominantD2tritone substitute: resolves down a half step to Em
subV7/IVG♭7G♭ Lydian DominantD2tritone substitute: resolves down a half step to F
subV7/VA♭7A♭ Lydian DominantD2tritone substitute: resolves down a half step to G
subV7/viB♭7B♭ Lydian DominantD2tritone substitute: resolves down a half step to Am
♭VII7B♭7B♭ Lydian DominantD5back door ♭VII7 to C: the ♯11 is in the key
♭VImaj7A♭Maj7A♭ LydianM4♭VImaj7, borrowed from C minor: Lydian (its ♯11 is in the key)
♭IIImaj7E♭Maj7E♭ LydianM4♭IIImaj7, borrowed from C minor: Lydian (its ♯11 is in the key)
♭IImaj7D♭Maj7D♭ LydianM4♭IImaj7, borrowed from C Phrygian: Lydian (its ♯11 is in the key)
IV7F7F Lydian DominantD5 (guess)IV7 in C, not resolving: the ♯11 is in the key
I7C7C MixolydianD5 (guess)I7 in C, not resolving: natural tensions
♯iv°7F♯dim7F♯ Whole-Half Diminishedd1auxiliary diminished: it decorates the chord and returns to it; not functioning diatonically: the symmetric scale
vii°7/iiC♯dim7C♯ Diatonic Diminishedd1vii°7 of Dm: A7♭9 without its root
vii°7/iiiD♯dim7D♯ Diatonic Diminishedd1vii°7 of Em: B7♭9 without its root
vii°7/IVEdim7E Diatonic Diminishedd1vii°7 of F: C7♭9 without its root
vii°7/VF♯dim7F♯ Diatonic Diminishedd1vii°7 of G: D7♭9 without its root
vii°7/viG♯dim7G♯ Diatonic Diminishedd1vii°7 of Am: E7♭9 without its root
V7sus4G7sus4G Mixolydians2V7sus4 resolving down a fifth: Mixolydian, the 4th is a chord tone here

Chromatic

FunctionChordScaleRuleWhy
♭vi7A♭m7A♭ Dorianm8 (guess)a borrowed minor chord: Dorian, its own key
♯ivø7F♯m7♭5F♯ Locrianh2 (guess)♯ivø7 in C: Locrian, its own mode (the chord is outside the key)
♭iii°7E♭dim7E♭ Diatonic Diminished ♭IIId1 (guess)passing diminished: a rootless dominant ♭9
II7D7D MixolydianD5 (guess)II7 in C, not resolving: natural tensions
♯IV7F♯7F♯ Lydian DominantD6 (guess)a chromatic dominant with nowhere to go: Lydian Dominant, its own key

How the engine chooses a scale

Each chord family has its own rules, tried in the order listed below; the first that applies decides. They are grouped here by what they look at, from the chord symbol alone to the chords around it.

The chord symbol alone

RuleFamilyScaleLooks atWhat it does
D1dominantfrom the symbol (Altered for alt)the tensions written in the symbolAn alt dominant is Altered; written tensions (♭9, ♯9, ♯11, ♭13) override any other rule’s, shown as D1+ before that rule when they change its scale.
M1majorLydiana ♯11 in the symbolA maj7♯11, or a triad with a ♯11 (B♭(♯11)), is Lydian.
M2majorLydian Augmenteda ♯5 in the symbolA maj7♯5 is Lydian Augmented; an augmented triad, Whole Tone.
m1minorMelodic Minora major 7th in the symbolA minor-major 7th is Melodic Minor.
m3minorAeoliana ♭6 or ♭13 in the symbolA minor chord with a written ♭6 or ♭13 is Aeolian.
s1susPhrygiana ♭9 in the symbolA sus ♭9 is Phrygian.

The chart’s mode

RuleFamilyScaleLooks atWhat it does
M5majorLydiana modal chartA major chord in a modal chart is Lydian.
M6majorMixolydiana blues: a major triad or 6 chord on I, IV or VIn a blues a triad on I, IV or V implies its ♭7: Mixolydian (a maj7 says otherwise, and keeps the major rules); at Basic, the key’s Blues scale.
m6minorDoriana modal chartA minor chord in a modal chart is Dorian.
m10minorDoriana minor blues: the i or iv (triad, m7 or m6)In a minor blues the i and iv are Dorian; at Basic, the key’s Blues scale.
s4susMixolydiana blues: a sus chord on I, IV or VIn a blues a sus chord on I, IV or V is Mixolydian; at Basic, the key’s Blues scale.

The chord’s degree in its key

RuleFamilyScaleLooks atWhat it does
D7dominantMixolydiana modal chart, or a dominant that resolves nowhere and is held four bars or moreA static or modal dominant is its own mode: Mixolydian.
D5dominantderived from the keyits degree: the back door, or a diatonic dominantA dominant a whole step below a major chord (the back door, ♭VII7), or a diatonic dominant that does not resolve, takes its tensions from the key. A guess when: a diatonic dominant that does not resolve.
D9dominantMixolydiana blues: its degree, the I7, IV7 or V7 (before the chords around it), and for the V7 the chord before itIn a blues the I7 (a tonic with dominant color), the IV7 and the V7 are Mixolydian, unless a ii before the V7 makes it a ii–V; at Basic they play the key’s Blues scale. A minor blues’ V7 keeps the minor key’s rules.
M3majorIonian (Mixolydian for a V triad)its degree: the tonic, ♭III or ♭VII in a minor key, a V triad, or IV after its own dominantThe tonic major chord (or ♭III, the relative major, in a minor key) is Ionian; so is ♭VII of a minor key, the notes of the tonic’s Dorian, and a IV reached by its own dominant (V7/IV, or subV7/IV a half step above), the key of the moment; a V triad without its 7th is Mixolydian.
M4majorLydianits degree: any other major chordAny other major chord is Lydian (♭VI of a minor key among them; on a IV not reached by its own dominant, the ♯4 is the key’s 7th; on ♭II, ♭III, ♭VI or ♭VII of a major key, borrowed by modal interchange, its ♯11 is in the key).
m2minorMelodic Minor or Doriana 6 in the symbol, and its degree: the tonic of a minor keyA minor sixth chord on the tonic of a minor key is Melodic Minor, the raised 7th a tension; any other (iv6, ii6, or any in a modal chart) is Dorian.
m5minorDorianits degree: the tonic of a minor keyThe tonic minor chord of a minor key is Dorian, by convention.
m9minorPhrygianits degree: iii in a major key, also as the ii of the next dominantiii in a major key is Phrygian, the key’s own notes (the ♭2 is a passing note); Dorian at Advanced.
m7minorDorian, Aeolian or Phrygianits degree: another diatonic minor chordA diatonic minor chord takes the key’s own notes: vi of a major key Aeolian, v of a minor key Phrygian, any other Dorian.

The chords around it

RuleFamilyScaleLooks atWhat it does
D2dominantLydian Dominantthe next chord, a half step down (not a ø7 or °7)A tritone substitute resolves down a half step: Lydian Dominant.
D8dominantderived from the minor keya chain of dominants that ends on a minor chord, or its last linkAn extended dominant on its way into a minor key, or the last link of the chain, takes its tensions from that key. A link into the key’s own V7 is V7/V, the links before it arrows.
D3dominantMixolydianthe next chord, another dominant a fifth downAn extended dominant (V7 of another V7) keeps natural tensions: Mixolydian (a blues I7 before its IV7 is not one: D9). A link into the key’s own V7 is V7/V (the dominant of the dominant), the links before it arrows; a chain that never reaches the key’s V7 keeps each chord’s own degree.
D4dominantderived from the keythe chord it resolves to, a fifth down; the major or minor chord before it that it is the V of; or the ii before itA resolving dominant takes each tension (9, 11, 13) in the form the key holds.
D6dominantLydian Dominanta non-diatonic dominant with nowhere to goA non-diatonic dominant that does not resolve is Lydian Dominant: in a major key, ♭VII7, ♭VI7 or ♭III7 borrowed from the parallel minor; any other, a chromatic dominant in its own key. A guess when: a chromatic dominant (not ♭VII7, ♭VI7 or ♭III7 in a major key).
m4minorDorianthe next chord, a dominant a fourth upThe ii of a ii–V is Dorian (a diatonic iii keeps its Phrygian, m9).
h2half-diminishedLocrianthe next chord, a dominant a fourth upA half-diminished chord is Locrian (Locrian ♮2 at Advanced), in a modal chart too; with a dominant after it, it is the iiø7 of that minor ii–V; without one, iiø7 in a major key is borrowed from the parallel minor. A guess when: no related dominant follows (but iiø7 in a major key).
d1diminishedDiatonic Diminished, or Whole-Half Diminishedthe next chord (its root or bass), and its degree in the keyA diminished seventh chord takes the diatonic diminished scale of its function: a vii°7 leading up a half step (to the next chord’s root or bass: ♯II°7 to I/3), the V7♭9♯9♭13 of the chord it leads to, from its own root; in a major key, ♯IV°7 to I (over its 5th or not), the ♯II°7’s notes; a passing ♭III°7 or ♭VI°7 or an auxiliary I°7 or V°7 (one that returns to a chord on its own root), its chord tones plus the key’s notes. Any other is not functioning diatonically: Whole-Half Diminished, the symmetric scale. Whole-Half at Basic and Advanced. A guess when: a passing diminished chord.
s2susMixolydian or Mixolydian ♭6the next chord, a fifth down (in a chart that is not modal, held under four bars)A resolving sus takes its 13 from the key: Mixolydian, or Mixolydian ♭6 when the key holds the ♭13.
s3susMixolydianno resolution: a modal chart, a sus held four bars or more, or none that falls a fifth; or, outside a modal chart, the dominant on its own root nextA static sus is Mixolydian; so is a sus before its dominant on the same root, a subdominant suspension (its 4th a chord tone).

A guess

RuleFamilyScaleLooks atWhat it does
m8minorDoriana minor chord the key does not holdA borrowed or chromatic minor chord is Dorian, its own key; iv in a major key is the minor iv, borrowed from the parallel minor. A guess when: always (but iv in a major key).

The order each family tries

Dominants

A dominant's scale is named by three tension slots: the 9th (9, ♭9, or ♭9 and ♯9 together), the 11th (11 or ♯11) and the 13th (13 or ♭13). A rule that derives them (D4, D5, D8) reads each slot from the key's own scale: major in a major key, natural minor in a minor key, harmonic minor for the minor key's own V7. It takes the altered form only when the key holds it and not the natural one. Tensions written in the symbol (G7b9, 7#11, alt) fill their slots over the rule's, and the rule id says so: G7b9 going to C in C major is D1+D4, G Half-Whole Diminished. The slots name the scale:

9th11th13thScale
91113Mixolydian
911♭13Mixolydian ♭6
9♯1113Lydian Dominant
9♯11♭13Whole Tone
♭91113Half-Whole Diminished
♭911♭13Phrygian Dominant
♭9♯1113Half-Whole Diminished
♭9♯11♭13Altered
♭9 ♯91113Spanish Phrygian
♭9 ♯911♭13Spanish Phrygian
♭9 ♯9♯1113Half-Whole Diminished
♭9 ♯9♯11♭13Altered

Reporting a disagreement

The rules are a starting point, and a tune can know better. If a scale looks wrong to you, send:

  • the chart row: the chord, its function and its key area;
  • the scale shown;
  • the rule id;
  • the scale you expected, and why: a melody note, a recording, a book.

On the Changes sheet, click a chord's numeral or scale to see why it was chosen; Report issue in that note copies exactly this: the chord's bar, and a link to the chart unless it's a library chart you haven't edited. Paste it into the contact form or a new GitHub issue, and fill in what you expected.