← Acid Lab

P · Music theory for acid (a noob's prologue)

No prior theory assumed. Just enough to make melodies on purpose — plus an interactive index of the classic scales. Click anything to make sound.

On this page:
1 · Notes & the keyboard
2 · Octaves, semitones & equal temperament
3 · Harmonics → harmony (why notes agree)
4 · Intervals — consonant vs dissonant
5 · Scales — the interactive index of classics ★
6 · Modes (same notes, different mood)
7 · West vs East — the notes between the keys
8 · Chords & rhythm (a peek)
9 · The acid cheat-sheet

Section 1Notes & the keyboard

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:

note
MIDI #
frequency
vs A4=440

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.

Section 2Octaves, semitones & equal temperament

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.

Section 3Harmonics → harmony · why some notes agree

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:

harmonicratio to rootinterval it forms
1× (root)1:1the note itself
2:1octave
3:2perfect fifth (the most consonant interval after the octave)
4:3perfect fourth (+ another octave)
5:4major third
6:5minor 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.

Section 4Intervals — the distance between two notes

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.

Section 5 ★Scales — the index of classics

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).

Section 6Modes — same notes, different centre of gravity

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:

modeflavouryou know it from
Ionian (major)bright, resolvedmost pop, nursery rhymes
Dorianminor but hopeful, funkydeep/soulful house, "So What"
Phrygianvery dark, "Spanish", tensedark techno, flamenco, metal
Lydiandreamy, floatingfilm "wonder" cues
Mixolydianbluesy, dominantrock, funk vamps
Aeolian (natural minor)sad, seriousthe acid/house default
Locrianunstable, rarely usedexperimental/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.

Section 7West vs East — the notes between the keys

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:

traditionthe ideasound / instrument
Western (12-TET)12 equal semitones; harmony via stacked chordspiano, most electronic music
Arabic / Turkish maqam~24 quarter-tones; melody + neutral thirds; no chordsoud, ney — the "Middle-Eastern" feel
Indian ragamelodic framework (not just a scale): ~22 shruti microtones, rules, mood, even a time of day; drone underneathsitar, tabla, tanpura drone
Japanese5-note scales (Hirajoshi, In) with dramatic half-stepskoto — also great for chiptune/game music
Indonesian gamelanslendro (5) & pelog (7), non-equal tunings unique to each ensemblemetallophones — "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.

Section 8Chords & rhythm (a peek — more later)

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.

Section 9The acid cheat-sheet

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.