Update 13.09.23: I’ve taken down the algomusic repository on GitHub. You can find all the components discussed below on the PD-components repository now.
I’ve written some components for Pure Data that, in combination, allow generating breakbeat track loops based on a number of pre defined parameters like speed, meter, base note and harmonic scale plus other presets as well as a range of randomly generated values e.g. for sequencing, break slicing or tonal arrays.
These components have been put together in a template that can be used as a starting point for writing algorithmic Jungle, Drum & Bass or Breakbeat in Pure Data.
Basically all you need to do is feed it a one or two bar long breakbeat, select from a pre configured harmonic scale, define tempo and base note and play around with the other parameters.
The source code can be retrieved from Github.
Sound samples: