Ruby patterns for contemporary dance music
summary
Claims that a complete dance track is possible with only Ruby code, not Sonic Pi; actual build is a tiny pure Ruby synth that writes web-playable sound files and a simple arranger. Uses square waves at 440 Hz, white noise, ADSR envelopes and a state-variable filter to sculpt timbre; models a snare by pitching a body tone up and mixing filtered noise; sequences via a 16-step step sequencer at 120 BPM and adds a ring-buffer delay for echo. The prototype runs and produces a recognizably rhythmic song though it’s rough around the edges.
AI-written summary · about
chapters (10)
- 0:00Start
- 7:04A Ruby Synth
- 7:47Western notation
- 10:28Sculpting a sound
- 10:391. Start with high harmonic content 2. Filter down
- 13:11Variance over time
- 14:25Filter Frequency
- 18:33Sequencing sounds
- 18:48Measure of 4 / 4
- 23:34Ring Buffer with feedback
related talks
33mThe musical Ruby
51mMaking Music with Ruby: Patterns, Context, Fun
33mWriting Music with Ruby: A subtle introduction to music theory
41mIt's More Fun to Compute
30mJavaScript Patterns For Contemporary Dance Music
13mMaking music with Ruby and Sonic Pi
33mSounds, Synths, and Sonic Pi! Oh My!
21mLive Coding Music with Ruby
