Algorithms similar to the Euclidean algorithm for rhythmic patterns

Mario Fernando Cardoso's icon

Hi!

I am working on a variation of the Euclidean algorithm for rhythmic patterns creation.
I would like to know if any of you know of any projects, papers, patches, research, algorithms or anything that is either based on, inspired by, a modification of, a variation of or an expansion of the euclidian algorithm applied to rhythmic patterns.

Unfortunately I haven't found much. But I will be sharing here if I find anything.

Thanks!

Mafo.

Roman Thilenius's icon

the most obvious thing would be to invert the pattern. or what about summing two patterns or substracting them from each other.

bertrandfraysse's icon

this sum/subtract idea is great.

it could be implemented very easily using two or more generators with a multiplication on the output being in the [-1, 1] range, or more, and with a clipping at zero on the summation.

another method that I like, is to apply an euclidian pattern on the result of an other euclidian pattern, for example 7/16 and then 5/7 with both rotation possibilities, it adds a lot of possibilities x o o x o x o x o o x o x o x o and then with the second applied x o o o o x o x o o o o x o x o and the result varies greatly with rotations.

I added a linear mode too, that will fill the pattern sequentially, for example with the result of 7/16 using 4/7, it gives x o o x o x o x o o o o o o o o allowing to create rests and holes as the euclidian patterns makes evenly spaced events, it is a quality as a problem as things can easily start being crowded. The subtractnig method could work great for this too.

I hope it's of any help, and I'm looking forward your ideas and implementations.

daddymax's icon

If you generate 2 (or more) euclidean rhythms then use operators like and / or / exclusive/ etc to combine and mask them you can give your patterns a bit more character and make them less monotonous.

Iain Duncan's icon
Mario Fernando Cardoso's icon

Thanks for your ideas!

Is exactly the kind of things I'm looking for, but do you know projects or devices where these ideas have been implemented?

I'm looking for references, literature, etc. where these ideas have been implemented or at least theoretically documented.

Mario Fernando Cardoso's icon

@IAIN DUNCAN No, I haven't read it, but it is on the list already!
Thanks!

Mario Fernando Cardoso's icon

Btw... I found a reference in the work of Philip Meyer and his Rhythm and Time Toolkit. There is an object called [rtt.emask~] which basically layers two euclidean patterns and mask them.
This sounds like a very good example of what I'm looking for as a reference, because is a new algorithm or at least a different algorithm but based on the euclidean.