chooseWith - pat
- xs
Choose from the list of values (or patterns of values) using the given pattern of numbers, which should be in the range of 0..1
note("c2 g2!2 d2 f1").s(chooseWith(sine.fast(2), ["sawtooth", "triangle", "bd:6"])) // Compare with chooseInWith
note(chooseWith("<0 0.5 1>*3", ["c3", "b3", "d3"])) | parameter | type |
|---|---|
| pat | |
| xs |
|
| returns |