Digital Sound & Music
Samples, spectra, synthesis, and the theory behind a tune: how numbers become music.
Signals
Sound as Numbers: Samplingin review
intro · ~20 minWatch a tone become a list of numbers, find the limit half the sample rate sets, and hear a tone above it fold into a slower one.
Bit Depth: Quantization and Ditherin progress
intro · ~20 minStore each sample in a handful of bits, watch the rounding error follow the tone, and hear dither turn distortion into hiss.
Synthesis
Oscillators: Sine, Square, Saw, Trianglein progress
core · ~25 minOne phase accumulator drives every classic waveshape; watch it advance and wrap sample by sample, then hear the four shapes at 220 Hz.
ADSR Envelopesin progress
core · ~25 minA five-state machine draws a note's loudness tick by tick: attack, decay, sustain, release. Watch it run, break it with a zero, and hear the shape on a tone.
Additive Synthesis: Building Timbre from Sinesin progress
core · ~25 minAdd sines at multiples of a fundamental one at a time and watch a square, saw, or triangle emerge, corners, Gibbs ripple, and all.
Subtractive Synthesis: The Low-Pass Filterin progress
core · ~30 minPush a saw through a resonant low-pass biquad sample by sample, read the five numbers that make a filter, and hear the cutoff and resonance every synth bass is built on.
FM Synthesisin progress
advanced · ~30 minLet one oscillator push another's phase around, predict the sidebands with Bessel functions, and hear the bells and electric pianos that filled the 1980s.
Effects
Delay Lines and Echoin review
core · ~25 minPush a pluck through a ring buffer one delay long, watch the slot pointer read the echo and write it back with feedback, and hear why every repeat is the last one scaled.
Chorus and Flanger: Modulated Delaysin review
core · ~25 minSweep a delay line's read head with a slow oscillator, read between two slots, and hear one voice become a chorus, or a flanger whose comb of notches moves across the spectrum.
Reverb: Comb and All-Pass Networksin review
core · ~30 minSend one click through four feedback combs and two all-passes sample by sample, watch a room's tail build and decay, and hear a clap in a space you can resize.
Parametric EQ: Peaking and Shelving Biquadsin review
core · ~30 minPush a saw through a low shelf, a peak, and a high shelf in series, read the cookbook numbers behind each band, and hear a few decibels of boost and cut on a 110 Hz saw.
Distortion and Waveshapingin review
core · ~25 minPush a sine into a transfer curve sample by sample, watch its crests squash into new harmonics, and hear why a symmetric curve adds only odd ones and a bias lets the even ones in.
Dynamic Range Compressionin review
core · ~30 minFollow a level detector with two speeds, turn the excess over a threshold down by a ratio, and watch a loud passage come down sample by sample while a quiet one passes untouched.
Spectra
The DFT: Finding the Harmonicsin progress
core · ~30 minCorrelate one frame of samples with a probe cosine and sine for every bin, watch the sums grow and cancel, and read a wave's recipe back off it.
Spectrograms: Sound over Timein progress
core · ~25 minCut a signal into overlapping frames, window each one, transform it, and watch the columns stand up into a picture of frequency against time.
The DCT: Cosines Without Phasein review
core · ~25 minMeasure one frame of samples against a family of cosines, watch the energy pile into the first few coefficients, and rebuild the frame from those alone: the transform under JPEG, MP3, and AAC.
Transform Coding: Keep What the Ear Will Miss Leastin progress
core · ~30 minCut a signal into frames, turn each frame into cosine coefficients, keep the largest few and round them, then transform back: the idea under MP3, AAC, and Opus, one frame at a time.
Music Theory
Pitch: Semitones, Octaves, and Equal Temperamentin progress
intro · ~20 minWalk up the keyboard a semitone at a time, compute each frequency from A4 and a power of two, and see why equal steps come out equally spaced on a log axis.
Scales and Chords from Interval Patternsin progress
core · ~25 minBuild a scale from a root and a pattern of semitones, stack thirds on every degree, and read each chord's quality off the gaps between its tones.
Sequencing
The Step Sequencer: Scheduling Notes in Timein progress
core · ~30 minRun a sixteen-step pattern on two clocks: a jittery timer that looks ahead and a sample-accurate audio clock that plays, and watch a stall make a note late.
Your First Workstationin progress
advanced · ~35 minThree step patterns drive three synth voices through a mixer, one block at a time: every class from the earlier lessons running together as a tiny DAW.