Fourier, FFT and wave guides
Every guide opens with a worked example and links to the studio that reproduces it.
Fourier series and harmonics
FourierFourier series basics: every periodic wave is a sum of sinesOrthogonality, the coefficients aₙ and bₙ, and what a slider labelled H3 really changes.FourierThe square wave: odd harmonics, 1/n amplitudes, and a stubborn overshootWhy a truncated square wave peaks at 1.179 V and stays there as you add harmonics.FourierSawtooth and triangle: 1/n against 1/n²Two waveforms, one harmonic series apart by 20 dB per octave.FourierPhase changes the peak, not the spectrumIdentical amplitude bars, peaks from 1.0 V to 1.6 V, purely from phase.FourierTotal harmonic distortion, calculated and interpreted√(Σaₙ²)/a₁ in one line, and the three things it does not tell you.
Sampling and the FFT
SamplingSampling, the Nyquist limit and aliasingAt 8 kHz sample rate, a 7 kHz tone appears at 1 kHz — and nothing in the samples says otherwise.FFTInside the radix-2 FFTFrom N² to N log₂N, with the butterfly as the only arithmetic that matters.FFTLeakage, and the windows that trade for itA 440 Hz tone in a 23.4 Hz grid is almost never bin-centred — and the window decides how much that costs.FFTBin width, resolution and the zero-padding illusionΔf = fs/N is arithmetic; resolution is physics. Padding changes one and not the other.FFTPeak interpolation: hertz from a coarse gridThree bins, one parabola, and an accuracy of a few hertz from a 23.4 Hz grid.
Waves and sound
AnalysisSignal-to-noise ratio from a spectrumThe noise floor is not a property of the room; it is a property of the measurement.AnalysisReading a spectrogramA spectrum answers 'what'; a spectrogram answers 'what, when' — and it cannot do both perfectly.WavesBeats: the tuning signal musicians actually use440 Hz and 444 Hz are 15.7 cents apart and beat four times a second — which is far easier to hear than the interval.WavesThe Doppler effect, with the signs kept straight500 Hz, 30 m/s toward you, becomes 547.9 Hz — 158 cents, a semitone and a half.WavesFrom two-source fringes to a resonant lengthPath difference decides everything: fringes on a screen, modes on a string.
Each guide links to the studio that reproduces its worked example, so every number can be checked by ear and by graph.
Open the studio