Followers of my YouTube channel have already seen this, but I like it enough to share it here as well.
This is one of few major patches I’ve written where I’ve made the full code available. Enjoy: Generative SuperCollider patch · GitHub
Rhythms are based on optimal Golomb rulers, which distribute rhythmic onsets as unevenly as possible.