From cb167e34b23cf6c1fac9d5d34f5c4357e7741ed8 Mon Sep 17 00:00:00 2001 From: Antonio Date: Sun, 20 Oct 2024 17:15:00 +0100 Subject: [PATCH] Added clarity and example of third parameter of euclidian rhythm Addresses #281 --- docs/getting-started/Tutorial.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/getting-started/Tutorial.md b/docs/getting-started/Tutorial.md index 31cd47c85..68825343a 100644 --- a/docs/getting-started/Tutorial.md +++ b/docs/getting-started/Tutorial.md @@ -664,6 +664,14 @@ starts on a different step: d1 $ sound "bd(5,8,2)" +What this third parameter actually does it rotate time. To better illustrate this you can run `drawLine x(3,8)`, which shows the pattern on a linear timeline, with x showing events: + +`|x..x..x.|x..x..x.|x..x..x.|x..x..x.|x..x..x.|x..x..x.|x..x..x.` + +By rotating it by one step (3,8,1) the pattern now looks like this + +`|..x..x.x|..x..x.x|..x..x.x|..x..x.x|..x..x.x|..x..x.x|..x..x.x|..x..x.x` + You can also use the euclid function to apply a Euclidean algorithm over a complex pattern, although the structure of that pattern will be lost: