[PD] euclidean rhythms

martin brinkmann mnb at martin-brinkmann.de
Thu May 26 11:41:49 CEST 2011


On 05/26/2011 01:29 AM, Martin Dupras wrote:

> In other words: let's say you want 5 beats in a grid of 12 (or a
> 12-sided polygon, if we use his graphical representation), the exact
> spacing between two beats would be 12/5, or 2.4.
> 
> The first beat would be 0*2.4= 0.
> The second beat would 1*2.4 = 2.4, rounded to 2
> The third would be 2*2.4 = 4.8, which we round to 5.
> The fourth would be 3*2.4= 7.2, which we round to 7.
> The fifth would be 4*2.4  = 9.6, which we round to 10.
> 
> We now have the pattern x.x..x.x..x.

though the flash app (at hisschemoeller.com)
produces soemthing like x..x..x.x.x.
the number and length of rests is the same in this case,
but the distribution is different. if you, instead of
rounding, just cut the fractional part, you get the same
result as the flash app, only mirrored, but this
seems not to work for other numbers.

i have attached my own quick and dirty
itterative attempt, but i think it should also
be possible to implement with operations on lists,
like in the ruinwesen example. but i am not that familliar
with this in pd...

bis denn!
     martin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: euclid1.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20110526/8c6b20cc/attachment.txt>


More information about the Pd-list mailing list