Euclidian Rhythms experimentation

30 views
Skip to first unread message

geor...@bigpond.net.au

unread,
Aug 4, 2021, 3:19:45 AM8/4/21
to Extempore
Hello again
In 'extempore/libs/core/pattern-language.xtm' line 294 and following, Ben has
written an implementation of euclidean rhythms.
After looking up details of just what the heck euclidean rhythms are,
and watching videos of whiz-bang plug-ins for Ableton and other DAWs
I went back to extempore to see if I could make something work..
I couldn't find examples of this function in use
so I tried some experiments.
Finally  succeeded in making something that produced interesting sound patterns.
Quite pleased with myself!
I have put up my code in my gist page and I hope someone will play it through
and give me some feedback. Anyhow I had a lot of fun playing with it.

This all lead me to wonder if the extempore builtin 'beat' could be fiddled with so that a non-regular  pattern such as those generated by (euclid k n) becomes the basis for a whole performance?  

Regards
George

Ben Swift

unread,
Aug 6, 2021, 3:36:05 AM8/6/21
to extemp...@googlegroups.com
Hi George

So glad to hear you're enjoying the euclidean rhythms. I'll have a play
with the gist you provided asap.

> This all lead me to wonder if the extempore builtin 'beat' could be fiddled
> with so that a non-regular pattern such as those generated by (euclid k n)
> becomes the basis for a whole performance?

As (almost) always in Extempore, the answer is "yes". However, that
might be better done with traditional temporal recursions, rather than
the pattern language. You can easily vary the `beat` and `dur` arguments
as you pass them "through time" to achieve non-regular callback intervals.

Cheers,
Ben

George Wright

unread,
Aug 6, 2021, 7:51:30 AM8/6/21
to extemp...@googlegroups.com
Ben
Thanks for the response.
I’d be particularly interested in your reaction to the bit of code @ lines 178 to 183.
Individual sounds on their own don’t have much interest but when combined create something quite different.

You can easily vary the `beat` and `dur` arguments
as you pass them "through time" to achieve non-regular callback intervals.

Good to learn that it is possible in extempore but I’ll need some help here.
Maybe you can point me to some example of this kind of thing.
I may have seen it but not recognised what was going on.

Lockdown again in Melbourne so I have some time to devote to this stuff - although I understand you may be busy.

Kind regards


George Wright



-- 
You received this message because you are subscribed to a topic in the Google Groups "Extempore" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/extemporelang/rH-JnkpiI0E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to extemporelan...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/extemporelang/m2v94j6n4w.fsf%40benswift.me.

George Wright

unread,
Aug 9, 2021, 6:07:10 PM8/9/21
to extemp...@googlegroups.com
Ben
I’m looking again at your version of Note-Level-Music and I can see that’s where I’ll find my answers.
Working on it now.
Regards
George

George Wright



On 6 Aug 2021, at 5:33 pm, Ben Swift <b...@benswift.me> wrote:

Ben Swift

unread,
Aug 9, 2021, 11:17:31 PM8/9/21
to extemp...@googlegroups.com
Hi George

I should give credit to Andrew - he wrote a lot of that particular guide.

One other thing you might find helpful; looking at the gist you sent
through you had

;; I've changed this euclid to produce 1's and 0's rather than 1's and _'s
;; Without that change I couldn't figure a way to make use of the pattern.
;; Maybe someone can enlighten me about how to do that.
;; Here's Bens (euclid k n) altered as described. Compile it now:

It's not well documented, but you can provide a couple of extra optional
arguments to `euclid` to determine the "x" and "o" values. To achieve
the behaviour you're after, you could use

(sys:load "libs/core/pattern-language.xtm")
(println (euclid 3 8 1 0))

Hope that's helpful.

Cheers,
Ben

George Wright

unread,
Aug 10, 2021, 3:54:25 AM8/10/21
to extemp...@googlegroups.com
It is helpful Ben.
I hadn’t read the code carefully enough.
No need for my mapping the multiplication. So I can keep the ‘_ underscores.
Thanks
George Wright


geor...@bigpond.net.au

unread,
Aug 16, 2021, 2:25:19 AM8/16/21
to Extempore
Reply all
Reply to author
Forward
0 new messages