Like many I read Godfried Toussaint’s paper on “The Euclidean algorithm generates traditional musical rhythms” and got very excited. After doing a bit of background reading, and checking out other peoples takes on this, Wesen’s work, Robin Price’s max patch. I decided that this would be a good way of learning how to write Java objects for Pure Data. So here it is.
This is a Pure Data Java External object which generates rhythms using the Euclidean Algorithm. To use it you will have to download PDJ and then simply put the euclid.class and euclid.java into the class folder.
From there hook up two number boxes, one for pulses, one for steps (doesn’t matter which way round the smaller number will always be pulses) and it will out put the lists for you!