Skip to content

Commit

Permalink
Added clarity and example of third parameter of euclidian rhythm
Browse files Browse the repository at this point in the history
Addresses #281
  • Loading branch information
hellocatfood authored Oct 20, 2024
1 parent afd49fd commit cb167e3
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 cb167e3

Please sign in to comment.