Rhythmic Recursion
summary
Rewrites Steve Reich’s clapping piece as runnable Ruby: represents the fixed part and the changing part as arrays of ones and zeros, maps 1→clap 0→rest, uses Sonic Pi to sound the patterns, and implements the phasing as a recursive loop that rotate and thread for concurrent parts (demo repeats each bar four times instead of Reich’s twelve). Code logs each section, plays both voices in parallel, and produces the intended phased rhythm live.
AI-written summary · about
chapters (24)
- 0:00Intro
- 0:34About Celeen
- 1:03Introduction
- 2:11Geometry
- 3:08Process
- 4:26Abstract Representation
- 4:58Overview
- 12:07Arrays
- 12:31Parallelization
- 13:18Recursion
- 16:18Recompose
- 16:55Two Parts
- 17:51Rotate
- 18:31Recursive
- 19:25Play Note Rest
- 19:42Other Helper Methods
- 20:24Playing the Measure
- 21:03Playing the Section
- 21:47Sonic PI
- 26:21Putting it all together
- 27:07Recursive Kick
- 27:28Thank you
- 28:25Lets do it
- 31:27Feedback
related talks
51mMaking Music with Ruby: Patterns, Context, Fun
26mRuby patterns for contemporary dance music
33mThe musical Ruby
33mSounds, Synths, and Sonic Pi! Oh My!
01h 02mMusical patterns as functions
01h 02mBeating Threads — live coding music
26mFrom Live Code to Sound: Building a Ruby Live Coding Engine
33mRocking Out In Ruby - A Playful Introduction to Sonic PI
