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

euclidLegatoRot seems not to shift the first onset in a rotated pattern. #1368

@bwagner

Description

@bwagner

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions