No prior theory assumed. Just enough to make melodies on purpose — plus an interactive index of the classic scales. Click anything to make sound.
Western music slices pitch into 12 notes that repeat forever, higher and lower.
Their names: C C# D D# E F F# G G# A A# B — seven letters plus five "sharps"
(the black keys). After B it wraps back to C, one octave higher. Play the keyboard — click,
or use your computer keys A W S E D F T G Y H U J K:
MIDI number is just an integer name for each key (A4 = 69). The whole keyboard is one formula:
freq = 440 · 2^((midi − 69) / 12). That's the only equation in this lesson.
Two facts do most of the work:
Equal temperament is the deal Western instruments struck: split the octave into 12
equal steps, each a frequency ratio of 2^(1/12) ≈ 1.0595. Multiply by that 12 times and
you've doubled — a perfect octave. The trade-off: every other interval is very slightly "out of tune"
versus pure whole-number ratios, but in exchange you can play in any key on the same 12 keys. Almost all
acid/house/techno lives in this 12-note equal-tempered world. Many Eastern traditions
did not take this deal — section 7.
Remember the spectrum in lesson 00 — a note is secretly a stack of overtones at 1×, 2×, 3×, 4×… its frequency. Here's the payoff: those overtones are the good intervals. Play the harmonic series of a low note and listen to what each overtone is:
| harmonic | ratio to root | interval it forms |
|---|---|---|
| 1× (root) | 1:1 | the note itself |
| 2× | 2:1 | octave |
| 3× | 3:2 | perfect fifth (the most consonant interval after the octave) |
| 4× | 4:3 | perfect fourth (+ another octave) |
| 5× | 5:4 | major third |
| 6× | 6:5 | minor third |
Two notes sound consonant when their overtones line up (simple ratios like 2:1, 3:2). They clash (dissonant) when the ratios are complex and overtones beat against each other. So harmony isn't arbitrary — it falls out of the physics you already saw on the scope.
An interval is just "how many semitones apart". Name them once and you'll hear them everywhere. Each button plays the two notes together (root + the interval):
The perfect fifth (7 semitones, 3:2) and octave (12, 2:1) are rock-solid — that's your low harmonics again. The tritone (6) is the tense, "evil" one. The minor third (3) is what makes a chord/scale sound sad — and it's the backbone of acid's minor mood.
A scale is a chosen subset of the 12 notes — a mask that says "these belong together". Stay on a scale's notes and almost anything you play sounds intentional. Pick a root (the home note) and a scale; the keyboard lights up its notes and plays it. This is your reference — steal freely.
—
CS view: a scale is a 12-bit mask. Minor = 101101011010. Transposing to a
new root is just a rotation of the mask. Generating a "correct" melody = random-walk that stays on the
lit cells (exactly how we'll auto-write acid lines for the game in Module 6).
Take the white keys C→C and you get the major scale (bright, happy). Play the same white keys but treat A as home and you get natural minor (dark). Nothing changed but the home note — that's a mode. The seven modes of the major scale are just seven different starting points:
| mode | flavour | you know it from |
|---|---|---|
| Ionian (major) | bright, resolved | most pop, nursery rhymes |
| Dorian | minor but hopeful, funky | deep/soulful house, "So What" |
| Phrygian | very dark, "Spanish", tense | dark techno, flamenco, metal |
| Lydian | dreamy, floating | film "wonder" cues |
| Mixolydian | bluesy, dominant | rock, funk vamps |
| Aeolian (natural minor) | sad, serious | the acid/house default |
| Locrian | unstable, rarely used | experimental/metal |
They're all in the scale index above — pick a root and audition them. For acid, you'll mostly live in Aeolian (minor) and Phrygian, and reach for harmonic minor / Phrygian dominant when you want that exotic, "eastern" edge.
Everything so far assumed 12 equal semitones. That's a Western choice. Other traditions divide pitch differently — and crucially, many use pitches that sit between our piano keys (microtones / quarter tones). Hear it: this plays C, then a note halfway to C# (a "quarter tone", +50 cents — impossible on a piano), then C#.
Same 7-note "major-ish" scale, two worlds. Western major uses exact semitones; Arabic Maqam Rast flattens the 3rd and 7th by a quarter tone into "neutral" notes that don't exist on a keyboard. Play both back to back — that half-flat is the whole flavour:
| tradition | the idea | sound / instrument |
|---|---|---|
| Western (12-TET) | 12 equal semitones; harmony via stacked chords | piano, most electronic music |
| Arabic / Turkish maqam | ~24 quarter-tones; melody + neutral thirds; no chords | oud, ney — the "Middle-Eastern" feel |
| Indian raga | melodic framework (not just a scale): ~22 shruti microtones, rules, mood, even a time of day; drone underneath | sitar, tabla, tanpura drone |
| Japanese | 5-note scales (Hirajoshi, In) with dramatic half-steps | koto — also great for chiptune/game music |
| Indonesian gamelan | slendro (5) & pelog (7), non-equal tunings unique to each ensemble | metallophones — "shimmering, out-of-tune" to Western ears |
Acid is firmly Western 12-TET — but it borrows the flavour: the "exotic/eastern" vibe in a lot of dark acid & psytrance comes from Phrygian dominant / harmonic minor, which mimic maqam Hijaz using only the 12 keys. You get 80% of the mystery with none of the microtones.
Chords = several notes at once, usually stacked in thirds. A triad is three notes: minor = root + 3 + 7 semitones (sad); major = root + 4 + 7 (bright). Acid is mostly monophonic — one note at a time — so chords matter less; but your bassline implies a chord by outlining its notes.
Rhythm gets its own module (10–12), but the vocabulary: music is counted in bars of 4 beats (4/4 time). Split each beat into 4 and you get 16th notes — the grid of a classic 303 line and every step sequencer. Tempo is BPM (beats per minute); acid house sits around 120–130 BPM. That's all you need until Module 3.
If you remember nothing else, remember this and you'll make convincing acid lines:
That's the whole theory budget. Next: Lesson 00 → build the oscillator whose harmonics you just met.