euclid

From TidalCycles userbase
Jump to: navigation, search

Type: euclid :: Pattern Int -> Pattern Int -> Pattern a -> Pattern a

euclid creates a Euclidean rhythmic structure. It produces the same output as the Euclidean pattern string.

For example:

d1 $ euclid 3 8 $ sound "cp"

... is the same as ...

d1 $ sound "cp(3,8)"

euclid accepts two parameters that can be patterns:

d1 $ euclid "<3 5>" "[8 16]/4" $ s "bd"