fixed example test failure

This commit is contained in:
Jade Rowland 2023-10-17 23:03:14 -04:00
parent d3edc62fc7
commit 912a661c04
2 changed files with 26 additions and 1 deletions

View file

@ -173,7 +173,7 @@ export const __chooseWith = (pat, xs) => {
* @param {*} xs
* @returns {Pattern}
* @example
* note("c g g d f").s(chooseWith(slider(0, 0, 1), ["sawtooth", "triangle", "bd hh sd hh"]))
* note("c2 g2!2 d2 f1").s(chooseWith(sine.fast(2), ["sawtooth", "triangle", "bd:6"]))
*/
export const chooseWith = (pat, xs) => {
return __chooseWith(pat, xs).outerJoin();