News for hackers. Stuff that matters.
Re:Euclidean Drum Machine by crucialfelix on Thursday November 06, 2014 @02:07PM (#8569004)
its an algorithm that's been popular in music programming the past several years. there are a bunch of implementations of it.

its a method for evenly distributing x pulses along a grid of y steps.

4 / 16 is house kick 5 / 16 is a dancehall beat

start by setting all steps to 16 (the grid size), offset to 0 and vary the pulse setting and you will hear how they are distributed along the steps.

good simple explanation with python implementation:

https://github.com/brianhouse/bjorklund

javascript:

http://blog.fader.co.uk/post/11519018856/bjorklund-algorithm...

I usually call it bjorklund.

I once used it to evenly distribute promoted content across slots on a website.

There are no comments on this comment yet.