It's so quiet. Let's make music.
summary
Demonstrates concrete audio math and runnable Ruby code: uses 44,000 samples/sec and A=440Hz, explains human range 20–20,000Hz, shows sine/triangle/square/saw/noise waveforms, and composes sounds by summing waves. Shows three libraries—RubyAudio (write WAV), easy_audio (real‑time PortAudio), and an VST that embeds Ruby—and builds playable instruments (e.g., bass drum = low sine + exponential decay, snare from noise). Ends by generating a complete song with those tools and it plays live.
AI-written summary · about
chapters (13)
- 0:00Start
- 3:07Sample Rate
- 4:13fundamental WAVES
- 5:51Frequency?
- 8:01Triangle
- 8:40Show, Don't Tell
- 11:42Processing Audio
- 12:09Fourier Transform
- 15:21Pitch Detection: Instrument Tuner
- 19:54$ gem install easy_audio
- 28:53Summary
- 29:08Making waves!
- 29:24Fourier analysis








