�'s Ramblings

generative music

2024-10-05T19:35:09

I’ve been really interested in the idea of algorithmically creating music for a while now. My first semi-serious experiments were in Sonic Pi. Here’s a public repo where I dumped my loose collection of Sonic Pi notebooks:

https://github.com/kylegrover/sonicpi-algobop

Algobop Project Notes
Algobop
Sample Based Song Generator
This is a really rough draft repo, just to get my previous work in sonic pi song generation up on git.

Running Algobop
Algobop runs in Sonic Pi. To run it you need to load all the relevant functions, then run a generator / template.

Algobop also requires samples, you'll need to point it at your sample libraries.

To Do / Plans / Ideas
Organize this repo lol
FX
Fills, Swells, Drops
Random "spice" samples
Add demo sample packs
More patterns/templates
Dynamic/generative patterns
Automate song generation. Make many songs at once.
Should this run in Sonic Pi? Maybe there's something better for my needs
License / Collaboration
Collaboration is very welcome, for the time being please ask ahead of time if you plan on using or modifying this code to create your own work. I might go GPL/MIT at some point but for now it's just a public personal project.

I still really like this approach and think it could serve as part of a good custom pipeline as it gives you a lot of direct control over the overarching structure, which other models aren’t great at.

OpenAI’s Jukebox came out some time after this and caught my attention a bit but wasnt flexible or ‘open’ enough to play much with, but that’s the first moment I thought AI could really accomplish a lot here.

My next real attempt after Sonic Pi was using RAVE and it’s still one of my favorite approaches:

https://www.instagram.com/p/Cja4YexP-iw/ live jamming with a custom finetuned BoC model

https://github.com/acids-ircam/RAVE official repo

https://github.com/victor-shepardson/RAVE?tab=readme-ov-file#transfer-learning fork for training RAVEv2 (by victor shepardson who happens to be a killer glsl artist as well)

somewhere around this timespan i also created a tonejs project very similar to the sonic pi work. i should probably pull that out of here into its own repo:

https://www.fxhash.xyz/generative/9492 generative nft based on algobop js. click the buttons below the image and then click the image to hear endless variations

other repos to try:

ufffd.com