Do Repeat Yourself
summary
Demonstrates multiple rewrites of a Python music synthesizer, using NumPy arrays as waves and an ADSR envelope to build a drum kit, then switching to PyDub for melodic parts. A custom presentation app is built from scratch in three days and even crashes during the demo. Core claim: consciously repeating rewrites yields surprising intuition, faster execution, and richer complexity — sometimes worse, sometimes better, but each repetition uncovers new practical lessons.
AI-written summary · about
chapters (7)
- 0:00Introduction and disclaimers
- 2:23Why talk about repetition
- 8:15Benefits of repetition
- 10:06NumPy music demo attempt
- 13:48Repeated engagement explained
- 16:28Building a melodic key
- 17:12Embracing complexity
related talks
03mBuild a Synthesizer with Python
31mSounds good!
20mSoftware-defined declarative synthesizer live-coding in a jupyter notebook
31mHaving fun with Music and Keras
37mHow to code music?
33mSounds, Synths, and Sonic Pi! Oh My!
28mBeatmaking with Python and FoxDot
51mMaking Music with Ruby: Patterns, Context, Fun
