From c623242eb05f948c340e0fb43dec3e4e4dc0a98a Mon Sep 17 00:00:00 2001 From: Ernest Micklei Date: Tue, 10 Sep 2024 11:33:25 +0200 Subject: [PATCH] euclidean controls audio --- dsl/eval_funcs.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dsl/eval_funcs.go b/dsl/eval_funcs.go index 0d34008..411e37b 100644 --- a/dsl/eval_funcs.go +++ b/dsl/eval_funcs.go @@ -1275,10 +1275,11 @@ onkey('c4',onoff('e')) // uses default input and default output MIDI device`, }) registerFunction(eval, "euclidean", Function{ - Title: "Music Pattern Generator: Euclidean", - Description: "euclidean creates a euclidean rythm generator", - Template: "euclidean(${1:steps},${2:beats},${3:rotation},${4:noteOrVariable})", - Samples: "", + Title: "Music Pattern Generator: Euclidean", + Description: "euclidean creates a euclidean rythm generator", + Template: "euclidean(${1:steps},${2:beats},${3:rotation},${4:noteOrVariable})", + ControlsAudio: true, + Samples: "e = euclidean(12,4,0,sequence('c e g'))", Func: func(steps, beats, rotation, noteOrVariable any) any { return &core.Euclidean{ Steps: core.On(steps),