This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Description
euclidLegatoRot seems not to shift the first onset in a rotated pattern.
let p = 1
let s = 5
stack(
note("a3").euclidLegatoRot(p,s,1).color("yellow"),
note("g3").euclidLegatoRot(p,s,0).color("red"),
note("f3").euclidRot(p,s,1).color("green"),
note("c3").euclidRot(p,s,0).color("white"),
).sound("piano")._punchcard()
demo
When replacing p (and/or s, maintaining p <= s) in the above code, weirder behaviour is exposed. E.g. p = 2 changes the rhythmic resolution.