Difference between revisions of "append"

From TidalCycles userbase
Jump to: navigation, search
 
Line 30: Line 30:
 
'''See also: [[cat]], [[cat#fastcat|fastcat]]'''
 
'''See also: [[cat]], [[cat#fastcat|fastcat]]'''
  
<!--T:9-->
+
</translate>
 
[[Category:Functions]]
 
[[Category:Functions]]
</translate>
 

Latest revision as of 14:10, 18 December 2019

Other languages:
British English • ‎English • ‎français • ‎中文(台灣)‎

Type: append :: Pattern a -> Pattern a -> Pattern a

append combines two patterns into a new pattern, where cycles alternate between the first and second pattern.

d1 $ append (sound "bd*2 sn") (sound "arpy jvbass*2")

It has the alias slowAppend, in sympathy with fastAppend, described below.

fastAppend

Type: fastAppend :: Pattern a -> Pattern a -> Pattern a

fastAppend works like append described above, but each pair of cycles from the two patterns are squashed to fit a single cycle.

d1 $ fastAppend (sound "bd*2 sn") (sound "arpy jvbass*2")

See also: cat, fastcat