all

Applies a function to all the running patterns. Note that the patterns are grouped together into a single stack before the function is applied. This is probably what you want, but see each for a version that applies the function to each pattern separately.

Note: Patterns must be labeled (e.g. with $:) to be picked up by all. An unlabeled pattern such as note("c4") is not registered and will produce no audio when all is present. Use $: note("c4") instead.

$: sound("bd - cp sd")
$: sound("hh*8")
all(fast("<2 3>"))
$: sound("bd - cp sd")
$: sound("hh*8")
all(x => x.pianoroll())
mentioned in (1)