Skip to content

Commit

Permalink
Update mini_notation.md - euclidian
Browse files Browse the repository at this point in the history
Added detail for euclidian sequences showing how the offset number works.
  • Loading branch information
HighHarmonics2 authored Jan 11, 2024
1 parent 3c7f88a commit 26681f5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/reference/mini_notation.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,23 @@ The Euclidean Algorithm Generates Traditional Musical Rhythms by Toussaint
```
#### Euclidian sequence offset
You can also specify a third number for the sequence. This provides an offset, moving the pattern left by the number of steps. For example, `(3,8,1)` will shift the sequence left by one of the 8 specified steps.
```c
x ~ ~ x ~ ~ x ~ (3,8)
~ ~ x ~ ~ x ~ x (3,8,1)
~ x ~ ~ x ~ x ~ (3,8,2)
x ~ ~ x ~ x ~ ~ (3,8,3)
```
Here is how you can have a euclidian sequence spread across different samples:
```c
d1 $ s "east(4,7)" # n "2 3 0 5"
d1 $ s "east(4,7)" # n (irand 8)
```
### Polymetric Sequences
Expand Down

0 comments on commit 26681f5

Please sign in to comment.