sig

From TidalCycles userbase
Jump to: navigation, search

Type: sig :: (Time -> a) -> Pattern a

sig takes a function of time and turns it into a pattern. It's very useful for creating continuous patterns such as sine or perlin. For example, saw is defined as

saw = sig $ \t -> mod' (fromRational t) 1