Difference between revisions of "selectF"

From TidalCycles userbase
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<source>selectF :: Pattern Double -> [Pattern a -> Pattern a] -> Pattern a -> Pattern a
+
<source>selectF :: Pattern Double -> [Pattern a -> Pattern a] -> Pattern a -> Pattern a</source>
selectF pf ps p = innerJoin $ (\f -> _selectF f ps p) <$> pf</source>
 
  
 
chooses between a list of functions, using a pattern of floats (from 0-1)
 
chooses between a list of functions, using a pattern of floats (from 0-1)
  
See also [[select]], [[pickF]], & [[squeeze]]
+
see also: [[select]], [[pickF]], [[squeeze]]
  
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 20:51, 11 May 2020

selectF :: Pattern Double -> [Pattern a -> Pattern a] -> Pattern a -> Pattern a

chooses between a list of functions, using a pattern of floats (from 0-1)

see also: select, pickF, squeeze