strudel icon indicating copy to clipboard operation
strudel copied to clipboard

euclidRot() moves the pattern to the right

Open pierredewilde opened this issue 2 years ago • 0 comments

In Strudel, euclidRot() and mini-notation (x,y,z) moves the pattern to the right:

x ~ ~ x ~ ~ x ~ (3,8)
~ x ~ ~ x ~ ~ x (3,8,1)
x ~ x ~ ~ x ~ ~ (3,8,2)
~ x ~ x ~ ~ x ~ (3,8,3)

In Tidal Cycles, the euclidian sequence offset moves the pattern to the left: https://tidalcycles.org/docs/reference/mini_notation/#euclidian-sequence-offset

x ~ ~ x ~ ~ x ~ (3,8)
~ ~ x ~ ~ x ~ x (3,8,1)
~ x ~ ~ x ~ x ~ (3,8,2)
x ~ ~ x ~ x ~ ~ (3,8,3)

For example :

stack(
  s("hh(3,8)"),
  s("hh").struct("x ~ ~ x ~ ~ x ~")
)

with offset to the right:

stack(
  s("hh(3,8,1)"), // s("hh").euclidRot(3,8,1),
  s("hh").struct("~ x ~ ~ x ~ ~ x")
)

with offset to the left (as Tidal Cycles):

stack(
  s("hh(3,8,1)"), // s("hh").euclidRot(3,8,1),
  s("hh").struct("~ ~ x ~ ~ x ~ x")
)

pierredewilde avatar Jan 23 '24 23:01 pierredewilde