Stochastic Drum Machine


#1

I made a simple generative music program. It plays randomly generated drum patterns. Original is by Tero Parviainen: https://teropa.info/loop/#/stochasticdrummachine

You can create new patterns with the ‘GENERATE’ button. ‘LENGTH’ determines pattern length (4…16) and ‘DENSITY’ (0…100%) affects how many active notes there is. ‘DEVIATIONS’ (0…100%) adds random notes, delays and triplets when playing the pattern and ‘TEMPO’ changes the tempo.

StochasticDrumMachine

StochasticDrumMachine.bin (58.3 KB)
Source code: https://github.com/jpfli/StochasticDrumMachine