pickF - pat
- lookup
- lookup
pickF lets you use a pattern of numbers to pick which function to apply to another pattern.
s("bd [rim hh]").pickF("<0 1 2>", [rev,jux(rev),fast(2)]) note("<c2 d2>(3,8)").s("square")
.pickF("<0 2> 1", [jux(rev), fast(2), x=>x.lpf(800)]) note("<c2 d2>(3,8)").s("square")
.pickF("<jr l> f", { jr:jux(rev), f:fast(2), l:x=>x.lpf(800) }) | parameter | type |
|---|---|
| pat | |
| lookup | |
| a pattern of indices or names | |
| lookup |
|
| the array or lookup object of functions from which to pull | |
| returns | |