home/ modules/ chords-and-diatonic-harmony

Chords, Diatonic Harmony and Voicing

  • learner can build triads, seventh chords and extensions and invert them
  • learner can derive the diatonic chord set of a key and voice a progression with good voice leading
  • learner can voice chords with octave doubling, spacing, parallel motion and inversions for a target sound

Write and voice an 8-bar chord progression in a chosen key: use diatonic triads and at least two seventh/extended chords, apply inversions and octave-displaced voice leading so the top line is nearly stepwise, and render it as a playable pad.

This module builds toward the bread-and-butter task of a live coder or electronic producer: writing an 8-bar pad progression that sounds intentional rather than block-chorded. In a deep house or ambient set, the pad is the harmonic bed everything else sits on — and what separates a warm, flowing pad from a stiff one is not the chord names but the voicing: which note is on top, how the voices move between changes, and where the sevenths and extensions sit.

The arc starts fully supported. You begin by drilling raw material to automaticity — stacking thirds into major, minor, diminished and augmented triads, then extending them with sevenths (the semitone rules for each type are your JIT reference). Next you derive the full diatonic chord set of your chosen key, so every chord choice in the capstone comes from a closed, functional system rather than guesswork. The middle exercises are guided voicing studies: re-spelling a fixed progression through inversions, then applying octave displacement so the top voice steps rather than leaps — the “melody emerging from the chords” move. The capstone strips the scaffolding: you pick the key, the progression, and the voicing strategy, and render the result as a playable pad.

Every required atom gates that outcome: you cannot voice a stepwise top line without inversion and voice-leading concepts, cannot pick chords without the diatonic set (major and minor), and cannot meet the seventh/extended requirement without the construction rules; parallel harmony gives you the deliberate contrast case for the target sound. Supporting atoms enrich rather than gate — minor-ninth colour, deep house’s seventh-chord idiom, mix-friendly chord reduction, and arpeggiation as an alternative presentation of the same harmony.

Runnable examples

Generated from the context/ instrument corpus by concept (redistributable idioms only). Do not edit — regenerate with gen-module-examples.mjs.

drone

osc 55 >> audio

punctual-0001 · CC0-1.0

SinOsc s => dac;

chuck-0001 · MIT

chord-stab

chord("<Cm7 Fm7>").voicing()

strudel-0010 · CC0

~stab: mix ~n1 ~n2 ~n3 >> mul ~env

glicol-0015 · MIT

arpeggio

n("0 2 4").scale("c:minor").arp("up")

strudel-0012 · CC0

d1 $ arp "up" $ n "c'min7" # sound "superpiano"

tidal-0012 · CC0

scale-constraint

n("0 2 4 6").scale("c:minor")

strudel-0009 · CC0

play (scale :c4, :minor).tick; sleep 0.25

sonicpi-0012 · CC0

chord-progression

play_chord progression.tick, release: 4, amp: 0.5; sleep 4

sonicpi-0017 · CC0

Pbind(\degree, Pseq([[0, 2, 4], [3, 5, 7], [4, 6, 8], [0, 2, 4]], 1), \dur, 2).play

supercollider-0031 · CC0

motif-development

d1 $ n (run 8) # sound "arpy" # room 0.3

tidal-0043 · CC0

play (scale :e3, :minor_pentatonic).tick + (ring 0, 12, 7).look; sleep 0.25

sonicpi-0021 · CC0

chord-extension

[60,63,67,70] @=> int ch[]; SawOsc s => ADSR e => dac; e.set(2::ms,120::ms,0,2::ms);
for(0=>int i;i<ch.size();i++){ Std.mtof(ch[i]) => s.freq; e.keyOn(); 150::ms => now; }

chuck-0035 · MIT

Atoms in this module

Required — these gate the capstone

