Luke Davis


Morsel #16: drumples

Filed under: Python | tech | music

I made a Marimo notebook that pulls 3 random drum samples and lets you play them along with a random song from a Spotify playlist(s).

the UI for my drumples app
Disclaimer

I used a local LLM (large language model) to generate the code for the Spotify playlist song randomiser, in the name of vibe coding. This was intended to be a personal project and everything worked with minimal changes. You're welcome to change things up if they're suboptimal.

Requirements

I sadly can’t demo it as I don’t want to make Spotify API access public so you’ll have to sign up yourself. But once you have those credentials and you’ve got your audio files ready, click Generate New Set to get a randomised set of kick, snare, and hi-hat sounds along with a track from your randomised Spotify playlists.

Why did I make this

I make beats a lot and I buy/download a lot of drum packs over the years. That means hundreds of drum packs get unused thanks to recency bias. A project like this can help me use drums I would never have used before, as well as shake things up with the samples I use.

Ideas and improvements

Morsel #17: Small and specific wins the AI race