mirror of
https://github.com/kennethreitz/kennethreitz.org.git
synced 2026-10-24 06:29:15 +00:00
- New theme pages for the Python-music arc and the self-hosting/archives arc - Backfill 8 stale theme pages through June 2026 (21 uncovered essays -> 0) - Link photo-archive essays from photography hub, music essays from music hub - Every former orphan essay now has 2-4 inbound hub links Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
41 lines
3.2 KiB
Markdown
41 lines
3.2 KiB
Markdown
# Music as Code
|
|
|
|
I'm a percussionist by training and an electronic musician by history, and for five years I made almost no music at all. Then AI collaboration broke the block, and what came out the other side wasn't a return to the old studio — it was something stranger: music written in Python. Scores that are scripts. Synthesis from first principles. Tools that listen to language the way an ear does.
|
|
|
|
This thread collects that body of work. The premise underneath all of it: code and music are both languages for structuring time, and the boundary between composing and programming was always thinner than it looked.
|
|
|
|
### The Breakthrough
|
|
|
|
- [**PyTheory: Breaking Through Five Years of Creative Block with AI**](/essays/2026-03-22-pytheory_breaking_through_five_years_of_creative_block_with_ai) — The origin story. Five years of silence ended by a music theory library and a thinking partner.
|
|
- [**PyTheory Is Awesome**](/essays/2026-03-25-pytheory_is_awesome) — The library itself: fretboards, chords, and theory as data structures.
|
|
|
|
### The Instrument Is the Interpreter
|
|
|
|
- [**A Mini DAW in the Python REPL**](/essays/2026-03-25-a_mini_daw_in_the_python_repl) — A digital audio workstation that fits in a prompt.
|
|
- [**NumPy as Synth Engine**](/essays/2026-03-29-numpy_as_synth_engine) — Synthesis from arrays. No samples, no plugins, just math becoming sound.
|
|
- [**Free OP-XY Presets, Made from Python**](/essays/2026-04-01-free_op_xy_presets_from_python) — The Python synthesis engine feeding patches to hardware.
|
|
|
|
### The Album
|
|
|
|
- [**Interpretations: An Album Written in Python**](/essays/2026-04-01-interpretations_an_album_written_in_python) — Twenty-four tracks, each one a script that renders to WAV. No DAW. The code is the score. The full album lives [here](/music/interpretations).
|
|
|
|
### Tools for the Ear
|
|
|
|
- [**RhymePad: Seeing the Sound**](/essays/2026-06-11-rhymepad_seeing_the_sound) — A scratchpad that reads the phonetics of verse and paints the rhyme architecture as you type. Built for poets and rappers; rhyme is music in language.
|
|
|
|
### What the Body Knows
|
|
|
|
- [**What the Snare Drum Knew Before I Did**](/essays/2026-04-17-what_the_snare_drum_knew_before_i_did) — The counterweight to everything above. Twenty years of rudiments, and the knowledge that lives beneath language — the part of music no script can hold.
|
|
|
|
### Heritage
|
|
|
|
- [**Understanding Ableton Push**](/essays/2013-01-understanding_ableton_push) — From the analog studio years, when the instruments were hardware and the code was someone else's.
|
|
|
|
The studio I built between 2012 and 2018 is gone; I sold all of it. What replaced it is a [tiny synthesizer](/music), a Python interpreter, and a collaborator that never gets tired of rendering one more take. I don't think the old way was wrong. I think the new way is more honest about what I actually am, which is a programmer who hears things.
|
|
|
|
### Related Themes
|
|
|
|
- [Artificial Intelligence](/themes/artificial-intelligence) — The collaboration that made it possible.
|
|
- [Spiritual Practice & Technology](/themes/spiritual-practice-and-technology) — Practice as devotion, in both crafts.
|
|
- [The "For Humans" Philosophy](/themes/for-humans-philosophy) — Tools that serve the ear, not the spec sheet.
|