Difference between revisions of "selectF"
From TidalCycles userbase
(Created page with "-- | chooses between a list of functions, using a pattern of floats (from 0-1) selectF :: Pattern Double -> [Pattern a -> Pattern a] -> Pattern a -> Pattern a selectF pf ps p...") |
|||
Line 1: | Line 1: | ||
− | |||
selectF :: Pattern Double -> [Pattern a -> Pattern a] -> Pattern a -> Pattern a | selectF :: Pattern Double -> [Pattern a -> Pattern a] -> Pattern a -> Pattern a | ||
selectF pf ps p = innerJoin $ (\f -> _selectF f ps p) <$> pf | selectF pf ps p = innerJoin $ (\f -> _selectF f ps p) <$> pf | ||
+ | |||
+ | '''selectf''' chooses between a list of functions, using a pattern of floats (from 0-1) | ||
See also [[select]] | See also [[select]] |