amiika / ziffers

Numbered musical notation for composing algorithmic and generative melodies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix euclidean syntax

amiika opened this issue · comments

Current implementation fails with note length syntax like: "(q 2 3 h 2)<3,4>(2 h2)", since it defaults to ring like behaviour which also randomizes plain note lengths. Current workaround is using lists inside euclidean syntax like: ((q 2 3 h 2))<3,4>((2 h2)).

Add syntax like:

"(q 2 3 h 2)<3,4>(2 h2)" # Select values as a ring
"(q 2 3 h 2)>3,4<(2 h2)" # As whole
"(q 2 3 h 2)>3,4>(2 h2)" # As a ring on beat, as whole off beat

Done.