Has anyone experienced the implementation of Euclidean rhythms in Csound?
No but I can’t imagine it wouldn’t be that tricky. Do you have some code that can generate the sequences?
I saw Steven’s post on the Csound list. That’s a nice UDO. Let me throw something together…
I’m not 100% sure I’ve implemented this correctly but it was fun getting to here. Improvements welcome.
Euclidean.csd (5.9 KB)
Very nice! Maybe I’ll add graphics to it at some point.
I was thinking of that myself, but by 11.30 on Saturday night the enthusiasm was leaving me…
Someone on this list (you know how you are!) challenged me to create something like the Max4Live Euchlidean pattern generator. So I took another shot at this, using the new widget opcodes to generate and update most of the graphics.
Euclidean2.csd (11.2 KB)
Great! this is an excellent result
Beautiful work, Rory!
I’m encountering something odd with this. It runs fine the first time, but the second time it doesn’t hide the widgets it’s supposed to hide at start up.
I guess it’s more likely a Cabbage thing than anything related to this example specifically.
I just tried it here with Cabage 2.5.34 and it runs fine. Can you try upgrading? Also, you can remove the
guiMode("hybrid") and use
guiMode("queue"), I was disabling the “queue” mode while testing, but forgot to reinstante it. Passing anything but
guiMode() will cause Cabbage to employ methods of updating widgets. It’s going to be slower than either method on its own, but can be handy to test older code with the new system.
That’s it, Rory. I thought I was up to date, but I just can’t keep up with Cabbage’s rate of change.
I was going to add some features to this, would you object?
By all means. I was hoping someone would bite! Go easy on the macros; I’d like to be able to understand your additions