A chord is multiple pitches sounded at the same time
Fact L1 Foundations A
A major triad = root + major third (4 semitones) + minor third (3 semitones); minor triad reverses the third order
Principle L1 Foundations A
Diminished triads (3+3 semitones) and augmented triads (4+4 semitones) are the two unstable triad types outside major and minor
Concept L2 First instrument A
A chord is in root position when the root is in the bass; first and second inversions place the third or fifth in the bass
Concept L2 First instrument A
Every major key contains 7 diatonic triads: I, IV, V are major; ii, iii, vi are minor; vii is diminished
Fact L1 Foundations A
In a minor key, all three primary triads (i, iv, v) are minor, giving the minor tonality its characteristic mellow, introspective mood
Fact L1 Foundations A
Diatonic triads built on each scale degree provide a closed system of chords that generate functional progressions
Concept L2 First instrument A
A 7th chord adds the 7th scale degree to a triad — major7 chords include the natural 7th, minor7 chords include the flattened 7th
Concept L1 Foundations AF
Seventh chords add a 7th above the triad root; major sevenths (maj7) have 11 semitones, minor sevenths (7) have 10
Fact L2 First instrument A
Extended chords stack successive thirds above the seventh, and the thirteenth uses all seven scale degrees
Concept L3 Craft A
Octave doubling enriches chords by repeating root and fifth across registers; open vs. closed spacing changes density
Concept L2 First instrument AB
Moving chord tones across octaves (octave displacement) improves voice leading and creates stepwise melodies from otherwise static chords
Concept L2 First instrument AF
Parallel harmony transposes a fixed voicing by the same interval for each chord, producing the signature sound of house and electronic music
Concept L3 Craft AF
Smooth voice leading keeps each chord voice moving by the smallest interval possible between successive chords
Principle L3 Craft A
Minimising voice movement between chords through inversions creates smoother, more playable progressions
Concept L3 Craft A

Supporting — enrichment, not gating

Minor ninth chords (m9) add a major ninth above a minor-seventh chord, producing a beautiful mellow sound used in deep house and ambient
Concept L3 Craft AF
Arpeggiation breaks chord notes into a melodic sequence, creating motion within a static harmonic field
Concept L2 First instrument AF
Deep house's characteristic harmonic sound comes from jazz-influenced minor7 and major7 chords rather than simpler triads
Fact L1 Foundations AO
Removing chord tones while always keeping the 7th makes deep house progressions cleaner in the mix without losing their harmonic character
Principle L2 First instrument AD
A triad stacks root, third, and fifth of a scale degree; its quality is set by the semitone intervals
Concept L1 Foundations AF
7th extensions are the most useful chord color in electronic music; minor-7 and major-9 define the deep-house/dub-techno pad sound
Fact L2 First instrument AF
Close voicings (within one octave) are dense and mid-heavy; open voicings (spread across octaves) are spacious with a cleaner low end
Concept L2 First instrument AF
True voice-leading (guaranteed minimal motion) requires explicit note lists; Strudel's voicing() is only a heuristic
Misconception L2 First instrument AF
A chord-stab sounds all tones together with a tight envelope; an arpeggio plays them sequentially, turning harmony into rhythm
Concept L2 First instrument AF
Sonic Pi, SuperCollider, Strudel, and Tidal are theory-native for harmony; Glicol, ChucK, and Punctual require hand-spelling frequencies
Fact L2 First instrument AF
Relative keys share notes with a different tonic; parallel keys share a tonic with different notes, and swapping between parallels is modal interchange
Concept L2 First instrument AF
Melodic contour (the shape of rising and falling) is what a listener remembers more than the exact notes
Concept L2 First instrument AF
The 2nd, 4th, 6th, and 7th scale degrees pull toward chord tones — landing on one creates suspense, resolving releases it
Concept L2 First instrument AF
Ambient harmony uses drone or pedal-tone beds with unresolved extended chords
Concept L2 First instrument A
House is the most harmonic four-on-the-floor genre, with 7th/9th chord-stabs as its hook
Concept L2 First instrument AF