Skip to content

Commit

Permalink
Merge pull request #283 from hellocatfood/patch-2
Browse files Browse the repository at this point in the history
Added clarity and example of third parameter of euclidian rhythm
  • Loading branch information
cleary authored Oct 22, 2024
2 parents afd49fd + cb167e3 commit 4f4b69e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/getting-started/Tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 4f4b69e

Please sign in to comment.