Music as code
Draft, still being revised
My old homepage says that I played a lot of Bach on the piano. Today I make music differently: for Slopfest I programmed in Strudel together with Claude. Strudel is an environment for making music from code in the browser, a JavaScript version of TidalCycles.
I like Strudel because it is reproducible. The code defines everything: anyone who opens it hears the same piece. Still, you can use it interactively, change lines and hear right away what happens. While the music plays, Strudel highlights in real time the parts of the code that are sounding.
You are fairly restricted, but the sounds can be extended. With arrange you can structure a piece, with sections,
repetitions and a real song structure. Everything is possible, and the whole song stays a readable text.