diff --git a/packages/core/controls.mjs b/packages/core/controls.mjs index 5aa4b46b..94f46f44 100644 --- a/packages/core/controls.mjs +++ b/packages/core/controls.mjs @@ -1163,8 +1163,10 @@ export const { octave } = registerControl('octave'); * @name orbit * @param {number | Pattern} number * @example - * $: s("hh*6").delay(.5).delaytime(.25).orbit(1) - * $: s("~ sd ~ sd").delay(.5).delaytime(.125).orbit(2) + * stack( + * s("hh*6").delay(.5).delaytime(.25).orbit(1), + * s("~ sd ~ sd").delay(.5).delaytime(.125).orbit(2) + * ) */ export const { orbit } = registerControl('orbit'); // TODO: what is this? not found in tidal doc Answer: gain is limited to maximum of 2. This allows you to go over that diff --git a/test/runtime.mjs b/test/runtime.mjs index ca92b196..19b71627 100644 --- a/test/runtime.mjs +++ b/test/runtime.mjs @@ -191,6 +191,7 @@ evalScope( }, ); +// TBD: use transpiler to support labeled statements export const queryCode = async (code, cycles = 1) => { const { pattern } = await evaluate(code); const haps = pattern.sortHapsByPart().queryArc(0, cycles); diff --git a/website/src/pages/workshop/pattern-effects.mdx b/website/src/pages/workshop/pattern-effects.mdx index 119a6123..c9cb7b46 100644 --- a/website/src/pages/workshop/pattern-effects.mdx +++ b/website/src/pages/workshop/pattern-effects.mdx @@ -108,12 +108,10 @@ We can add as often as we like: .scale("C5:minor") .sound("gm_xylophone") .room(.4).delay(.125) - $: note("c2 [eb3,g3]".add("<0 <1 -1>>")) .adsr("[.1 0]:.2:[1 0]") .sound("gm_acoustic_bass") .room(.5) - $: n("0 1 [2 3] 2").sound("jazz").jux(rev)`} />