Step 11 · Example tracks · Chord Colours
← Back to the lessonSTEP 1 OF 10
Tempo, key and the chord sections
- 96 BPM is slow for house: relaxed, "lo-fi". One bar lasts 60 ÷ 96 × 4 = 2.5 seconds.
- C major. All chords are close to C4, written voice-led: from one chord to the next, as few notes as possible move. From Cmaj7
[c4,e4,g4,b4]to Am7[c4,e4,g4,a4], only B moves down to A. The bass plays the roots, so the chords themselves can stay in this small range. - Each section is a string stored under a name, like
verse, so it can be reused by several instruments.
| Command | What it does |
|---|---|
setcpm(96/4) | Tempo: 96 BPM, 4 beats per bar. |
const verse = "<[c4,e4,g4,b4] [c4,e4,g4,a4] …>" | Four chords, one per bar (< >). Inside each [ ] the commas make the notes sound together. [c4,e4,g4,b4] = C + 4 + 7 + 11 semitones = Cmaj7. |
[b3,d4,f4,g4] | G7 (G B D F) with G on top: the notes are rearranged so they stay close to the chord before. |
const bridge = "<[c4,f4,g4] [c4,f#4,a4] [c4,d4,g4] [b3,d#4,g4]>" | Fsus2 (F G C), F♯dim (F♯ A C), Gsus4 (G C D), Gaug (G B D♯): the tension chords. |
arrange([4, note(verse)], [4, note(bridge)]) | Plays the verse for 4 bars, then the bridge for 4 bars, then repeats. |
.s("piano") | A plain piano, so you hear just the chords. |
setcpm(96/4)
const verse = "<[c4,e4,g4,b4] [c4,e4,g4,a4] [c4,d4,f4,a4] [b3,d4,f4,g4]>" // Cmaj7 Am7 Dm7 G7
const bridge = "<[c4,f4,g4] [c4,f#4,a4] [c4,d4,g4] [b3,d#4,g4]>" // Fsus2 F#dim Gsus4 Gaug
// 4 bars of verse, then 4 bars of bridge: hear the change of colour
$: arrange([4, note(verse)], [4, note(bridge)]).s("piano")