Sonic Pi: Ruby as a Composition Tool

The author explains their background in music, with a focus on vocals and tracking their own material. They delve into their venture into tech work and rekindling their interest in coding through Sonic Pi, a software synth controlled by code. They discuss the unique features of Sonic Pi’s control language, using examples like note names as symbols and chord constructors. The author demonstrates creating instrumental backings purely through code and showcases different musical patterns and effects using Ruby code. They explain ADSR envelopes and show how to simulate choir sections with sustain values. The piece ends with looping music patterns in live performance.

https://bhmt.dev/blog/sonic_pi/

To top