The Fingerprint of Sound
Chapter Field Guide
Measurable Learning Outcomes
- State the Nyquist-Shannon sampling condition (f_s > 2 · f_max) and explain aliasing.
- Explain how the Discrete Fourier Transform separates a mixed waveform into component frequencies.
- Explain how peak-pair spectrograms identify songs even amid background noise.
Core Scientific Intuition
Sound is air pressure vibrating over time. To digitize a wave faithfully without aliasing (false low frequencies), you must sample more than twice per cycle of its highest frequency (CD audio uses 44,100 Hz to capture up to ~20 kHz human hearing). The Fourier Transform reveals which frequencies are present, and matching pairs of strong spectral peaks creates a noise-resistant song fingerprint.
Units & assumptions: Measured in Hertz (samples per second); real ADCs apply an anti-aliasing low-pass filter before sampling.
Worked Example
Human hearing tops out near 20,000 Hz. Twice 20,000 Hz is 40,000 Hz; CD audio chooses 44,100 Hz to leave room for a practical anti-aliasing filter transition band.
Hands-On Exploration
Interactive Laboratory
Test the concepts directly with 4 interactive panels, live controls, and visual feedback.
Open Interactive Lab →Three Guided Projects
Structured experiments with hypotheses, boundary tests, hints, and reflection prompts.
View 3 Projects →Source Code (5 Snippets)
Inspect byte-identical printed JavaScript blocks, download `.js` files, or test runnable blocks in the isolated sandbox.
Browse Code →Self-Check Quiz (5 Questions)
Immediate explanations for every choice, unlimited retries, and local-only score tracking.
Take Self-Check Quiz →Book Chapter Outline (Reference Guide)
Section headings from Volume 1 for cross-referencing with the printed book.
Show all 21 book section headings
- The song nobody could name
- PEOPLE BEHIND THE SCIENCE
- Harry Nyquist (1889-1976)
- Avery Li-Chun Wang
- Sound is a moving disturbance
- How a microphone creates numbers
- Meet a pioneer: Joseph Fourier (1768-1830)
- The secret ingredients of a sound
- A picture of sound through time
- How a song becomes a fingerprint
- Why a match can be wrong
- How headphones fight sound with sound
- The mathematics of cancellation
- Project 1: turn sound into a spectrum
- Project 2: match a mystery tune
- Project 3: make a noise-cancelling model
- Detective mission: the science fair recording
- Now invent your own experiment
- Your sound toolkit
- More to explore and source notes
- Next chapter: Finding a Needle in a Digital Universe
Primary Sources & Further Reading
External links are provided for independent verification and deeper study. Link availability can change over time; see the Resources page for verification notes.
| Source | Type | Link |
|---|---|---|
| Read more | reference | https://ethw.org/Harry_Nyquist |
| Read more | reference | https://labrosa.ee.columbia.edu/~dpwe/papers/Wang03-shazam.pdf |
| Biography: University of St Andrews, MacTutor | educational-archive | https://mathshistory.st-andrews.ac.uk/Biographies/Fourier/ |
| Authentic early nineteenth-century engraved portrait (public domain) | reference | https://commons.wikimedia.org/wiki/File:Joseph_Fourier.jpg |
| Digital audio: University of California, Irvine | reference | https://music.arts.uci.edu/dobrian/digitalaudio.htm |
| Noise-cancelling headphones: PhysicsUK | reference | https://www.physicsuk.co.uk/physics-in-the-world/how-do-noise-cancelling-headphones-work-physics |
| JavaScript Math functions: MDN Web Docs | official-docs | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math |