diff --git a/packages/core/drawLine.mjs b/packages/core/drawLine.mjs index da424236..91b86b4a 100644 --- a/packages/core/drawLine.mjs +++ b/packages/core/drawLine.mjs @@ -21,6 +21,7 @@ import Fraction, { gcd } from './fraction.mjs'; * @example * const line = drawLine("0 [1 2 3]", 10); // |0--123|0--123 * console.log(line); + * silence; */ function drawLine(pat, chars = 60) { let cycle = 0; diff --git a/packages/core/index.mjs b/packages/core/index.mjs index 83c82abe..49b7de19 100644 --- a/packages/core/index.mjs +++ b/packages/core/index.mjs @@ -15,6 +15,7 @@ export * from './state.mjs'; export * from './timespan.mjs'; export * from './util.mjs'; export * from './speak.mjs'; +export { default as drawLine } from './drawLine.mjs'; export { default as gist } from './gist.js'; // below won't work with runtime.mjs (json import fails) /* import * as p from './package.json'; diff --git a/packages/core/pattern.mjs b/packages/core/pattern.mjs index 4242a864..812edf58 100644 --- a/packages/core/pattern.mjs +++ b/packages/core/pattern.mjs @@ -32,8 +32,10 @@ export class Pattern { * @param {Fraction | number} end to time * @returns Hap[] * @example - * const pattern = sequence('a', ['b', 'c']); - * const haps = pattern.queryArc(0, 1); + * const pattern = sequence('a', ['b', 'c']) + * const haps = pattern.queryArc(0, 1) + * console.log(haps) + * silence */ queryArc(begin, end) { return this.query(new State(new TimeSpan(begin, end))); @@ -1543,6 +1545,9 @@ export function pure(value) { export function isPattern(thing) { // thing?.constructor?.name !== 'Pattern' // <- this will fail when code is mangled + if (!thing) { + console.log('no thing', thing); + } const is = thing instanceof Pattern || thing._Pattern; if (!thing instanceof Pattern) { console.warn( diff --git a/repl/src/runtime.mjs b/repl/src/runtime.mjs index abc84d6a..370cb766 100644 --- a/repl/src/runtime.mjs +++ b/repl/src/runtime.mjs @@ -83,7 +83,9 @@ const toneHelpersMocked = { highpass: mockNode, }; -// tone mock +strudel.Pattern.prototype.osc = function () { + return this; +}; strudel.Pattern.prototype.tone = function () { return this; }; diff --git a/tutorial/test/__snapshots__/examples.test.mjs.snap b/tutorial/test/__snapshots__/examples.test.mjs.snap new file mode 100644 index 00000000..305f7279 --- /dev/null +++ b/tutorial/test/__snapshots__/examples.test.mjs.snap @@ -0,0 +1,3197 @@ +// Vitest Snapshot v1 + +exports[`runs examples > example "accelerate" example index 0 1`] = ` +[ + "0/1 -> 2/1: {\\"s\\":\\"sax\\",\\"accelerate\\":0}", + "0/1 -> 2/1: {\\"s\\":\\"sax\\",\\"accelerate\\":0}", + "2/1 -> 4/1: {\\"s\\":\\"sax\\",\\"accelerate\\":1}", + "2/1 -> 4/1: {\\"s\\":\\"sax\\",\\"accelerate\\":1}", +] +`; + +exports[`runs examples > example "add" example index 0 1`] = ` +[ + "0/1 -> 1/3: {\\"note\\":\\"C3\\"}", + "1/3 -> 2/3: {\\"note\\":\\"E3\\"}", + "2/3 -> 1/1: {\\"note\\":\\"G3\\"}", + "1/1 -> 4/3: {\\"note\\":\\"F3\\"}", + "4/3 -> 5/3: {\\"note\\":\\"A3\\"}", + "5/3 -> 2/1: {\\"note\\":\\"C4\\"}", + "2/1 -> 7/3: {\\"note\\":\\"G3\\"}", + "7/3 -> 8/3: {\\"note\\":\\"B3\\"}", + "8/3 -> 3/1: {\\"note\\":\\"D4\\"}", + "3/1 -> 10/3: {\\"note\\":\\"C3\\"}", + "10/3 -> 11/3: {\\"note\\":\\"E3\\"}", + "11/3 -> 4/1: {\\"note\\":\\"G3\\"}", +] +`; + +exports[`runs examples > example "add" example index 1 1`] = ` +[ + "0/1 -> 1/3: {\\"note\\":48}", + "1/3 -> 2/3: {\\"note\\":52}", + "2/3 -> 1/1: {\\"note\\":55}", + "1/1 -> 4/3: {\\"note\\":53}", + "4/3 -> 5/3: {\\"note\\":57}", + "5/3 -> 2/1: {\\"note\\":60}", + "2/1 -> 7/3: {\\"note\\":55}", + "7/3 -> 8/3: {\\"note\\":59}", + "8/3 -> 3/1: {\\"note\\":62}", + "3/1 -> 10/3: {\\"note\\":48}", + "10/3 -> 11/3: {\\"note\\":52}", + "11/3 -> 4/1: {\\"note\\":55}", +] +`; + +exports[`runs examples > example "almostAlways" example index 0 1`] = ` +[ + "0/1 -> 1/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "1/8 -> 1/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "1/4 -> 3/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "3/8 -> 1/2: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "1/2 -> 5/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "5/8 -> 3/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "3/4 -> 7/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "7/8 -> 1/1: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "1/1 -> 9/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "9/8 -> 5/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "5/4 -> 11/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "11/8 -> 3/2: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "3/2 -> 13/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "13/8 -> 7/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "7/4 -> 15/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "15/8 -> 2/1: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "2/1 -> 17/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "17/8 -> 9/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "9/4 -> 19/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "19/8 -> 5/2: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "5/2 -> 21/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "21/8 -> 11/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "11/4 -> 23/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "23/8 -> 3/1: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "25/8 -> 13/4: {\\"s\\":\\"hh\\"}", + "29/8 -> 15/4: {\\"s\\":\\"hh\\"}", + "3/1 -> 25/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "13/4 -> 27/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "27/8 -> 7/2: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "7/2 -> 29/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "15/4 -> 31/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "31/8 -> 4/1: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", +] +`; + +exports[`runs examples > example "almostNever" example index 0 1`] = ` +[ + "0/1 -> 1/8: {\\"s\\":\\"hh\\"}", + "1/8 -> 1/4: {\\"s\\":\\"hh\\"}", + "1/4 -> 3/8: {\\"s\\":\\"hh\\"}", + "3/8 -> 1/2: {\\"s\\":\\"hh\\"}", + "1/2 -> 5/8: {\\"s\\":\\"hh\\"}", + "5/8 -> 3/4: {\\"s\\":\\"hh\\"}", + "3/4 -> 7/8: {\\"s\\":\\"hh\\"}", + "7/8 -> 1/1: {\\"s\\":\\"hh\\"}", + "1/1 -> 9/8: {\\"s\\":\\"hh\\"}", + "11/8 -> 3/2: {\\"s\\":\\"hh\\"}", + "3/2 -> 13/8: {\\"s\\":\\"hh\\"}", + "13/8 -> 7/4: {\\"s\\":\\"hh\\"}", + "7/4 -> 15/8: {\\"s\\":\\"hh\\"}", + "15/8 -> 2/1: {\\"s\\":\\"hh\\"}", + "9/8 -> 5/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "5/4 -> 11/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "2/1 -> 17/8: {\\"s\\":\\"hh\\"}", + "9/4 -> 19/8: {\\"s\\":\\"hh\\"}", + "19/8 -> 5/2: {\\"s\\":\\"hh\\"}", + "5/2 -> 21/8: {\\"s\\":\\"hh\\"}", + "21/8 -> 11/4: {\\"s\\":\\"hh\\"}", + "11/4 -> 23/8: {\\"s\\":\\"hh\\"}", + "23/8 -> 3/1: {\\"s\\":\\"hh\\"}", + "17/8 -> 9/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "25/8 -> 13/4: {\\"s\\":\\"hh\\"}", + "13/4 -> 27/8: {\\"s\\":\\"hh\\"}", + "27/8 -> 7/2: {\\"s\\":\\"hh\\"}", + "7/2 -> 29/8: {\\"s\\":\\"hh\\"}", + "29/8 -> 15/4: {\\"s\\":\\"hh\\"}", + "15/4 -> 31/8: {\\"s\\":\\"hh\\"}", + "31/8 -> 4/1: {\\"s\\":\\"hh\\"}", + "3/1 -> 25/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", +] +`; + +exports[`runs examples > example "always" example index 0 1`] = ` +[ + "0/1 -> 1/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "1/8 -> 1/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "1/4 -> 3/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "3/8 -> 1/2: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "1/2 -> 5/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "5/8 -> 3/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "3/4 -> 7/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "7/8 -> 1/1: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "1/1 -> 9/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "9/8 -> 5/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "5/4 -> 11/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "11/8 -> 3/2: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "3/2 -> 13/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "13/8 -> 7/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "7/4 -> 15/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "15/8 -> 2/1: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "2/1 -> 17/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "17/8 -> 9/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "9/4 -> 19/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "19/8 -> 5/2: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "5/2 -> 21/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "21/8 -> 11/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "11/4 -> 23/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "23/8 -> 3/1: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "3/1 -> 25/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "25/8 -> 13/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "13/4 -> 27/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "27/8 -> 7/2: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "7/2 -> 29/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "29/8 -> 15/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "15/4 -> 31/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "31/8 -> 4/1: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", +] +`; + +exports[`runs examples > example "amp" example index 0 1`] = ` +[ + "0/1 -> 1/8: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "0/1 -> 1/8: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "1/8 -> 1/4: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "1/8 -> 1/4: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "1/4 -> 3/8: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "1/4 -> 3/8: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "3/8 -> 1/2: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "3/8 -> 1/2: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "1/2 -> 5/8: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "5/8 -> 3/4: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "5/8 -> 3/4: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "3/4 -> 7/8: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "3/4 -> 7/8: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "7/8 -> 1/1: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "1/1 -> 9/8: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "1/1 -> 9/8: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "9/8 -> 5/4: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "9/8 -> 5/4: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "5/4 -> 11/8: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "5/4 -> 11/8: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "11/8 -> 3/2: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "11/8 -> 3/2: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "3/2 -> 13/8: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "13/8 -> 7/4: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "13/8 -> 7/4: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "7/4 -> 15/8: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "7/4 -> 15/8: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "15/8 -> 2/1: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "2/1 -> 17/8: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "2/1 -> 17/8: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "17/8 -> 9/4: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "17/8 -> 9/4: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "9/4 -> 19/8: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "9/4 -> 19/8: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "19/8 -> 5/2: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "19/8 -> 5/2: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "5/2 -> 21/8: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "21/8 -> 11/4: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "21/8 -> 11/4: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "11/4 -> 23/8: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "11/4 -> 23/8: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "23/8 -> 3/1: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "3/1 -> 25/8: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "3/1 -> 25/8: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "25/8 -> 13/4: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "25/8 -> 13/4: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "13/4 -> 27/8: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "13/4 -> 27/8: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "27/8 -> 7/2: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "27/8 -> 7/2: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "7/2 -> 29/8: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "29/8 -> 15/4: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "29/8 -> 15/4: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "15/4 -> 31/8: {\\"s\\":\\"bd\\",\\"amp\\":0.1}", + "15/4 -> 31/8: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", + "31/8 -> 4/1: {\\"s\\":\\"bd\\",\\"amp\\":0.5}", +] +`; + +exports[`runs examples > example "apply" example index 0 1`] = ` +[ + "0/1 -> 1/1: {\\"note\\":\\"C3\\"}", + "0/1 -> 1/1: {\\"note\\":\\"Eb3\\"}", + "0/1 -> 1/1: {\\"note\\":\\"G3\\"}", + "1/1 -> 2/1: {\\"note\\":\\"Eb3\\"}", + "1/1 -> 2/1: {\\"note\\":\\"G3\\"}", + "1/1 -> 2/1: {\\"note\\":\\"Bb3\\"}", + "2/1 -> 3/1: {\\"note\\":\\"G3\\"}", + "2/1 -> 3/1: {\\"note\\":\\"Bb3\\"}", + "2/1 -> 3/1: {\\"note\\":\\"D4\\"}", + "3/1 -> 4/1: {\\"note\\":\\"C3\\"}", + "3/1 -> 4/1: {\\"note\\":\\"Eb3\\"}", + "3/1 -> 4/1: {\\"note\\":\\"G3\\"}", +] +`; + +exports[`runs examples > example "bandf" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"bd\\",\\"bandf\\":1000}", + "1/2 -> 1/1: {\\"s\\":\\"sd\\",\\"bandf\\":1000}", + "0/1 -> 1/3: {\\"s\\":\\"hh\\",\\"bandf\\":1000}", + "1/3 -> 2/3: {\\"s\\":\\"hh\\",\\"bandf\\":1000}", + "2/3 -> 1/1: {\\"s\\":\\"hh\\",\\"bandf\\":1000}", + "1/1 -> 3/2: {\\"s\\":\\"bd\\",\\"bandf\\":2000}", + "3/2 -> 2/1: {\\"s\\":\\"sd\\",\\"bandf\\":2000}", + "1/1 -> 4/3: {\\"s\\":\\"hh\\",\\"bandf\\":2000}", + "4/3 -> 5/3: {\\"s\\":\\"hh\\",\\"bandf\\":2000}", + "5/3 -> 2/1: {\\"s\\":\\"hh\\",\\"bandf\\":2000}", + "2/1 -> 5/2: {\\"s\\":\\"bd\\",\\"bandf\\":4000}", + "5/2 -> 3/1: {\\"s\\":\\"sd\\",\\"bandf\\":4000}", + "2/1 -> 7/3: {\\"s\\":\\"hh\\",\\"bandf\\":4000}", + "7/3 -> 8/3: {\\"s\\":\\"hh\\",\\"bandf\\":4000}", + "8/3 -> 3/1: {\\"s\\":\\"hh\\",\\"bandf\\":4000}", + "3/1 -> 7/2: {\\"s\\":\\"bd\\",\\"bandf\\":8000}", + "7/2 -> 4/1: {\\"s\\":\\"sd\\",\\"bandf\\":8000}", + "3/1 -> 10/3: {\\"s\\":\\"hh\\",\\"bandf\\":8000}", + "10/3 -> 11/3: {\\"s\\":\\"hh\\",\\"bandf\\":8000}", + "11/3 -> 4/1: {\\"s\\":\\"hh\\",\\"bandf\\":8000}", +] +`; + +exports[`runs examples > example "bandq" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"bd\\",\\"bandf\\":500,\\"bandq\\":0}", + "1/2 -> 1/1: {\\"s\\":\\"sd\\",\\"bandf\\":500,\\"bandq\\":0}", + "1/1 -> 3/2: {\\"s\\":\\"bd\\",\\"bandf\\":500,\\"bandq\\":1}", + "3/2 -> 2/1: {\\"s\\":\\"sd\\",\\"bandf\\":500,\\"bandq\\":1}", + "2/1 -> 5/2: {\\"s\\":\\"bd\\",\\"bandf\\":500,\\"bandq\\":2}", + "5/2 -> 3/1: {\\"s\\":\\"sd\\",\\"bandf\\":500,\\"bandq\\":2}", + "3/1 -> 7/2: {\\"s\\":\\"bd\\",\\"bandf\\":500,\\"bandq\\":3}", + "7/2 -> 4/1: {\\"s\\":\\"sd\\",\\"bandf\\":500,\\"bandq\\":3}", +] +`; + +exports[`runs examples > example "bank" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"bd\\",\\"bank\\":\\"RolandTR909\\"}", + "1/2 -> 1/1: {\\"s\\":\\"sd\\",\\"bank\\":\\"RolandTR909\\"}", + "1/1 -> 3/2: {\\"s\\":\\"bd\\",\\"bank\\":\\"RolandTR909\\"}", + "3/2 -> 2/1: {\\"s\\":\\"sd\\",\\"bank\\":\\"RolandTR909\\"}", + "2/1 -> 5/2: {\\"s\\":\\"bd\\",\\"bank\\":\\"RolandTR909\\"}", + "5/2 -> 3/1: {\\"s\\":\\"sd\\",\\"bank\\":\\"RolandTR909\\"}", + "3/1 -> 7/2: {\\"s\\":\\"bd\\",\\"bank\\":\\"RolandTR909\\"}", + "7/2 -> 4/1: {\\"s\\":\\"sd\\",\\"bank\\":\\"RolandTR909\\"}", +] +`; + +exports[`runs examples > example "begin" example index 0 1`] = ` +[ + "0/1 -> 1/1: {\\"s\\":\\"rave\\",\\"begin\\":0}", + "1/1 -> 2/1: {\\"s\\":\\"rave\\",\\"begin\\":0.25}", + "2/1 -> 3/1: {\\"s\\":\\"rave\\",\\"begin\\":0.5}", + "3/1 -> 4/1: {\\"s\\":\\"rave\\",\\"begin\\":0.75}", +] +`; + +exports[`runs examples > example "cat" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"hh\\"}", + "1/2 -> 1/1: {\\"s\\":\\"hh\\"}", + "1/1 -> 9/8: {\\"n\\":\\"c2\\"}", + "11/8 -> 3/2: {\\"n\\":\\"c2\\"}", + "7/4 -> 15/8: {\\"n\\":\\"c2\\"}", + "2/1 -> 5/2: {\\"s\\":\\"hh\\"}", + "5/2 -> 3/1: {\\"s\\":\\"hh\\"}", + "3/1 -> 25/8: {\\"n\\":\\"c2\\"}", + "27/8 -> 7/2: {\\"n\\":\\"c2\\"}", + "15/4 -> 31/8: {\\"n\\":\\"c2\\"}", +] +`; + +exports[`runs examples > example "cat" example index 0 2`] = ` +[ + "0/1 -> 1/1: {\\"note\\":\\"e5\\"}", + "1/1 -> 2/1: {\\"note\\":\\"b4\\"}", + "2/1 -> 5/2: {\\"note\\":\\"d5\\"}", + "5/2 -> 3/1: {\\"note\\":\\"c5\\"}", + "3/1 -> 4/1: {\\"note\\":\\"e5\\"}", +] +`; + +exports[`runs examples > example "chooseCycles" example index 0 1`] = ` +[ + "0/1 -> 1/4: {\\"s\\":\\"bd\\"}", + "1/4 -> 1/2: {\\"s\\":\\"hh\\"}", + "1/2 -> 3/4: {\\"s\\":\\"hh\\"}", + "3/4 -> 1/1: {\\"s\\":\\"hh\\"}", + "1/1 -> 5/4: {\\"s\\":\\"bd\\"}", + "5/4 -> 3/2: {\\"s\\":\\"bd\\"}", + "3/2 -> 7/4: {\\"s\\":\\"sd\\"}", + "7/4 -> 2/1: {\\"s\\":\\"hh\\"}", + "2/1 -> 9/4: {\\"s\\":\\"hh\\"}", + "9/4 -> 5/2: {\\"s\\":\\"hh\\"}", + "5/2 -> 11/4: {\\"s\\":\\"hh\\"}", + "11/4 -> 3/1: {\\"s\\":\\"sd\\"}", + "3/1 -> 13/4: {\\"s\\":\\"hh\\"}", + "13/4 -> 7/2: {\\"s\\":\\"hh\\"}", + "7/2 -> 15/4: {\\"s\\":\\"sd\\"}", + "15/4 -> 4/1: {\\"s\\":\\"bd\\"}", +] +`; + +exports[`runs examples > example "chooseCycles" example index 1 1`] = ` +[ + "0/1 -> 1/4: {\\"s\\":\\"bd\\"}", + "1/4 -> 1/2: {\\"s\\":\\"hh\\"}", + "1/2 -> 3/4: {\\"s\\":\\"hh\\"}", + "3/4 -> 1/1: {\\"s\\":\\"hh\\"}", + "1/1 -> 5/4: {\\"s\\":\\"bd\\"}", + "5/4 -> 3/2: {\\"s\\":\\"bd\\"}", + "3/2 -> 7/4: {\\"s\\":\\"sd\\"}", + "7/4 -> 2/1: {\\"s\\":\\"hh\\"}", + "2/1 -> 9/4: {\\"s\\":\\"hh\\"}", + "9/4 -> 5/2: {\\"s\\":\\"hh\\"}", + "5/2 -> 11/4: {\\"s\\":\\"hh\\"}", + "11/4 -> 3/1: {\\"s\\":\\"sd\\"}", + "3/1 -> 13/4: {\\"s\\":\\"hh\\"}", + "13/4 -> 7/2: {\\"s\\":\\"hh\\"}", + "7/2 -> 15/4: {\\"s\\":\\"sd\\"}", + "15/4 -> 4/1: {\\"s\\":\\"bd\\"}", +] +`; + +exports[`runs examples > example "chop" example index 0 1`] = ` +[ + "0/1 -> 1/1: {\\"s\\":\\"rhodes\\",\\"begin\\":0.75,\\"end\\":1,\\"speed\\":0.25,\\"unit\\":\\"c\\"}", + "1/1 -> 2/1: {\\"s\\":\\"rhodes\\",\\"begin\\":0.5,\\"end\\":0.75,\\"speed\\":0.25,\\"unit\\":\\"c\\"}", + "2/1 -> 3/1: {\\"s\\":\\"rhodes\\",\\"begin\\":0.25,\\"end\\":0.5,\\"speed\\":0.25,\\"unit\\":\\"c\\"}", + "3/1 -> 4/1: {\\"s\\":\\"rhodes\\",\\"begin\\":0,\\"end\\":0.25,\\"speed\\":0.25,\\"unit\\":\\"c\\"}", +] +`; + +exports[`runs examples > example "chunk" example index 0 1`] = ` +[ + "0/1 -> 1/4: {\\"note\\":\\"A4\\"}", + "1/4 -> 1/2: {\\"note\\":\\"B3\\"}", + "1/2 -> 3/4: {\\"note\\":\\"C4\\"}", + "3/4 -> 1/1: {\\"note\\":\\"D4\\"}", + "7/4 -> 2/1: {\\"note\\":\\"D5\\"}", + "1/1 -> 5/4: {\\"note\\":\\"A3\\"}", + "5/4 -> 3/2: {\\"note\\":\\"B3\\"}", + "3/2 -> 7/4: {\\"note\\":\\"C4\\"}", + "5/2 -> 11/4: {\\"note\\":\\"C5\\"}", + "2/1 -> 9/4: {\\"note\\":\\"A3\\"}", + "9/4 -> 5/2: {\\"note\\":\\"B3\\"}", + "11/4 -> 3/1: {\\"note\\":\\"D4\\"}", + "13/4 -> 7/2: {\\"note\\":\\"B4\\"}", + "3/1 -> 13/4: {\\"note\\":\\"A3\\"}", + "7/2 -> 15/4: {\\"note\\":\\"C4\\"}", + "15/4 -> 4/1: {\\"note\\":\\"D4\\"}", +] +`; + +exports[`runs examples > example "chunkBack" example index 0 1`] = ` +[ + "0/1 -> 1/4: {\\"note\\":\\"A4\\"}", + "1/4 -> 1/2: {\\"note\\":\\"B3\\"}", + "1/2 -> 3/4: {\\"note\\":\\"C4\\"}", + "3/4 -> 1/1: {\\"note\\":\\"D4\\"}", + "5/4 -> 3/2: {\\"note\\":\\"B4\\"}", + "1/1 -> 5/4: {\\"note\\":\\"A3\\"}", + "3/2 -> 7/4: {\\"note\\":\\"C4\\"}", + "7/4 -> 2/1: {\\"note\\":\\"D4\\"}", + "5/2 -> 11/4: {\\"note\\":\\"C5\\"}", + "2/1 -> 9/4: {\\"note\\":\\"A3\\"}", + "9/4 -> 5/2: {\\"note\\":\\"B3\\"}", + "11/4 -> 3/1: {\\"note\\":\\"D4\\"}", + "15/4 -> 4/1: {\\"note\\":\\"D5\\"}", + "3/1 -> 13/4: {\\"note\\":\\"A3\\"}", + "13/4 -> 7/2: {\\"note\\":\\"B3\\"}", + "7/2 -> 15/4: {\\"note\\":\\"C4\\"}", +] +`; + +exports[`runs examples > example "coarse" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"bd\\",\\"coarse\\":1}", + "1/2 -> 1/1: {\\"s\\":\\"sd\\",\\"coarse\\":1}", + "0/1 -> 1/4: {\\"s\\":\\"hh\\",\\"coarse\\":1}", + "1/4 -> 1/2: {\\"s\\":\\"hh\\",\\"coarse\\":1}", + "1/2 -> 3/4: {\\"s\\":\\"hh\\",\\"coarse\\":1}", + "3/4 -> 1/1: {\\"s\\":\\"hh\\",\\"coarse\\":1}", + "1/1 -> 3/2: {\\"s\\":\\"bd\\",\\"coarse\\":4}", + "3/2 -> 2/1: {\\"s\\":\\"sd\\",\\"coarse\\":4}", + "1/1 -> 5/4: {\\"s\\":\\"hh\\",\\"coarse\\":4}", + "5/4 -> 3/2: {\\"s\\":\\"hh\\",\\"coarse\\":4}", + "3/2 -> 7/4: {\\"s\\":\\"hh\\",\\"coarse\\":4}", + "7/4 -> 2/1: {\\"s\\":\\"hh\\",\\"coarse\\":4}", + "2/1 -> 5/2: {\\"s\\":\\"bd\\",\\"coarse\\":8}", + "5/2 -> 3/1: {\\"s\\":\\"sd\\",\\"coarse\\":8}", + "2/1 -> 9/4: {\\"s\\":\\"hh\\",\\"coarse\\":8}", + "9/4 -> 5/2: {\\"s\\":\\"hh\\",\\"coarse\\":8}", + "5/2 -> 11/4: {\\"s\\":\\"hh\\",\\"coarse\\":8}", + "11/4 -> 3/1: {\\"s\\":\\"hh\\",\\"coarse\\":8}", + "3/1 -> 7/2: {\\"s\\":\\"bd\\",\\"coarse\\":16}", + "7/2 -> 4/1: {\\"s\\":\\"sd\\",\\"coarse\\":16}", + "3/1 -> 13/4: {\\"s\\":\\"hh\\",\\"coarse\\":16}", + "13/4 -> 7/2: {\\"s\\":\\"hh\\",\\"coarse\\":16}", + "7/2 -> 15/4: {\\"s\\":\\"hh\\",\\"coarse\\":16}", + "15/4 -> 4/1: {\\"s\\":\\"hh\\",\\"coarse\\":16}", +] +`; + +exports[`runs examples > example "cosine" example index 0 1`] = ` +[ + "0/1 -> 1/8: {\\"note\\":\\"Eb4\\"}", + "0/1 -> 1/8: {\\"note\\":\\"D5\\"}", + "1/8 -> 1/4: {\\"note\\":\\"Ab4\\"}", + "1/8 -> 1/4: {\\"note\\":\\"C5\\"}", + "1/4 -> 3/8: {\\"note\\":\\"C5\\"}", + "1/4 -> 3/8: {\\"note\\":\\"Ab4\\"}", + "3/8 -> 1/2: {\\"note\\":\\"D5\\"}", + "3/8 -> 1/2: {\\"note\\":\\"Eb4\\"}", + "1/2 -> 5/8: {\\"note\\":\\"D5\\"}", + "1/2 -> 5/8: {\\"note\\":\\"C4\\"}", + "5/8 -> 3/4: {\\"note\\":\\"C5\\"}", + "5/8 -> 3/4: {\\"note\\":\\"G3\\"}", + "3/4 -> 7/8: {\\"note\\":\\"Ab4\\"}", + "3/4 -> 7/8: {\\"note\\":\\"Eb3\\"}", + "7/8 -> 1/1: {\\"note\\":\\"Eb4\\"}", + "7/8 -> 1/1: {\\"note\\":\\"D3\\"}", + "1/1 -> 9/8: {\\"note\\":\\"C4\\"}", + "1/1 -> 9/8: {\\"note\\":\\"D3\\"}", + "9/8 -> 5/4: {\\"note\\":\\"G3\\"}", + "9/8 -> 5/4: {\\"note\\":\\"Eb3\\"}", + "5/4 -> 11/8: {\\"note\\":\\"Eb3\\"}", + "5/4 -> 11/8: {\\"note\\":\\"G3\\"}", + "11/8 -> 3/2: {\\"note\\":\\"D3\\"}", + "11/8 -> 3/2: {\\"note\\":\\"C4\\"}", + "3/2 -> 13/8: {\\"note\\":\\"D3\\"}", + "3/2 -> 13/8: {\\"note\\":\\"Eb4\\"}", + "13/8 -> 7/4: {\\"note\\":\\"Eb3\\"}", + "13/8 -> 7/4: {\\"note\\":\\"Ab4\\"}", + "7/4 -> 15/8: {\\"note\\":\\"G3\\"}", + "7/4 -> 15/8: {\\"note\\":\\"C5\\"}", + "15/8 -> 2/1: {\\"note\\":\\"C4\\"}", + "15/8 -> 2/1: {\\"note\\":\\"D5\\"}", + "2/1 -> 17/8: {\\"note\\":\\"Eb4\\"}", + "2/1 -> 17/8: {\\"note\\":\\"D5\\"}", + "17/8 -> 9/4: {\\"note\\":\\"Ab4\\"}", + "17/8 -> 9/4: {\\"note\\":\\"C5\\"}", + "9/4 -> 19/8: {\\"note\\":\\"C5\\"}", + "9/4 -> 19/8: {\\"note\\":\\"Ab4\\"}", + "19/8 -> 5/2: {\\"note\\":\\"D5\\"}", + "19/8 -> 5/2: {\\"note\\":\\"Eb4\\"}", + "5/2 -> 21/8: {\\"note\\":\\"D5\\"}", + "5/2 -> 21/8: {\\"note\\":\\"C4\\"}", + "21/8 -> 11/4: {\\"note\\":\\"C5\\"}", + "21/8 -> 11/4: {\\"note\\":\\"G3\\"}", + "11/4 -> 23/8: {\\"note\\":\\"Ab4\\"}", + "11/4 -> 23/8: {\\"note\\":\\"Eb3\\"}", + "23/8 -> 3/1: {\\"note\\":\\"Eb4\\"}", + "23/8 -> 3/1: {\\"note\\":\\"D3\\"}", + "3/1 -> 25/8: {\\"note\\":\\"C4\\"}", + "3/1 -> 25/8: {\\"note\\":\\"D3\\"}", + "25/8 -> 13/4: {\\"note\\":\\"G3\\"}", + "25/8 -> 13/4: {\\"note\\":\\"Eb3\\"}", + "13/4 -> 27/8: {\\"note\\":\\"Eb3\\"}", + "13/4 -> 27/8: {\\"note\\":\\"G3\\"}", + "27/8 -> 7/2: {\\"note\\":\\"D3\\"}", + "27/8 -> 7/2: {\\"note\\":\\"C4\\"}", + "7/2 -> 29/8: {\\"note\\":\\"D3\\"}", + "7/2 -> 29/8: {\\"note\\":\\"Eb4\\"}", + "29/8 -> 15/4: {\\"note\\":\\"Eb3\\"}", + "29/8 -> 15/4: {\\"note\\":\\"Ab4\\"}", + "15/4 -> 31/8: {\\"note\\":\\"G3\\"}", + "15/4 -> 31/8: {\\"note\\":\\"C5\\"}", + "31/8 -> 4/1: {\\"note\\":\\"C4\\"}", + "31/8 -> 4/1: {\\"note\\":\\"D5\\"}", +] +`; + +exports[`runs examples > example "crush" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"bd\\",\\"crush\\":16}", + "0/1 -> 1/6: {\\"s\\":\\"hh\\",\\"crush\\":16}", + "1/6 -> 1/3: {\\"s\\":\\"hh\\",\\"crush\\":16}", + "1/3 -> 1/2: {\\"s\\":\\"hh\\",\\"crush\\":16}", + "1/2 -> 1/1: {\\"s\\":\\"sd\\",\\"crush\\":16}", + "1/2 -> 2/3: {\\"s\\":\\"hh\\",\\"crush\\":16}", + "2/3 -> 5/6: {\\"s\\":\\"hh\\",\\"crush\\":16}", + "5/6 -> 1/1: {\\"s\\":\\"hh\\",\\"crush\\":16}", + "1/1 -> 3/2: {\\"s\\":\\"bd\\",\\"crush\\":8}", + "1/1 -> 7/6: {\\"s\\":\\"hh\\",\\"crush\\":8}", + "7/6 -> 4/3: {\\"s\\":\\"hh\\",\\"crush\\":8}", + "4/3 -> 3/2: {\\"s\\":\\"hh\\",\\"crush\\":8}", + "3/2 -> 2/1: {\\"s\\":\\"sd\\",\\"crush\\":8}", + "3/2 -> 5/3: {\\"s\\":\\"hh\\",\\"crush\\":8}", + "5/3 -> 11/6: {\\"s\\":\\"hh\\",\\"crush\\":8}", + "11/6 -> 2/1: {\\"s\\":\\"hh\\",\\"crush\\":8}", + "2/1 -> 5/2: {\\"s\\":\\"bd\\",\\"crush\\":7}", + "2/1 -> 13/6: {\\"s\\":\\"hh\\",\\"crush\\":7}", + "13/6 -> 7/3: {\\"s\\":\\"hh\\",\\"crush\\":7}", + "7/3 -> 5/2: {\\"s\\":\\"hh\\",\\"crush\\":7}", + "5/2 -> 3/1: {\\"s\\":\\"sd\\",\\"crush\\":7}", + "5/2 -> 8/3: {\\"s\\":\\"hh\\",\\"crush\\":7}", + "8/3 -> 17/6: {\\"s\\":\\"hh\\",\\"crush\\":7}", + "17/6 -> 3/1: {\\"s\\":\\"hh\\",\\"crush\\":7}", + "3/1 -> 7/2: {\\"s\\":\\"bd\\",\\"crush\\":6}", + "3/1 -> 19/6: {\\"s\\":\\"hh\\",\\"crush\\":6}", + "19/6 -> 10/3: {\\"s\\":\\"hh\\",\\"crush\\":6}", + "10/3 -> 7/2: {\\"s\\":\\"hh\\",\\"crush\\":6}", + "7/2 -> 4/1: {\\"s\\":\\"sd\\",\\"crush\\":6}", + "7/2 -> 11/3: {\\"s\\":\\"hh\\",\\"crush\\":6}", + "11/3 -> 23/6: {\\"s\\":\\"hh\\",\\"crush\\":6}", + "23/6 -> 4/1: {\\"s\\":\\"hh\\",\\"crush\\":6}", +] +`; + +exports[`runs examples > example "cut" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"bd\\",\\"cut\\":1}", + "1/2 -> 1/1: {\\"s\\":\\"sax\\",\\"cut\\":1}", + "1/1 -> 3/2: {\\"s\\":\\"bd\\",\\"cut\\":1}", + "3/2 -> 2/1: {\\"s\\":\\"sax\\",\\"cut\\":1}", + "2/1 -> 5/2: {\\"s\\":\\"bd\\",\\"cut\\":1}", + "5/2 -> 3/1: {\\"s\\":\\"sax\\",\\"cut\\":1}", + "3/1 -> 7/2: {\\"s\\":\\"bd\\",\\"cut\\":1}", + "7/2 -> 4/1: {\\"s\\":\\"sax\\",\\"cut\\":1}", +] +`; + +exports[`runs examples > example "cutoff" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"bd\\",\\"cutoff\\":4000}", + "1/2 -> 1/1: {\\"s\\":\\"sd\\",\\"cutoff\\":4000}", + "0/1 -> 1/3: {\\"s\\":\\"hh\\",\\"cutoff\\":4000}", + "1/3 -> 2/3: {\\"s\\":\\"hh\\",\\"cutoff\\":4000}", + "2/3 -> 1/1: {\\"s\\":\\"hh\\",\\"cutoff\\":4000}", + "1/1 -> 3/2: {\\"s\\":\\"bd\\",\\"cutoff\\":2000}", + "3/2 -> 2/1: {\\"s\\":\\"sd\\",\\"cutoff\\":2000}", + "1/1 -> 4/3: {\\"s\\":\\"hh\\",\\"cutoff\\":2000}", + "4/3 -> 5/3: {\\"s\\":\\"hh\\",\\"cutoff\\":2000}", + "5/3 -> 2/1: {\\"s\\":\\"hh\\",\\"cutoff\\":2000}", + "2/1 -> 5/2: {\\"s\\":\\"bd\\",\\"cutoff\\":1000}", + "5/2 -> 3/1: {\\"s\\":\\"sd\\",\\"cutoff\\":1000}", + "2/1 -> 7/3: {\\"s\\":\\"hh\\",\\"cutoff\\":1000}", + "7/3 -> 8/3: {\\"s\\":\\"hh\\",\\"cutoff\\":1000}", + "8/3 -> 3/1: {\\"s\\":\\"hh\\",\\"cutoff\\":1000}", + "3/1 -> 7/2: {\\"s\\":\\"bd\\",\\"cutoff\\":500}", + "7/2 -> 4/1: {\\"s\\":\\"sd\\",\\"cutoff\\":500}", + "3/1 -> 10/3: {\\"s\\":\\"hh\\",\\"cutoff\\":500}", + "10/3 -> 11/3: {\\"s\\":\\"hh\\",\\"cutoff\\":500}", + "11/3 -> 4/1: {\\"s\\":\\"hh\\",\\"cutoff\\":500}", +] +`; + +exports[`runs examples > example "degrade" example index 0 1`] = ` +[ + "0/1 -> 1/8: {\\"s\\":\\"hh\\"}", + "1/4 -> 3/8: {\\"s\\":\\"hh\\"}", + "3/4 -> 7/8: {\\"s\\":\\"hh\\"}", + "7/8 -> 1/1: {\\"s\\":\\"hh\\"}", + "1/1 -> 9/8: {\\"s\\":\\"hh\\"}", + "11/8 -> 3/2: {\\"s\\":\\"hh\\"}", + "15/8 -> 2/1: {\\"s\\":\\"hh\\"}", + "9/4 -> 19/8: {\\"s\\":\\"hh\\"}", + "5/2 -> 21/8: {\\"s\\":\\"hh\\"}", + "21/8 -> 11/4: {\\"s\\":\\"hh\\"}", + "11/4 -> 23/8: {\\"s\\":\\"hh\\"}", + "25/8 -> 13/4: {\\"s\\":\\"hh\\"}", + "27/8 -> 7/2: {\\"s\\":\\"hh\\"}", + "7/2 -> 29/8: {\\"s\\":\\"hh\\"}", + "29/8 -> 15/4: {\\"s\\":\\"hh\\"}", +] +`; + +exports[`runs examples > example "degrade" example index 1 1`] = ` +[ + "0/1 -> 1/8: {\\"s\\":\\"hh\\"}", + "3/8 -> 1/2: {\\"s\\":\\"hh\\"}", + "1/2 -> 5/8: {\\"s\\":\\"hh\\"}", + "5/8 -> 3/4: {\\"s\\":\\"hh\\"}", + "5/4 -> 11/8: {\\"s\\":\\"hh\\"}", + "3/2 -> 13/8: {\\"s\\":\\"hh\\"}", + "13/8 -> 7/4: {\\"s\\":\\"hh\\"}", + "9/4 -> 19/8: {\\"s\\":\\"hh\\"}", + "19/8 -> 5/2: {\\"s\\":\\"hh\\"}", + "5/2 -> 21/8: {\\"s\\":\\"hh\\"}", + "3/1 -> 25/8: {\\"s\\":\\"hh\\"}", + "13/4 -> 27/8: {\\"s\\":\\"hh\\"}", + "29/8 -> 15/4: {\\"s\\":\\"hh\\"}", +] +`; + +exports[`runs examples > example "degradeBy" example index 0 1`] = ` +[ + "0/1 -> 1/8: {\\"s\\":\\"hh\\"}", + "1/8 -> 1/4: {\\"s\\":\\"hh\\"}", + "1/4 -> 3/8: {\\"s\\":\\"hh\\"}", + "3/8 -> 1/2: {\\"s\\":\\"hh\\"}", + "5/8 -> 3/4: {\\"s\\":\\"hh\\"}", + "3/4 -> 7/8: {\\"s\\":\\"hh\\"}", + "7/8 -> 1/1: {\\"s\\":\\"hh\\"}", + "1/1 -> 9/8: {\\"s\\":\\"hh\\"}", + "11/8 -> 3/2: {\\"s\\":\\"hh\\"}", + "13/8 -> 7/4: {\\"s\\":\\"hh\\"}", + "7/4 -> 15/8: {\\"s\\":\\"hh\\"}", + "15/8 -> 2/1: {\\"s\\":\\"hh\\"}", + "2/1 -> 17/8: {\\"s\\":\\"hh\\"}", + "9/4 -> 19/8: {\\"s\\":\\"hh\\"}", + "5/2 -> 21/8: {\\"s\\":\\"hh\\"}", + "21/8 -> 11/4: {\\"s\\":\\"hh\\"}", + "11/4 -> 23/8: {\\"s\\":\\"hh\\"}", + "23/8 -> 3/1: {\\"s\\":\\"hh\\"}", + "25/8 -> 13/4: {\\"s\\":\\"hh\\"}", + "13/4 -> 27/8: {\\"s\\":\\"hh\\"}", + "27/8 -> 7/2: {\\"s\\":\\"hh\\"}", + "7/2 -> 29/8: {\\"s\\":\\"hh\\"}", + "29/8 -> 15/4: {\\"s\\":\\"hh\\"}", + "31/8 -> 4/1: {\\"s\\":\\"hh\\"}", +] +`; + +exports[`runs examples > example "degradeBy" example index 1 1`] = ` +[ + "0/1 -> 1/8: {\\"s\\":\\"hh\\"}", + "1/8 -> 1/4: {\\"s\\":\\"hh\\"}", + "1/4 -> 3/8: {\\"s\\":\\"hh\\"}", + "3/8 -> 1/2: {\\"s\\":\\"hh\\"}", + "5/8 -> 3/4: {\\"s\\":\\"hh\\"}", + "3/4 -> 7/8: {\\"s\\":\\"hh\\"}", + "7/8 -> 1/1: {\\"s\\":\\"hh\\"}", + "1/1 -> 9/8: {\\"s\\":\\"hh\\"}", + "9/8 -> 5/4: {\\"s\\":\\"hh\\"}", + "5/4 -> 11/8: {\\"s\\":\\"hh\\"}", + "11/8 -> 3/2: {\\"s\\":\\"hh\\"}", + "13/8 -> 7/4: {\\"s\\":\\"hh\\"}", + "7/4 -> 15/8: {\\"s\\":\\"hh\\"}", + "15/8 -> 2/1: {\\"s\\":\\"hh\\"}", + "2/1 -> 17/8: {\\"s\\":\\"hh\\"}", + "9/4 -> 19/8: {\\"s\\":\\"hh\\"}", + "19/8 -> 5/2: {\\"s\\":\\"hh\\"}", + "5/2 -> 21/8: {\\"s\\":\\"hh\\"}", + "21/8 -> 11/4: {\\"s\\":\\"hh\\"}", + "11/4 -> 23/8: {\\"s\\":\\"hh\\"}", + "3/1 -> 25/8: {\\"s\\":\\"hh\\"}", + "25/8 -> 13/4: {\\"s\\":\\"hh\\"}", + "13/4 -> 27/8: {\\"s\\":\\"hh\\"}", + "29/8 -> 15/4: {\\"s\\":\\"hh\\"}", + "15/4 -> 31/8: {\\"s\\":\\"hh\\"}", +] +`; + +exports[`runs examples > example "detune" example index 0 1`] = ` +[ + "0/1 -> 1/3: {\\"n\\":0,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"detune\\":0}", + "1/3 -> 2/3: {\\"n\\":3,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"detune\\":0}", + "2/3 -> 1/1: {\\"n\\":7,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"detune\\":0}", + "1/1 -> 4/3: {\\"n\\":0,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"detune\\":0.25}", + "4/3 -> 5/3: {\\"n\\":3,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"detune\\":0.25}", + "5/3 -> 2/1: {\\"n\\":7,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"detune\\":0.25}", + "2/1 -> 7/3: {\\"n\\":0,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"detune\\":0.5}", + "7/3 -> 8/3: {\\"n\\":3,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"detune\\":0.5}", + "8/3 -> 3/1: {\\"n\\":7,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"detune\\":0.5}", + "3/1 -> 10/3: {\\"n\\":0,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"detune\\":1}", + "10/3 -> 11/3: {\\"n\\":3,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"detune\\":1}", + "11/3 -> 4/1: {\\"n\\":7,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"detune\\":1}", +] +`; + +exports[`runs examples > example "djf" example index 0 1`] = ` +[ + "0/1 -> 1/4: {\\"n\\":0,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"djf\\":0.5}", + "1/4 -> 1/2: {\\"n\\":3,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"djf\\":0.5}", + "1/2 -> 3/4: {\\"n\\":7,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"djf\\":0.5}", + "3/4 -> 1/1: {\\"n\\":10,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"djf\\":0.5}", + "3/4 -> 1/1: {\\"n\\":24,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"djf\\":0.5}", + "1/1 -> 5/4: {\\"n\\":0,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"djf\\":0.25}", + "5/4 -> 3/2: {\\"n\\":3,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"djf\\":0.25}", + "3/2 -> 7/4: {\\"n\\":7,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"djf\\":0.25}", + "7/4 -> 2/1: {\\"n\\":10,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"djf\\":0.25}", + "7/4 -> 2/1: {\\"n\\":24,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"djf\\":0.25}", + "2/1 -> 9/4: {\\"n\\":0,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"djf\\":0.5}", + "9/4 -> 5/2: {\\"n\\":3,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"djf\\":0.5}", + "5/2 -> 11/4: {\\"n\\":7,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"djf\\":0.5}", + "11/4 -> 3/1: {\\"n\\":10,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"djf\\":0.5}", + "11/4 -> 3/1: {\\"n\\":24,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"djf\\":0.5}", + "3/1 -> 13/4: {\\"n\\":0,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"djf\\":0.75}", + "13/4 -> 7/2: {\\"n\\":3,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"djf\\":0.75}", + "7/2 -> 15/4: {\\"n\\":7,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"djf\\":0.75}", + "15/4 -> 4/1: {\\"n\\":10,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"djf\\":0.75}", + "15/4 -> 4/1: {\\"n\\":24,\\"s\\":\\"superzow\\",\\"octave\\":3,\\"djf\\":0.75}", +] +`; + +exports[`runs examples > example "drawLine" example index 0 1`] = `[]`; + +exports[`runs examples > example "dry" example index 0 1`] = ` +[ + "0/1 -> 1/8: {\\"n\\":0,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0}", + "0/1 -> 1/8: {\\"n\\":3,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0}", + "0/1 -> 1/8: {\\"n\\":7,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0}", + "3/8 -> 1/2: {\\"n\\":0,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0}", + "3/8 -> 1/2: {\\"n\\":3,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0}", + "3/8 -> 1/2: {\\"n\\":7,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0}", + "3/4 -> 7/8: {\\"n\\":0,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0}", + "3/4 -> 7/8: {\\"n\\":3,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0}", + "3/4 -> 7/8: {\\"n\\":7,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0}", + "1/1 -> 9/8: {\\"n\\":0,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0.5}", + "1/1 -> 9/8: {\\"n\\":3,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0.5}", + "1/1 -> 9/8: {\\"n\\":7,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0.5}", + "11/8 -> 3/2: {\\"n\\":0,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0.5}", + "11/8 -> 3/2: {\\"n\\":3,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0.5}", + "11/8 -> 3/2: {\\"n\\":7,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0.5}", + "7/4 -> 15/8: {\\"n\\":0,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0.5}", + "7/4 -> 15/8: {\\"n\\":3,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0.5}", + "7/4 -> 15/8: {\\"n\\":7,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0.5}", + "2/1 -> 17/8: {\\"n\\":0,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0.75}", + "2/1 -> 17/8: {\\"n\\":3,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0.75}", + "2/1 -> 17/8: {\\"n\\":7,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0.75}", + "19/8 -> 5/2: {\\"n\\":0,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0.75}", + "19/8 -> 5/2: {\\"n\\":3,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0.75}", + "19/8 -> 5/2: {\\"n\\":7,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0.75}", + "11/4 -> 23/8: {\\"n\\":0,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0.75}", + "11/4 -> 23/8: {\\"n\\":3,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0.75}", + "11/4 -> 23/8: {\\"n\\":7,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":0.75}", + "3/1 -> 25/8: {\\"n\\":0,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":1}", + "3/1 -> 25/8: {\\"n\\":3,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":1}", + "3/1 -> 25/8: {\\"n\\":7,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":1}", + "27/8 -> 7/2: {\\"n\\":0,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":1}", + "27/8 -> 7/2: {\\"n\\":3,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":1}", + "27/8 -> 7/2: {\\"n\\":7,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":1}", + "15/4 -> 31/8: {\\"n\\":0,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":1}", + "15/4 -> 31/8: {\\"n\\":3,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":1}", + "15/4 -> 31/8: {\\"n\\":7,\\"s\\":\\"superpiano\\",\\"room\\":0.7,\\"dry\\":1}", +] +`; + +exports[`runs examples > example "each" example index 0 1`] = ` +[ + "3/4 -> 1/1: {\\"note\\":\\"c3\\"}", + "1/2 -> 3/4: {\\"note\\":\\"d3\\"}", + "1/4 -> 1/2: {\\"note\\":\\"e3\\"}", + "0/1 -> 1/4: {\\"note\\":\\"g3\\"}", + "1/1 -> 5/4: {\\"note\\":\\"c3\\"}", + "5/4 -> 3/2: {\\"note\\":\\"d3\\"}", + "3/2 -> 7/4: {\\"note\\":\\"e3\\"}", + "7/4 -> 2/1: {\\"note\\":\\"g3\\"}", + "2/1 -> 9/4: {\\"note\\":\\"c3\\"}", + "9/4 -> 5/2: {\\"note\\":\\"d3\\"}", + "5/2 -> 11/4: {\\"note\\":\\"e3\\"}", + "11/4 -> 3/1: {\\"note\\":\\"g3\\"}", + "3/1 -> 13/4: {\\"note\\":\\"c3\\"}", + "13/4 -> 7/2: {\\"note\\":\\"d3\\"}", + "7/2 -> 15/4: {\\"note\\":\\"e3\\"}", + "15/4 -> 4/1: {\\"note\\":\\"g3\\"}", +] +`; + +exports[`runs examples > example "early" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"bd\\"}", + "1/1 -> 3/2: {\\"s\\":\\"bd\\"}", + "2/1 -> 5/2: {\\"s\\":\\"bd\\"}", + "3/1 -> 7/2: {\\"s\\":\\"bd\\"}", + "-1/10 -> 2/5: {\\"s\\":\\"hh\\"}", + "9/10 -> 7/5: {\\"s\\":\\"hh\\"}", + "9/10 -> 7/5: {\\"s\\":\\"hh\\"}", + "19/10 -> 12/5: {\\"s\\":\\"hh\\"}", + "19/10 -> 12/5: {\\"s\\":\\"hh\\"}", + "29/10 -> 17/5: {\\"s\\":\\"hh\\"}", + "29/10 -> 17/5: {\\"s\\":\\"hh\\"}", + "39/10 -> 22/5: {\\"s\\":\\"hh\\"}", +] +`; + +exports[`runs examples > example "echo" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"bd\\"}", + "1/2 -> 1/1: {\\"s\\":\\"sd\\"}", + "-4166666666666667/12500000000000000 -> 8333333333333333/50000000000000000: {\\"s\\":\\"sd\\"}", + "8333333333333333/50000000000000000 -> 8333333333333333/12500000000000000: {\\"s\\":\\"bd\\"}", + "8333333333333333/12500000000000000 -> 7291666666666667/6250000000000000: {\\"s\\":\\"sd\\"}", + "-4166666666666667/25000000000000000 -> 8333333333333333/25000000000000000: {\\"s\\":\\"sd\\"}", + "8333333333333333/25000000000000000 -> 5208333333333333/6250000000000000: {\\"s\\":\\"bd\\"}", + "5208333333333333/6250000000000000 -> 8333333333333333/6250000000000000: {\\"s\\":\\"sd\\"}", + "1/1 -> 3/2: {\\"s\\":\\"bd\\"}", + "3/2 -> 2/1: {\\"s\\":\\"sd\\"}", + "8333333333333333/12500000000000000 -> 7291666666666667/6250000000000000: {\\"s\\":\\"sd\\"}", + "7291666666666667/6250000000000000 -> 5208333333333333/3125000000000000: {\\"s\\":\\"bd\\"}", + "5208333333333333/3125000000000000 -> 6770833333333333/3125000000000000: {\\"s\\":\\"sd\\"}", + "5208333333333333/6250000000000000 -> 8333333333333333/6250000000000000: {\\"s\\":\\"sd\\"}", + "8333333333333333/6250000000000000 -> 5729166666666667/3125000000000000: {\\"s\\":\\"bd\\"}", + "5729166666666667/3125000000000000 -> 7291666666666667/3125000000000000: {\\"s\\":\\"sd\\"}", + "2/1 -> 5/2: {\\"s\\":\\"bd\\"}", + "5/2 -> 3/1: {\\"s\\":\\"sd\\"}", + "5208333333333333/3125000000000000 -> 6770833333333333/3125000000000000: {\\"s\\":\\"sd\\"}", + "6770833333333333/3125000000000000 -> 8333333333333333/3125000000000000: {\\"s\\":\\"bd\\"}", + "8333333333333333/3125000000000000 -> 4947916666666667/1562500000000000: {\\"s\\":\\"sd\\"}", + "5729166666666667/3125000000000000 -> 7291666666666667/3125000000000000: {\\"s\\":\\"sd\\"}", + "7291666666666667/3125000000000000 -> 8854166666666667/3125000000000000: {\\"s\\":\\"bd\\"}", + "8854166666666667/3125000000000000 -> 5208333333333333/1562500000000000: {\\"s\\":\\"sd\\"}", + "3/1 -> 7/2: {\\"s\\":\\"bd\\"}", + "7/2 -> 4/1: {\\"s\\":\\"sd\\"}", + "8333333333333333/3125000000000000 -> 4947916666666667/1562500000000000: {\\"s\\":\\"sd\\"}", + "4947916666666667/1562500000000000 -> 5729166666666667/1562500000000000: {\\"s\\":\\"bd\\"}", + "5729166666666667/1562500000000000 -> 6510416666666667/1562500000000000: {\\"s\\":\\"sd\\"}", + "8854166666666667/3125000000000000 -> 5208333333333333/1562500000000000: {\\"s\\":\\"sd\\"}", + "5208333333333333/1562500000000000 -> 5989583333333333/1562500000000000: {\\"s\\":\\"bd\\"}", + "5989583333333333/1562500000000000 -> 6770833333333333/1562500000000000: {\\"s\\":\\"sd\\"}", +] +`; + +exports[`runs examples > example "echoWith" example index 0 1`] = ` +[ + "0/1 -> 1/5: {\\"note\\":\\"C3\\"}", + "-3/8 -> -11/40: {\\"note\\":\\"Bb3\\"}", + "1/8 -> 13/40: {\\"note\\":\\"Eb3\\"}", + "-1/4 -> -3/20: {\\"note\\":\\"D4\\"}", + "1/4 -> 9/20: {\\"note\\":\\"G3\\"}", + "-1/8 -> -1/40: {\\"note\\":\\"F4\\"}", + "3/8 -> 23/40: {\\"note\\":\\"Bb3\\"}", + "1/1 -> 11/10: {\\"note\\":\\"Eb3\\"}", + "3/2 -> 8/5: {\\"note\\":\\"G3\\"}", + "1/8 -> 13/40: {\\"note\\":\\"Eb3\\"}", + "9/8 -> 49/40: {\\"note\\":\\"G3\\"}", + "13/8 -> 69/40: {\\"note\\":\\"Bb3\\"}", + "1/4 -> 9/20: {\\"note\\":\\"G3\\"}", + "5/4 -> 27/20: {\\"note\\":\\"Bb3\\"}", + "7/4 -> 37/20: {\\"note\\":\\"D4\\"}", + "3/8 -> 23/40: {\\"note\\":\\"Bb3\\"}", + "11/8 -> 59/40: {\\"note\\":\\"D4\\"}", + "15/8 -> 79/40: {\\"note\\":\\"F4\\"}", + "2/1 -> 11/5: {\\"note\\":\\"C3\\"}", + "13/8 -> 69/40: {\\"note\\":\\"Bb3\\"}", + "17/8 -> 93/40: {\\"note\\":\\"Eb3\\"}", + "7/4 -> 37/20: {\\"note\\":\\"D4\\"}", + "9/4 -> 49/20: {\\"note\\":\\"G3\\"}", + "15/8 -> 79/40: {\\"note\\":\\"F4\\"}", + "19/8 -> 103/40: {\\"note\\":\\"Bb3\\"}", + "3/1 -> 31/10: {\\"note\\":\\"Eb3\\"}", + "7/2 -> 18/5: {\\"note\\":\\"G3\\"}", + "17/8 -> 93/40: {\\"note\\":\\"Eb3\\"}", + "25/8 -> 129/40: {\\"note\\":\\"G3\\"}", + "29/8 -> 149/40: {\\"note\\":\\"Bb3\\"}", + "9/4 -> 49/20: {\\"note\\":\\"G3\\"}", + "13/4 -> 67/20: {\\"note\\":\\"Bb3\\"}", + "15/4 -> 77/20: {\\"note\\":\\"D4\\"}", + "19/8 -> 103/40: {\\"note\\":\\"Bb3\\"}", + "27/8 -> 139/40: {\\"note\\":\\"D4\\"}", + "31/8 -> 159/40: {\\"note\\":\\"F4\\"}", +] +`; + +exports[`runs examples > example "end" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"bd\\",\\"end\\":0.1}", + "1/2 -> 1/1: {\\"s\\":\\"bd\\",\\"end\\":0.1}", + "0/1 -> 1/4: {\\"s\\":\\"oh\\",\\"end\\":0.1}", + "1/4 -> 1/2: {\\"s\\":\\"oh\\",\\"end\\":0.1}", + "1/2 -> 3/4: {\\"s\\":\\"oh\\",\\"end\\":0.1}", + "3/4 -> 1/1: {\\"s\\":\\"oh\\",\\"end\\":0.1}", + "1/1 -> 3/2: {\\"s\\":\\"bd\\",\\"end\\":0.2}", + "3/2 -> 2/1: {\\"s\\":\\"bd\\",\\"end\\":0.2}", + "1/1 -> 5/4: {\\"s\\":\\"oh\\",\\"end\\":0.2}", + "5/4 -> 3/2: {\\"s\\":\\"oh\\",\\"end\\":0.2}", + "3/2 -> 7/4: {\\"s\\":\\"oh\\",\\"end\\":0.2}", + "7/4 -> 2/1: {\\"s\\":\\"oh\\",\\"end\\":0.2}", + "2/1 -> 5/2: {\\"s\\":\\"bd\\",\\"end\\":0.5}", + "5/2 -> 3/1: {\\"s\\":\\"bd\\",\\"end\\":0.5}", + "2/1 -> 9/4: {\\"s\\":\\"oh\\",\\"end\\":0.5}", + "9/4 -> 5/2: {\\"s\\":\\"oh\\",\\"end\\":0.5}", + "5/2 -> 11/4: {\\"s\\":\\"oh\\",\\"end\\":0.5}", + "11/4 -> 3/1: {\\"s\\":\\"oh\\",\\"end\\":0.5}", + "3/1 -> 7/2: {\\"s\\":\\"bd\\",\\"end\\":1}", + "7/2 -> 4/1: {\\"s\\":\\"bd\\",\\"end\\":1}", + "3/1 -> 13/4: {\\"s\\":\\"oh\\",\\"end\\":1}", + "13/4 -> 7/2: {\\"s\\":\\"oh\\",\\"end\\":1}", + "7/2 -> 15/4: {\\"s\\":\\"oh\\",\\"end\\":1}", + "15/4 -> 4/1: {\\"s\\":\\"oh\\",\\"end\\":1}", +] +`; + +exports[`runs examples > example "euclid" example index 0 1`] = ` +[ + "0/1 -> 1/8: {\\"note\\":\\"c3\\"}", + "3/8 -> 1/2: {\\"note\\":\\"c3\\"}", + "3/4 -> 7/8: {\\"note\\":\\"c3\\"}", + "1/1 -> 9/8: {\\"note\\":\\"c3\\"}", + "11/8 -> 3/2: {\\"note\\":\\"c3\\"}", + "7/4 -> 15/8: {\\"note\\":\\"c3\\"}", + "2/1 -> 17/8: {\\"note\\":\\"c3\\"}", + "19/8 -> 5/2: {\\"note\\":\\"c3\\"}", + "11/4 -> 23/8: {\\"note\\":\\"c3\\"}", + "3/1 -> 25/8: {\\"note\\":\\"c3\\"}", + "27/8 -> 7/2: {\\"note\\":\\"c3\\"}", + "15/4 -> 31/8: {\\"note\\":\\"c3\\"}", +] +`; + +exports[`runs examples > example "euclid" example index 0 2`] = ` +[ + "1/5 -> 2/5: {\\"note\\":\\"c3\\"}", + "3/5 -> 4/5: {\\"note\\":\\"c3\\"}", + "6/5 -> 7/5: {\\"note\\":\\"c3\\"}", + "8/5 -> 9/5: {\\"note\\":\\"c3\\"}", + "11/5 -> 12/5: {\\"note\\":\\"c3\\"}", + "13/5 -> 14/5: {\\"note\\":\\"c3\\"}", + "16/5 -> 17/5: {\\"note\\":\\"c3\\"}", + "18/5 -> 19/5: {\\"note\\":\\"c3\\"}", +] +`; + +exports[`runs examples > example "euclid" example index 1 1`] = ` +[ + "1/4 -> 1/2: {\\"note\\":\\"c3\\"}", + "1/2 -> 3/4: {\\"note\\":\\"c3\\"}", + "3/4 -> 1/1: {\\"note\\":\\"c3\\"}", + "5/4 -> 3/2: {\\"note\\":\\"c3\\"}", + "3/2 -> 7/4: {\\"note\\":\\"c3\\"}", + "7/4 -> 2/1: {\\"note\\":\\"c3\\"}", + "9/4 -> 5/2: {\\"note\\":\\"c3\\"}", + "5/2 -> 11/4: {\\"note\\":\\"c3\\"}", + "11/4 -> 3/1: {\\"note\\":\\"c3\\"}", + "13/4 -> 7/2: {\\"note\\":\\"c3\\"}", + "7/2 -> 15/4: {\\"note\\":\\"c3\\"}", + "15/4 -> 4/1: {\\"note\\":\\"c3\\"}", +] +`; + +exports[`runs examples > example "euclid" example index 2 1`] = ` +[ + "1/5 -> 2/5: {\\"note\\":\\"c3\\"}", + "2/5 -> 3/5: {\\"note\\":\\"c3\\"}", + "4/5 -> 1/1: {\\"note\\":\\"c3\\"}", + "6/5 -> 7/5: {\\"note\\":\\"c3\\"}", + "7/5 -> 8/5: {\\"note\\":\\"c3\\"}", + "9/5 -> 2/1: {\\"note\\":\\"c3\\"}", + "11/5 -> 12/5: {\\"note\\":\\"c3\\"}", + "12/5 -> 13/5: {\\"note\\":\\"c3\\"}", + "14/5 -> 3/1: {\\"note\\":\\"c3\\"}", + "16/5 -> 17/5: {\\"note\\":\\"c3\\"}", + "17/5 -> 18/5: {\\"note\\":\\"c3\\"}", + "19/5 -> 4/1: {\\"note\\":\\"c3\\"}", +] +`; + +exports[`runs examples > example "euclid" example index 3 1`] = ` +[ + "1/7 -> 2/7: {\\"note\\":\\"c3\\"}", + "3/7 -> 4/7: {\\"note\\":\\"c3\\"}", + "5/7 -> 6/7: {\\"note\\":\\"c3\\"}", + "8/7 -> 9/7: {\\"note\\":\\"c3\\"}", + "10/7 -> 11/7: {\\"note\\":\\"c3\\"}", + "12/7 -> 13/7: {\\"note\\":\\"c3\\"}", + "15/7 -> 16/7: {\\"note\\":\\"c3\\"}", + "17/7 -> 18/7: {\\"note\\":\\"c3\\"}", + "19/7 -> 20/7: {\\"note\\":\\"c3\\"}", + "22/7 -> 23/7: {\\"note\\":\\"c3\\"}", + "24/7 -> 25/7: {\\"note\\":\\"c3\\"}", + "26/7 -> 27/7: {\\"note\\":\\"c3\\"}", +] +`; + +exports[`runs examples > example "euclid" example index 4 1`] = ` +[ + "0/1 -> 1/8: {\\"note\\":\\"c3\\"}", + "3/8 -> 1/2: {\\"note\\":\\"c3\\"}", + "3/4 -> 7/8: {\\"note\\":\\"c3\\"}", + "1/1 -> 9/8: {\\"note\\":\\"c3\\"}", + "11/8 -> 3/2: {\\"note\\":\\"c3\\"}", + "7/4 -> 15/8: {\\"note\\":\\"c3\\"}", + "2/1 -> 17/8: {\\"note\\":\\"c3\\"}", + "19/8 -> 5/2: {\\"note\\":\\"c3\\"}", + "11/4 -> 23/8: {\\"note\\":\\"c3\\"}", + "3/1 -> 25/8: {\\"note\\":\\"c3\\"}", + "27/8 -> 7/2: {\\"note\\":\\"c3\\"}", + "15/4 -> 31/8: {\\"note\\":\\"c3\\"}", +] +`; + +exports[`runs examples > example "euclid" example index 5 1`] = ` +[ + "0/1 -> 1/7: {\\"note\\":\\"c3\\"}", + "2/7 -> 3/7: {\\"note\\":\\"c3\\"}", + "4/7 -> 5/7: {\\"note\\":\\"c3\\"}", + "6/7 -> 1/1: {\\"note\\":\\"c3\\"}", + "1/1 -> 8/7: {\\"note\\":\\"c3\\"}", + "9/7 -> 10/7: {\\"note\\":\\"c3\\"}", + "11/7 -> 12/7: {\\"note\\":\\"c3\\"}", + "13/7 -> 2/1: {\\"note\\":\\"c3\\"}", + "2/1 -> 15/7: {\\"note\\":\\"c3\\"}", + "16/7 -> 17/7: {\\"note\\":\\"c3\\"}", + "18/7 -> 19/7: {\\"note\\":\\"c3\\"}", + "20/7 -> 3/1: {\\"note\\":\\"c3\\"}", + "3/1 -> 22/7: {\\"note\\":\\"c3\\"}", + "23/7 -> 24/7: {\\"note\\":\\"c3\\"}", + "25/7 -> 26/7: {\\"note\\":\\"c3\\"}", + "27/7 -> 4/1: {\\"note\\":\\"c3\\"}", +] +`; + +exports[`runs examples > example "euclid" example index 6 1`] = ` +[ + "1/9 -> 2/9: {\\"note\\":\\"c3\\"}", + "1/3 -> 4/9: {\\"note\\":\\"c3\\"}", + "5/9 -> 2/3: {\\"note\\":\\"c3\\"}", + "7/9 -> 8/9: {\\"note\\":\\"c3\\"}", + "10/9 -> 11/9: {\\"note\\":\\"c3\\"}", + "4/3 -> 13/9: {\\"note\\":\\"c3\\"}", + "14/9 -> 5/3: {\\"note\\":\\"c3\\"}", + "16/9 -> 17/9: {\\"note\\":\\"c3\\"}", + "19/9 -> 20/9: {\\"note\\":\\"c3\\"}", + "7/3 -> 22/9: {\\"note\\":\\"c3\\"}", + "23/9 -> 8/3: {\\"note\\":\\"c3\\"}", + "25/9 -> 26/9: {\\"note\\":\\"c3\\"}", + "28/9 -> 29/9: {\\"note\\":\\"c3\\"}", + "10/3 -> 31/9: {\\"note\\":\\"c3\\"}", + "32/9 -> 11/3: {\\"note\\":\\"c3\\"}", + "34/9 -> 35/9: {\\"note\\":\\"c3\\"}", +] +`; + +exports[`runs examples > example "euclid" example index 7 1`] = ` +[ + "0/1 -> 1/11: {\\"note\\":\\"c3\\"}", + "3/11 -> 4/11: {\\"note\\":\\"c3\\"}", + "6/11 -> 7/11: {\\"note\\":\\"c3\\"}", + "9/11 -> 10/11: {\\"note\\":\\"c3\\"}", + "1/1 -> 12/11: {\\"note\\":\\"c3\\"}", + "14/11 -> 15/11: {\\"note\\":\\"c3\\"}", + "17/11 -> 18/11: {\\"note\\":\\"c3\\"}", + "20/11 -> 21/11: {\\"note\\":\\"c3\\"}", + "2/1 -> 23/11: {\\"note\\":\\"c3\\"}", + "25/11 -> 26/11: {\\"note\\":\\"c3\\"}", + "28/11 -> 29/11: {\\"note\\":\\"c3\\"}", + "31/11 -> 32/11: {\\"note\\":\\"c3\\"}", + "3/1 -> 34/11: {\\"note\\":\\"c3\\"}", + "36/11 -> 37/11: {\\"note\\":\\"c3\\"}", + "39/11 -> 40/11: {\\"note\\":\\"c3\\"}", + "42/11 -> 43/11: {\\"note\\":\\"c3\\"}", +] +`; + +exports[`runs examples > example "euclid" example index 8 1`] = ` +[ + "1/6 -> 1/3: {\\"note\\":\\"c3\\"}", + "1/3 -> 1/2: {\\"note\\":\\"c3\\"}", + "1/2 -> 2/3: {\\"note\\":\\"c3\\"}", + "2/3 -> 5/6: {\\"note\\":\\"c3\\"}", + "5/6 -> 1/1: {\\"note\\":\\"c3\\"}", + "7/6 -> 4/3: {\\"note\\":\\"c3\\"}", + "4/3 -> 3/2: {\\"note\\":\\"c3\\"}", + "3/2 -> 5/3: {\\"note\\":\\"c3\\"}", + "5/3 -> 11/6: {\\"note\\":\\"c3\\"}", + "11/6 -> 2/1: {\\"note\\":\\"c3\\"}", + "13/6 -> 7/3: {\\"note\\":\\"c3\\"}", + "7/3 -> 5/2: {\\"note\\":\\"c3\\"}", + "5/2 -> 8/3: {\\"note\\":\\"c3\\"}", + "8/3 -> 17/6: {\\"note\\":\\"c3\\"}", + "17/6 -> 3/1: {\\"note\\":\\"c3\\"}", + "19/6 -> 10/3: {\\"note\\":\\"c3\\"}", + "10/3 -> 7/2: {\\"note\\":\\"c3\\"}", + "7/2 -> 11/3: {\\"note\\":\\"c3\\"}", + "11/3 -> 23/6: {\\"note\\":\\"c3\\"}", + "23/6 -> 4/1: {\\"note\\":\\"c3\\"}", +] +`; + +exports[`runs examples > example "euclid" example index 9 1`] = ` +[ + "0/1 -> 1/7: {\\"note\\":\\"c3\\"}", + "2/7 -> 3/7: {\\"note\\":\\"c3\\"}", + "3/7 -> 4/7: {\\"note\\":\\"c3\\"}", + "5/7 -> 6/7: {\\"note\\":\\"c3\\"}", + "6/7 -> 1/1: {\\"note\\":\\"c3\\"}", + "1/1 -> 8/7: {\\"note\\":\\"c3\\"}", + "9/7 -> 10/7: {\\"note\\":\\"c3\\"}", + "10/7 -> 11/7: {\\"note\\":\\"c3\\"}", + "12/7 -> 13/7: {\\"note\\":\\"c3\\"}", + "13/7 -> 2/1: {\\"note\\":\\"c3\\"}", + "2/1 -> 15/7: {\\"note\\":\\"c3\\"}", + "16/7 -> 17/7: {\\"note\\":\\"c3\\"}", + "17/7 -> 18/7: {\\"note\\":\\"c3\\"}", + "19/7 -> 20/7: {\\"note\\":\\"c3\\"}", + "20/7 -> 3/1: {\\"note\\":\\"c3\\"}", + "3/1 -> 22/7: {\\"note\\":\\"c3\\"}", + "23/7 -> 24/7: {\\"note\\":\\"c3\\"}", + "24/7 -> 25/7: {\\"note\\":\\"c3\\"}", + "26/7 -> 27/7: {\\"note\\":\\"c3\\"}", + "27/7 -> 4/1: {\\"note\\":\\"c3\\"}", +] +`; + +exports[`runs examples > example "euclid" example index 10 1`] = ` +[ + "1/8 -> 1/4: {\\"note\\":\\"c3\\"}", + "1/4 -> 3/8: {\\"note\\":\\"c3\\"}", + "1/2 -> 5/8: {\\"note\\":\\"c3\\"}", + "5/8 -> 3/4: {\\"note\\":\\"c3\\"}", + "7/8 -> 1/1: {\\"note\\":\\"c3\\"}", + "9/8 -> 5/4: {\\"note\\":\\"c3\\"}", + "5/4 -> 11/8: {\\"note\\":\\"c3\\"}", + "3/2 -> 13/8: {\\"note\\":\\"c3\\"}", + "13/8 -> 7/4: {\\"note\\":\\"c3\\"}", + "15/8 -> 2/1: {\\"note\\":\\"c3\\"}", + "17/8 -> 9/4: {\\"note\\":\\"c3\\"}", + "9/4 -> 19/8: {\\"note\\":\\"c3\\"}", + "5/2 -> 21/8: {\\"note\\":\\"c3\\"}", + "21/8 -> 11/4: {\\"note\\":\\"c3\\"}", + "23/8 -> 3/1: {\\"note\\":\\"c3\\"}", + "25/8 -> 13/4: {\\"note\\":\\"c3\\"}", + "13/4 -> 27/8: {\\"note\\":\\"c3\\"}", + "7/2 -> 29/8: {\\"note\\":\\"c3\\"}", + "29/8 -> 15/4: {\\"note\\":\\"c3\\"}", + "31/8 -> 4/1: {\\"note\\":\\"c3\\"}", +] +`; + +exports[`runs examples > example "euclid" example index 11 1`] = ` +[ + "0/1 -> 1/9: {\\"note\\":\\"c3\\"}", + "2/9 -> 1/3: {\\"note\\":\\"c3\\"}", + "4/9 -> 5/9: {\\"note\\":\\"c3\\"}", + "2/3 -> 7/9: {\\"note\\":\\"c3\\"}", + "8/9 -> 1/1: {\\"note\\":\\"c3\\"}", + "1/1 -> 10/9: {\\"note\\":\\"c3\\"}", + "11/9 -> 4/3: {\\"note\\":\\"c3\\"}", + "13/9 -> 14/9: {\\"note\\":\\"c3\\"}", + "5/3 -> 16/9: {\\"note\\":\\"c3\\"}", + "17/9 -> 2/1: {\\"note\\":\\"c3\\"}", + "2/1 -> 19/9: {\\"note\\":\\"c3\\"}", + "20/9 -> 7/3: {\\"note\\":\\"c3\\"}", + "22/9 -> 23/9: {\\"note\\":\\"c3\\"}", + "8/3 -> 25/9: {\\"note\\":\\"c3\\"}", + "26/9 -> 3/1: {\\"note\\":\\"c3\\"}", + "3/1 -> 28/9: {\\"note\\":\\"c3\\"}", + "29/9 -> 10/3: {\\"note\\":\\"c3\\"}", + "31/9 -> 32/9: {\\"note\\":\\"c3\\"}", + "11/3 -> 34/9: {\\"note\\":\\"c3\\"}", + "35/9 -> 4/1: {\\"note\\":\\"c3\\"}", +] +`; + +exports[`runs examples > example "euclid" example index 12 1`] = ` +[ + "1/11 -> 2/11: {\\"note\\":\\"c3\\"}", + "3/11 -> 4/11: {\\"note\\":\\"c3\\"}", + "5/11 -> 6/11: {\\"note\\":\\"c3\\"}", + "7/11 -> 8/11: {\\"note\\":\\"c3\\"}", + "9/11 -> 10/11: {\\"note\\":\\"c3\\"}", + "12/11 -> 13/11: {\\"note\\":\\"c3\\"}", + "14/11 -> 15/11: {\\"note\\":\\"c3\\"}", + "16/11 -> 17/11: {\\"note\\":\\"c3\\"}", + "18/11 -> 19/11: {\\"note\\":\\"c3\\"}", + "20/11 -> 21/11: {\\"note\\":\\"c3\\"}", + "23/11 -> 24/11: {\\"note\\":\\"c3\\"}", + "25/11 -> 26/11: {\\"note\\":\\"c3\\"}", + "27/11 -> 28/11: {\\"note\\":\\"c3\\"}", + "29/11 -> 30/11: {\\"note\\":\\"c3\\"}", + "31/11 -> 32/11: {\\"note\\":\\"c3\\"}", + "34/11 -> 35/11: {\\"note\\":\\"c3\\"}", + "36/11 -> 37/11: {\\"note\\":\\"c3\\"}", + "38/11 -> 39/11: {\\"note\\":\\"c3\\"}", + "40/11 -> 41/11: {\\"note\\":\\"c3\\"}", + "42/11 -> 43/11: {\\"note\\":\\"c3\\"}", +] +`; + +exports[`runs examples > example "euclid" example index 13 1`] = ` +[ + "0/1 -> 1/12: {\\"note\\":\\"c3\\"}", + "1/4 -> 1/3: {\\"note\\":\\"c3\\"}", + "5/12 -> 1/2: {\\"note\\":\\"c3\\"}", + "2/3 -> 3/4: {\\"note\\":\\"c3\\"}", + "5/6 -> 11/12: {\\"note\\":\\"c3\\"}", + "1/1 -> 13/12: {\\"note\\":\\"c3\\"}", + "5/4 -> 4/3: {\\"note\\":\\"c3\\"}", + "17/12 -> 3/2: {\\"note\\":\\"c3\\"}", + "5/3 -> 7/4: {\\"note\\":\\"c3\\"}", + "11/6 -> 23/12: {\\"note\\":\\"c3\\"}", + "2/1 -> 25/12: {\\"note\\":\\"c3\\"}", + "9/4 -> 7/3: {\\"note\\":\\"c3\\"}", + "29/12 -> 5/2: {\\"note\\":\\"c3\\"}", + "8/3 -> 11/4: {\\"note\\":\\"c3\\"}", + "17/6 -> 35/12: {\\"note\\":\\"c3\\"}", + "3/1 -> 37/12: {\\"note\\":\\"c3\\"}", + "13/4 -> 10/3: {\\"note\\":\\"c3\\"}", + "41/12 -> 7/2: {\\"note\\":\\"c3\\"}", + "11/3 -> 15/4: {\\"note\\":\\"c3\\"}", + "23/6 -> 47/12: {\\"note\\":\\"c3\\"}", +] +`; + +exports[`runs examples > example "euclid" example index 14 1`] = ` +[ + "1/16 -> 1/8: {\\"note\\":\\"c3\\"}", + "1/4 -> 5/16: {\\"note\\":\\"c3\\"}", + "7/16 -> 1/2: {\\"note\\":\\"c3\\"}", + "5/8 -> 11/16: {\\"note\\":\\"c3\\"}", + "13/16 -> 7/8: {\\"note\\":\\"c3\\"}", + "17/16 -> 9/8: {\\"note\\":\\"c3\\"}", + "5/4 -> 21/16: {\\"note\\":\\"c3\\"}", + "23/16 -> 3/2: {\\"note\\":\\"c3\\"}", + "13/8 -> 27/16: {\\"note\\":\\"c3\\"}", + "29/16 -> 15/8: {\\"note\\":\\"c3\\"}", + "33/16 -> 17/8: {\\"note\\":\\"c3\\"}", + "9/4 -> 37/16: {\\"note\\":\\"c3\\"}", + "39/16 -> 5/2: {\\"note\\":\\"c3\\"}", + "21/8 -> 43/16: {\\"note\\":\\"c3\\"}", + "45/16 -> 23/8: {\\"note\\":\\"c3\\"}", + "49/16 -> 25/8: {\\"note\\":\\"c3\\"}", + "13/4 -> 53/16: {\\"note\\":\\"c3\\"}", + "55/16 -> 7/2: {\\"note\\":\\"c3\\"}", + "29/8 -> 59/16: {\\"note\\":\\"c3\\"}", + "61/16 -> 31/8: {\\"note\\":\\"c3\\"}", +] +`; + +exports[`runs examples > example "euclid" example index 15 1`] = ` +[ + "1/8 -> 1/4: {\\"note\\":\\"c3\\"}", + "1/4 -> 3/8: {\\"note\\":\\"c3\\"}", + "3/8 -> 1/2: {\\"note\\":\\"c3\\"}", + "1/2 -> 5/8: {\\"note\\":\\"c3\\"}", + "5/8 -> 3/4: {\\"note\\":\\"c3\\"}", + "3/4 -> 7/8: {\\"note\\":\\"c3\\"}", + "7/8 -> 1/1: {\\"note\\":\\"c3\\"}", + "9/8 -> 5/4: {\\"note\\":\\"c3\\"}", + "5/4 -> 11/8: {\\"note\\":\\"c3\\"}", + "11/8 -> 3/2: {\\"note\\":\\"c3\\"}", + "3/2 -> 13/8: {\\"note\\":\\"c3\\"}", + "13/8 -> 7/4: {\\"note\\":\\"c3\\"}", + "7/4 -> 15/8: {\\"note\\":\\"c3\\"}", + "15/8 -> 2/1: {\\"note\\":\\"c3\\"}", + "17/8 -> 9/4: {\\"note\\":\\"c3\\"}", + "9/4 -> 19/8: {\\"note\\":\\"c3\\"}", + "19/8 -> 5/2: {\\"note\\":\\"c3\\"}", + "5/2 -> 21/8: {\\"note\\":\\"c3\\"}", + "21/8 -> 11/4: {\\"note\\":\\"c3\\"}", + "11/4 -> 23/8: {\\"note\\":\\"c3\\"}", + "23/8 -> 3/1: {\\"note\\":\\"c3\\"}", + "25/8 -> 13/4: {\\"note\\":\\"c3\\"}", + "13/4 -> 27/8: {\\"note\\":\\"c3\\"}", + "27/8 -> 7/2: {\\"note\\":\\"c3\\"}", + "7/2 -> 29/8: {\\"note\\":\\"c3\\"}", + "29/8 -> 15/4: {\\"note\\":\\"c3\\"}", + "15/4 -> 31/8: {\\"note\\":\\"c3\\"}", + "31/8 -> 4/1: {\\"note\\":\\"c3\\"}", +] +`; + +exports[`runs examples > example "euclid" example index 16 1`] = ` +[ + "1/12 -> 1/6: {\\"note\\":\\"c3\\"}", + "1/6 -> 1/4: {\\"note\\":\\"c3\\"}", + "1/3 -> 5/12: {\\"note\\":\\"c3\\"}", + "1/2 -> 7/12: {\\"note\\":\\"c3\\"}", + "7/12 -> 2/3: {\\"note\\":\\"c3\\"}", + "3/4 -> 5/6: {\\"note\\":\\"c3\\"}", + "11/12 -> 1/1: {\\"note\\":\\"c3\\"}", + "13/12 -> 7/6: {\\"note\\":\\"c3\\"}", + "7/6 -> 5/4: {\\"note\\":\\"c3\\"}", + "4/3 -> 17/12: {\\"note\\":\\"c3\\"}", + "3/2 -> 19/12: {\\"note\\":\\"c3\\"}", + "19/12 -> 5/3: {\\"note\\":\\"c3\\"}", + "7/4 -> 11/6: {\\"note\\":\\"c3\\"}", + "23/12 -> 2/1: {\\"note\\":\\"c3\\"}", + "25/12 -> 13/6: {\\"note\\":\\"c3\\"}", + "13/6 -> 9/4: {\\"note\\":\\"c3\\"}", + "7/3 -> 29/12: {\\"note\\":\\"c3\\"}", + "5/2 -> 31/12: {\\"note\\":\\"c3\\"}", + "31/12 -> 8/3: {\\"note\\":\\"c3\\"}", + "11/4 -> 17/6: {\\"note\\":\\"c3\\"}", + "35/12 -> 3/1: {\\"note\\":\\"c3\\"}", + "37/12 -> 19/6: {\\"note\\":\\"c3\\"}", + "19/6 -> 13/4: {\\"note\\":\\"c3\\"}", + "10/3 -> 41/12: {\\"note\\":\\"c3\\"}", + "7/2 -> 43/12: {\\"note\\":\\"c3\\"}", + "43/12 -> 11/3: {\\"note\\":\\"c3\\"}", + "15/4 -> 23/6: {\\"note\\":\\"c3\\"}", + "47/12 -> 4/1: {\\"note\\":\\"c3\\"}", +] +`; + +exports[`runs examples > example "euclid" example index 17 1`] = ` +[ + "1/16 -> 1/8: {\\"note\\":\\"c3\\"}", + "3/16 -> 1/4: {\\"note\\":\\"c3\\"}", + "5/16 -> 3/8: {\\"note\\":\\"c3\\"}", + "1/2 -> 9/16: {\\"note\\":\\"c3\\"}", + "5/8 -> 11/16: {\\"note\\":\\"c3\\"}", + "3/4 -> 13/16: {\\"note\\":\\"c3\\"}", + "7/8 -> 15/16: {\\"note\\":\\"c3\\"}", + "17/16 -> 9/8: {\\"note\\":\\"c3\\"}", + "19/16 -> 5/4: {\\"note\\":\\"c3\\"}", + "21/16 -> 11/8: {\\"note\\":\\"c3\\"}", + "3/2 -> 25/16: {\\"note\\":\\"c3\\"}", + "13/8 -> 27/16: {\\"note\\":\\"c3\\"}", + "7/4 -> 29/16: {\\"note\\":\\"c3\\"}", + "15/8 -> 31/16: {\\"note\\":\\"c3\\"}", + "33/16 -> 17/8: {\\"note\\":\\"c3\\"}", + "35/16 -> 9/4: {\\"note\\":\\"c3\\"}", + "37/16 -> 19/8: {\\"note\\":\\"c3\\"}", + "5/2 -> 41/16: {\\"note\\":\\"c3\\"}", + "21/8 -> 43/16: {\\"note\\":\\"c3\\"}", + "11/4 -> 45/16: {\\"note\\":\\"c3\\"}", + "23/8 -> 47/16: {\\"note\\":\\"c3\\"}", + "49/16 -> 25/8: {\\"note\\":\\"c3\\"}", + "51/16 -> 13/4: {\\"note\\":\\"c3\\"}", + "53/16 -> 27/8: {\\"note\\":\\"c3\\"}", + "7/2 -> 57/16: {\\"note\\":\\"c3\\"}", + "29/8 -> 59/16: {\\"note\\":\\"c3\\"}", + "15/4 -> 61/16: {\\"note\\":\\"c3\\"}", + "31/8 -> 63/16: {\\"note\\":\\"c3\\"}", +] +`; + +exports[`runs examples > example "euclid" example index 18 1`] = ` +[ + "1/16 -> 1/8: {\\"note\\":\\"c3\\"}", + "1/8 -> 3/16: {\\"note\\":\\"c3\\"}", + "1/4 -> 5/16: {\\"note\\":\\"c3\\"}", + "3/8 -> 7/16: {\\"note\\":\\"c3\\"}", + "1/2 -> 9/16: {\\"note\\":\\"c3\\"}", + "9/16 -> 5/8: {\\"note\\":\\"c3\\"}", + "11/16 -> 3/4: {\\"note\\":\\"c3\\"}", + "13/16 -> 7/8: {\\"note\\":\\"c3\\"}", + "15/16 -> 1/1: {\\"note\\":\\"c3\\"}", + "17/16 -> 9/8: {\\"note\\":\\"c3\\"}", + "9/8 -> 19/16: {\\"note\\":\\"c3\\"}", + "5/4 -> 21/16: {\\"note\\":\\"c3\\"}", + "11/8 -> 23/16: {\\"note\\":\\"c3\\"}", + "3/2 -> 25/16: {\\"note\\":\\"c3\\"}", + "25/16 -> 13/8: {\\"note\\":\\"c3\\"}", + "27/16 -> 7/4: {\\"note\\":\\"c3\\"}", + "29/16 -> 15/8: {\\"note\\":\\"c3\\"}", + "31/16 -> 2/1: {\\"note\\":\\"c3\\"}", + "33/16 -> 17/8: {\\"note\\":\\"c3\\"}", + "17/8 -> 35/16: {\\"note\\":\\"c3\\"}", + "9/4 -> 37/16: {\\"note\\":\\"c3\\"}", + "19/8 -> 39/16: {\\"note\\":\\"c3\\"}", + "5/2 -> 41/16: {\\"note\\":\\"c3\\"}", + "41/16 -> 21/8: {\\"note\\":\\"c3\\"}", + "43/16 -> 11/4: {\\"note\\":\\"c3\\"}", + "45/16 -> 23/8: {\\"note\\":\\"c3\\"}", + "47/16 -> 3/1: {\\"note\\":\\"c3\\"}", + "49/16 -> 25/8: {\\"note\\":\\"c3\\"}", + "25/8 -> 51/16: {\\"note\\":\\"c3\\"}", + "13/4 -> 53/16: {\\"note\\":\\"c3\\"}", + "27/8 -> 55/16: {\\"note\\":\\"c3\\"}", + "7/2 -> 57/16: {\\"note\\":\\"c3\\"}", + "57/16 -> 29/8: {\\"note\\":\\"c3\\"}", + "59/16 -> 15/4: {\\"note\\":\\"c3\\"}", + "61/16 -> 31/8: {\\"note\\":\\"c3\\"}", + "63/16 -> 4/1: {\\"note\\":\\"c3\\"}", +] +`; + +exports[`runs examples > example "euclid" example index 19 1`] = ` +[ + "1/24 -> 1/12: {\\"note\\":\\"c3\\"}", + "1/6 -> 5/24: {\\"note\\":\\"c3\\"}", + "1/4 -> 7/24: {\\"note\\":\\"c3\\"}", + "1/3 -> 3/8: {\\"note\\":\\"c3\\"}", + "5/12 -> 11/24: {\\"note\\":\\"c3\\"}", + "1/2 -> 13/24: {\\"note\\":\\"c3\\"}", + "7/12 -> 5/8: {\\"note\\":\\"c3\\"}", + "17/24 -> 3/4: {\\"note\\":\\"c3\\"}", + "19/24 -> 5/6: {\\"note\\":\\"c3\\"}", + "7/8 -> 11/12: {\\"note\\":\\"c3\\"}", + "23/24 -> 1/1: {\\"note\\":\\"c3\\"}", + "25/24 -> 13/12: {\\"note\\":\\"c3\\"}", + "7/6 -> 29/24: {\\"note\\":\\"c3\\"}", + "5/4 -> 31/24: {\\"note\\":\\"c3\\"}", + "4/3 -> 11/8: {\\"note\\":\\"c3\\"}", + "17/12 -> 35/24: {\\"note\\":\\"c3\\"}", + "3/2 -> 37/24: {\\"note\\":\\"c3\\"}", + "19/12 -> 13/8: {\\"note\\":\\"c3\\"}", + "41/24 -> 7/4: {\\"note\\":\\"c3\\"}", + "43/24 -> 11/6: {\\"note\\":\\"c3\\"}", + "15/8 -> 23/12: {\\"note\\":\\"c3\\"}", + "47/24 -> 2/1: {\\"note\\":\\"c3\\"}", + "49/24 -> 25/12: {\\"note\\":\\"c3\\"}", + "13/6 -> 53/24: {\\"note\\":\\"c3\\"}", + "9/4 -> 55/24: {\\"note\\":\\"c3\\"}", + "7/3 -> 19/8: {\\"note\\":\\"c3\\"}", + "29/12 -> 59/24: {\\"note\\":\\"c3\\"}", + "5/2 -> 61/24: {\\"note\\":\\"c3\\"}", + "31/12 -> 21/8: {\\"note\\":\\"c3\\"}", + "65/24 -> 11/4: {\\"note\\":\\"c3\\"}", + "67/24 -> 17/6: {\\"note\\":\\"c3\\"}", + "23/8 -> 35/12: {\\"note\\":\\"c3\\"}", + "71/24 -> 3/1: {\\"note\\":\\"c3\\"}", + "73/24 -> 37/12: {\\"note\\":\\"c3\\"}", + "19/6 -> 77/24: {\\"note\\":\\"c3\\"}", + "13/4 -> 79/24: {\\"note\\":\\"c3\\"}", + "10/3 -> 27/8: {\\"note\\":\\"c3\\"}", + "41/12 -> 83/24: {\\"note\\":\\"c3\\"}", + "7/2 -> 85/24: {\\"note\\":\\"c3\\"}", + "43/12 -> 29/8: {\\"note\\":\\"c3\\"}", + "89/24 -> 15/4: {\\"note\\":\\"c3\\"}", + "91/24 -> 23/6: {\\"note\\":\\"c3\\"}", + "31/8 -> 47/12: {\\"note\\":\\"c3\\"}", + "95/24 -> 4/1: {\\"note\\":\\"c3\\"}", +] +`; + +exports[`runs examples > example "euclid" example index 20 1`] = ` +[ + "0/1 -> 1/24: {\\"note\\":\\"c3\\"}", + "1/12 -> 1/8: {\\"note\\":\\"c3\\"}", + "1/6 -> 5/24: {\\"note\\":\\"c3\\"}", + "1/4 -> 7/24: {\\"note\\":\\"c3\\"}", + "7/24 -> 1/3: {\\"note\\":\\"c3\\"}", + "3/8 -> 5/12: {\\"note\\":\\"c3\\"}", + "11/24 -> 1/2: {\\"note\\":\\"c3\\"}", + "13/24 -> 7/12: {\\"note\\":\\"c3\\"}", + "5/8 -> 2/3: {\\"note\\":\\"c3\\"}", + "17/24 -> 3/4: {\\"note\\":\\"c3\\"}", + "3/4 -> 19/24: {\\"note\\":\\"c3\\"}", + "5/6 -> 7/8: {\\"note\\":\\"c3\\"}", + "11/12 -> 23/24: {\\"note\\":\\"c3\\"}", + "1/1 -> 25/24: {\\"note\\":\\"c3\\"}", + "13/12 -> 9/8: {\\"note\\":\\"c3\\"}", + "7/6 -> 29/24: {\\"note\\":\\"c3\\"}", + "5/4 -> 31/24: {\\"note\\":\\"c3\\"}", + "31/24 -> 4/3: {\\"note\\":\\"c3\\"}", + "11/8 -> 17/12: {\\"note\\":\\"c3\\"}", + "35/24 -> 3/2: {\\"note\\":\\"c3\\"}", + "37/24 -> 19/12: {\\"note\\":\\"c3\\"}", + "13/8 -> 5/3: {\\"note\\":\\"c3\\"}", + "41/24 -> 7/4: {\\"note\\":\\"c3\\"}", + "7/4 -> 43/24: {\\"note\\":\\"c3\\"}", + "11/6 -> 15/8: {\\"note\\":\\"c3\\"}", + "23/12 -> 47/24: {\\"note\\":\\"c3\\"}", + "2/1 -> 49/24: {\\"note\\":\\"c3\\"}", + "25/12 -> 17/8: {\\"note\\":\\"c3\\"}", + "13/6 -> 53/24: {\\"note\\":\\"c3\\"}", + "9/4 -> 55/24: {\\"note\\":\\"c3\\"}", + "55/24 -> 7/3: {\\"note\\":\\"c3\\"}", + "19/8 -> 29/12: {\\"note\\":\\"c3\\"}", + "59/24 -> 5/2: {\\"note\\":\\"c3\\"}", + "61/24 -> 31/12: {\\"note\\":\\"c3\\"}", + "21/8 -> 8/3: {\\"note\\":\\"c3\\"}", + "65/24 -> 11/4: {\\"note\\":\\"c3\\"}", + "11/4 -> 67/24: {\\"note\\":\\"c3\\"}", + "17/6 -> 23/8: {\\"note\\":\\"c3\\"}", + "35/12 -> 71/24: {\\"note\\":\\"c3\\"}", + "3/1 -> 73/24: {\\"note\\":\\"c3\\"}", + "37/12 -> 25/8: {\\"note\\":\\"c3\\"}", + "19/6 -> 77/24: {\\"note\\":\\"c3\\"}", + "13/4 -> 79/24: {\\"note\\":\\"c3\\"}", + "79/24 -> 10/3: {\\"note\\":\\"c3\\"}", + "27/8 -> 41/12: {\\"note\\":\\"c3\\"}", + "83/24 -> 7/2: {\\"note\\":\\"c3\\"}", + "85/24 -> 43/12: {\\"note\\":\\"c3\\"}", + "29/8 -> 11/3: {\\"note\\":\\"c3\\"}", + "89/24 -> 15/4: {\\"note\\":\\"c3\\"}", + "15/4 -> 91/24: {\\"note\\":\\"c3\\"}", + "23/6 -> 31/8: {\\"note\\":\\"c3\\"}", + "47/12 -> 95/24: {\\"note\\":\\"c3\\"}", +] +`; + +exports[`runs examples > example "euclidLegato" example index 0 1`] = ` +[ + "0/1 -> 3/8: {\\"n\\":\\"g2\\",\\"decay\\":0.1,\\"sustain\\":0.3}", + "3/8 -> 3/4: {\\"n\\":\\"g2\\",\\"decay\\":0.1,\\"sustain\\":0.3}", + "3/4 -> 1/1: {\\"n\\":\\"g2\\",\\"decay\\":0.1,\\"sustain\\":0.3}", + "1/1 -> 11/8: {\\"n\\":\\"g2\\",\\"decay\\":0.1,\\"sustain\\":0.3}", + "11/8 -> 7/4: {\\"n\\":\\"g2\\",\\"decay\\":0.1,\\"sustain\\":0.3}", + "7/4 -> 2/1: {\\"n\\":\\"g2\\",\\"decay\\":0.1,\\"sustain\\":0.3}", + "2/1 -> 19/8: {\\"n\\":\\"g2\\",\\"decay\\":0.1,\\"sustain\\":0.3}", + "19/8 -> 11/4: {\\"n\\":\\"g2\\",\\"decay\\":0.1,\\"sustain\\":0.3}", + "11/4 -> 3/1: {\\"n\\":\\"g2\\",\\"decay\\":0.1,\\"sustain\\":0.3}", + "3/1 -> 27/8: {\\"n\\":\\"g2\\",\\"decay\\":0.1,\\"sustain\\":0.3}", + "27/8 -> 15/4: {\\"n\\":\\"g2\\",\\"decay\\":0.1,\\"sustain\\":0.3}", + "15/4 -> 4/1: {\\"n\\":\\"g2\\",\\"decay\\":0.1,\\"sustain\\":0.3}", +] +`; + +exports[`runs examples > example "every" example index 0 1`] = ` +[ + "3/4 -> 1/1: {\\"note\\":\\"c3\\"}", + "1/2 -> 3/4: {\\"note\\":\\"d3\\"}", + "1/4 -> 1/2: {\\"note\\":\\"e3\\"}", + "0/1 -> 1/4: {\\"note\\":\\"g3\\"}", + "1/1 -> 5/4: {\\"note\\":\\"c3\\"}", + "5/4 -> 3/2: {\\"note\\":\\"d3\\"}", + "3/2 -> 7/4: {\\"note\\":\\"e3\\"}", + "7/4 -> 2/1: {\\"note\\":\\"g3\\"}", + "2/1 -> 9/4: {\\"note\\":\\"c3\\"}", + "9/4 -> 5/2: {\\"note\\":\\"d3\\"}", + "5/2 -> 11/4: {\\"note\\":\\"e3\\"}", + "11/4 -> 3/1: {\\"note\\":\\"g3\\"}", + "3/1 -> 13/4: {\\"note\\":\\"c3\\"}", + "13/4 -> 7/2: {\\"note\\":\\"d3\\"}", + "7/2 -> 15/4: {\\"note\\":\\"e3\\"}", + "15/4 -> 4/1: {\\"note\\":\\"g3\\"}", +] +`; + +exports[`runs examples > example "every" example index 0 2`] = ` +[ + "3/4 -> 1/1: {\\"note\\":\\"c3\\"}", + "1/2 -> 3/4: {\\"note\\":\\"d3\\"}", + "1/4 -> 1/2: {\\"note\\":\\"e3\\"}", + "0/1 -> 1/4: {\\"note\\":\\"g3\\"}", + "1/1 -> 5/4: {\\"note\\":\\"c3\\"}", + "5/4 -> 3/2: {\\"note\\":\\"d3\\"}", + "3/2 -> 7/4: {\\"note\\":\\"e3\\"}", + "7/4 -> 2/1: {\\"note\\":\\"g3\\"}", + "2/1 -> 9/4: {\\"note\\":\\"c3\\"}", + "9/4 -> 5/2: {\\"note\\":\\"d3\\"}", + "5/2 -> 11/4: {\\"note\\":\\"e3\\"}", + "11/4 -> 3/1: {\\"note\\":\\"g3\\"}", + "3/1 -> 13/4: {\\"note\\":\\"c3\\"}", + "13/4 -> 7/2: {\\"note\\":\\"d3\\"}", + "7/2 -> 15/4: {\\"note\\":\\"e3\\"}", + "15/4 -> 4/1: {\\"note\\":\\"g3\\"}", +] +`; + +exports[`runs examples > example "fast" example index 0 1`] = ` +[ + "0/1 -> 1/4: {\\"s\\":\\"bd\\"}", + "1/4 -> 1/2: {\\"s\\":\\"hh\\"}", + "1/2 -> 3/4: {\\"s\\":\\"sd\\"}", + "3/4 -> 1/1: {\\"s\\":\\"hh\\"}", + "1/1 -> 5/4: {\\"s\\":\\"bd\\"}", + "5/4 -> 3/2: {\\"s\\":\\"hh\\"}", + "3/2 -> 7/4: {\\"s\\":\\"sd\\"}", + "7/4 -> 2/1: {\\"s\\":\\"hh\\"}", + "2/1 -> 9/4: {\\"s\\":\\"bd\\"}", + "9/4 -> 5/2: {\\"s\\":\\"hh\\"}", + "5/2 -> 11/4: {\\"s\\":\\"sd\\"}", + "11/4 -> 3/1: {\\"s\\":\\"hh\\"}", + "3/1 -> 13/4: {\\"s\\":\\"bd\\"}", + "13/4 -> 7/2: {\\"s\\":\\"hh\\"}", + "7/2 -> 15/4: {\\"s\\":\\"sd\\"}", + "15/4 -> 4/1: {\\"s\\":\\"hh\\"}", +] +`; + +exports[`runs examples > example "fastcat" example index 0 1`] = ` +[ + "0/1 -> 1/3: e5", + "1/3 -> 2/3: b4", + "2/3 -> 5/6: d5", + "5/6 -> 1/1: c5", + "1/1 -> 4/3: e5", + "4/3 -> 5/3: b4", + "5/3 -> 11/6: d5", + "11/6 -> 2/1: c5", + "2/1 -> 7/3: e5", + "7/3 -> 8/3: b4", + "8/3 -> 17/6: d5", + "17/6 -> 3/1: c5", + "3/1 -> 10/3: e5", + "10/3 -> 11/3: b4", + "11/3 -> 23/6: d5", + "23/6 -> 4/1: c5", +] +`; + +exports[`runs examples > example "freq" example index 0 1`] = ` +[ + "0/1 -> 1/4: {\\"freq\\":220,\\"s\\":\\"superzow\\"}", + "1/4 -> 1/2: {\\"freq\\":110,\\"s\\":\\"superzow\\"}", + "1/2 -> 3/4: {\\"freq\\":440,\\"s\\":\\"superzow\\"}", + "3/4 -> 1/1: {\\"freq\\":110,\\"s\\":\\"superzow\\"}", + "1/1 -> 5/4: {\\"freq\\":220,\\"s\\":\\"superzow\\"}", + "5/4 -> 3/2: {\\"freq\\":110,\\"s\\":\\"superzow\\"}", + "3/2 -> 7/4: {\\"freq\\":440,\\"s\\":\\"superzow\\"}", + "7/4 -> 2/1: {\\"freq\\":110,\\"s\\":\\"superzow\\"}", + "2/1 -> 9/4: {\\"freq\\":220,\\"s\\":\\"superzow\\"}", + "9/4 -> 5/2: {\\"freq\\":110,\\"s\\":\\"superzow\\"}", + "5/2 -> 11/4: {\\"freq\\":440,\\"s\\":\\"superzow\\"}", + "11/4 -> 3/1: {\\"freq\\":110,\\"s\\":\\"superzow\\"}", + "3/1 -> 13/4: {\\"freq\\":220,\\"s\\":\\"superzow\\"}", + "13/4 -> 7/2: {\\"freq\\":110,\\"s\\":\\"superzow\\"}", + "7/2 -> 15/4: {\\"freq\\":440,\\"s\\":\\"superzow\\"}", + "15/4 -> 4/1: {\\"freq\\":110,\\"s\\":\\"superzow\\"}", +] +`; + +exports[`runs examples > example "freq" example index 1 1`] = ` +[ + "0/1 -> 1/4: {\\"freq\\":55,\\"s\\":\\"superzow\\"}", + "1/4 -> 1/2: {\\"freq\\":165,\\"s\\":\\"superzow\\"}", + "1/2 -> 3/4: {\\"freq\\":66,\\"s\\":\\"superzow\\"}", + "3/4 -> 7/8: {\\"freq\\":220,\\"s\\":\\"superzow\\"}", + "7/8 -> 1/1: {\\"freq\\":330,\\"s\\":\\"superzow\\"}", + "1/1 -> 5/4: {\\"freq\\":55,\\"s\\":\\"superzow\\"}", + "5/4 -> 3/2: {\\"freq\\":165,\\"s\\":\\"superzow\\"}", + "3/2 -> 7/4: {\\"freq\\":66,\\"s\\":\\"superzow\\"}", + "7/4 -> 15/8: {\\"freq\\":220,\\"s\\":\\"superzow\\"}", + "15/8 -> 2/1: {\\"freq\\":330,\\"s\\":\\"superzow\\"}", + "2/1 -> 9/4: {\\"freq\\":55,\\"s\\":\\"superzow\\"}", + "9/4 -> 5/2: {\\"freq\\":165,\\"s\\":\\"superzow\\"}", + "5/2 -> 11/4: {\\"freq\\":66,\\"s\\":\\"superzow\\"}", + "11/4 -> 23/8: {\\"freq\\":220,\\"s\\":\\"superzow\\"}", + "23/8 -> 3/1: {\\"freq\\":330,\\"s\\":\\"superzow\\"}", + "3/1 -> 13/4: {\\"freq\\":55,\\"s\\":\\"superzow\\"}", + "13/4 -> 7/2: {\\"freq\\":165,\\"s\\":\\"superzow\\"}", + "7/2 -> 15/4: {\\"freq\\":66,\\"s\\":\\"superzow\\"}", + "15/4 -> 31/8: {\\"freq\\":220,\\"s\\":\\"superzow\\"}", + "31/8 -> 4/1: {\\"freq\\":330,\\"s\\":\\"superzow\\"}", +] +`; + +exports[`runs examples > example "gain" example index 0 1`] = ` +[ + "0/1 -> 1/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "1/8 -> 1/4: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "1/4 -> 3/8: {\\"s\\":\\"hh\\",\\"gain\\":1}", + "3/8 -> 1/2: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "1/2 -> 5/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "5/8 -> 3/4: {\\"s\\":\\"hh\\",\\"gain\\":1}", + "3/4 -> 7/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "7/8 -> 1/1: {\\"s\\":\\"hh\\",\\"gain\\":1}", + "1/1 -> 9/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "9/8 -> 5/4: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "5/4 -> 11/8: {\\"s\\":\\"hh\\",\\"gain\\":1}", + "11/8 -> 3/2: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "3/2 -> 13/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "13/8 -> 7/4: {\\"s\\":\\"hh\\",\\"gain\\":1}", + "7/4 -> 15/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "15/8 -> 2/1: {\\"s\\":\\"hh\\",\\"gain\\":1}", + "2/1 -> 17/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "17/8 -> 9/4: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "9/4 -> 19/8: {\\"s\\":\\"hh\\",\\"gain\\":1}", + "19/8 -> 5/2: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "5/2 -> 21/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "21/8 -> 11/4: {\\"s\\":\\"hh\\",\\"gain\\":1}", + "11/4 -> 23/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "23/8 -> 3/1: {\\"s\\":\\"hh\\",\\"gain\\":1}", + "3/1 -> 25/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "25/8 -> 13/4: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "13/4 -> 27/8: {\\"s\\":\\"hh\\",\\"gain\\":1}", + "27/8 -> 7/2: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "7/2 -> 29/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "29/8 -> 15/4: {\\"s\\":\\"hh\\",\\"gain\\":1}", + "15/4 -> 31/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "31/8 -> 4/1: {\\"s\\":\\"hh\\",\\"gain\\":1}", +] +`; + +exports[`runs examples > example "hcutoff" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"bd\\",\\"hcutoff\\":4000}", + "1/2 -> 1/1: {\\"s\\":\\"sd\\",\\"hcutoff\\":4000}", + "0/1 -> 1/4: {\\"s\\":\\"hh\\",\\"hcutoff\\":4000}", + "1/4 -> 1/2: {\\"s\\":\\"hh\\",\\"hcutoff\\":4000}", + "1/2 -> 3/4: {\\"s\\":\\"hh\\",\\"hcutoff\\":4000}", + "3/4 -> 1/1: {\\"s\\":\\"hh\\",\\"hcutoff\\":4000}", + "1/1 -> 3/2: {\\"s\\":\\"bd\\",\\"hcutoff\\":2000}", + "3/2 -> 2/1: {\\"s\\":\\"sd\\",\\"hcutoff\\":2000}", + "1/1 -> 5/4: {\\"s\\":\\"hh\\",\\"hcutoff\\":2000}", + "5/4 -> 3/2: {\\"s\\":\\"hh\\",\\"hcutoff\\":2000}", + "3/2 -> 7/4: {\\"s\\":\\"hh\\",\\"hcutoff\\":2000}", + "7/4 -> 2/1: {\\"s\\":\\"hh\\",\\"hcutoff\\":2000}", + "2/1 -> 5/2: {\\"s\\":\\"bd\\",\\"hcutoff\\":1000}", + "5/2 -> 3/1: {\\"s\\":\\"sd\\",\\"hcutoff\\":1000}", + "2/1 -> 9/4: {\\"s\\":\\"hh\\",\\"hcutoff\\":1000}", + "9/4 -> 5/2: {\\"s\\":\\"hh\\",\\"hcutoff\\":1000}", + "5/2 -> 11/4: {\\"s\\":\\"hh\\",\\"hcutoff\\":1000}", + "11/4 -> 3/1: {\\"s\\":\\"hh\\",\\"hcutoff\\":1000}", + "3/1 -> 7/2: {\\"s\\":\\"bd\\",\\"hcutoff\\":500}", + "7/2 -> 4/1: {\\"s\\":\\"sd\\",\\"hcutoff\\":500}", + "3/1 -> 13/4: {\\"s\\":\\"hh\\",\\"hcutoff\\":500}", + "13/4 -> 7/2: {\\"s\\":\\"hh\\",\\"hcutoff\\":500}", + "7/2 -> 15/4: {\\"s\\":\\"hh\\",\\"hcutoff\\":500}", + "15/4 -> 4/1: {\\"s\\":\\"hh\\",\\"hcutoff\\":500}", +] +`; + +exports[`runs examples > example "hresonance" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"bd\\",\\"hcutoff\\":2000,\\"hresonance\\":0}", + "1/2 -> 1/1: {\\"s\\":\\"sd\\",\\"hcutoff\\":2000,\\"hresonance\\":0}", + "0/1 -> 1/4: {\\"s\\":\\"hh\\",\\"hcutoff\\":2000,\\"hresonance\\":0}", + "1/4 -> 1/2: {\\"s\\":\\"hh\\",\\"hcutoff\\":2000,\\"hresonance\\":0}", + "1/2 -> 3/4: {\\"s\\":\\"hh\\",\\"hcutoff\\":2000,\\"hresonance\\":0}", + "3/4 -> 1/1: {\\"s\\":\\"hh\\",\\"hcutoff\\":2000,\\"hresonance\\":0}", + "1/1 -> 3/2: {\\"s\\":\\"bd\\",\\"hcutoff\\":2000,\\"hresonance\\":10}", + "3/2 -> 2/1: {\\"s\\":\\"sd\\",\\"hcutoff\\":2000,\\"hresonance\\":10}", + "1/1 -> 5/4: {\\"s\\":\\"hh\\",\\"hcutoff\\":2000,\\"hresonance\\":10}", + "5/4 -> 3/2: {\\"s\\":\\"hh\\",\\"hcutoff\\":2000,\\"hresonance\\":10}", + "3/2 -> 7/4: {\\"s\\":\\"hh\\",\\"hcutoff\\":2000,\\"hresonance\\":10}", + "7/4 -> 2/1: {\\"s\\":\\"hh\\",\\"hcutoff\\":2000,\\"hresonance\\":10}", + "2/1 -> 5/2: {\\"s\\":\\"bd\\",\\"hcutoff\\":2000,\\"hresonance\\":20}", + "5/2 -> 3/1: {\\"s\\":\\"sd\\",\\"hcutoff\\":2000,\\"hresonance\\":20}", + "2/1 -> 9/4: {\\"s\\":\\"hh\\",\\"hcutoff\\":2000,\\"hresonance\\":20}", + "9/4 -> 5/2: {\\"s\\":\\"hh\\",\\"hcutoff\\":2000,\\"hresonance\\":20}", + "5/2 -> 11/4: {\\"s\\":\\"hh\\",\\"hcutoff\\":2000,\\"hresonance\\":20}", + "11/4 -> 3/1: {\\"s\\":\\"hh\\",\\"hcutoff\\":2000,\\"hresonance\\":20}", + "3/1 -> 7/2: {\\"s\\":\\"bd\\",\\"hcutoff\\":2000,\\"hresonance\\":30}", + "7/2 -> 4/1: {\\"s\\":\\"sd\\",\\"hcutoff\\":2000,\\"hresonance\\":30}", + "3/1 -> 13/4: {\\"s\\":\\"hh\\",\\"hcutoff\\":2000,\\"hresonance\\":30}", + "13/4 -> 7/2: {\\"s\\":\\"hh\\",\\"hcutoff\\":2000,\\"hresonance\\":30}", + "7/2 -> 15/4: {\\"s\\":\\"hh\\",\\"hcutoff\\":2000,\\"hresonance\\":30}", + "15/4 -> 4/1: {\\"s\\":\\"hh\\",\\"hcutoff\\":2000,\\"hresonance\\":30}", +] +`; + +exports[`runs examples > example "irand" example index 0 1`] = ` +[ + "0/1 -> 1/8: {\\"note\\":\\"Bb3\\"}", + "3/8 -> 1/2: {\\"note\\":\\"Eb3\\"}", + "3/4 -> 7/8: {\\"note\\":\\"Bb3\\"}", + "1/1 -> 9/8: {\\"note\\":\\"G3\\"}", + "11/8 -> 3/2: {\\"note\\":\\"G3\\"}", + "7/4 -> 15/8: {\\"note\\":\\"F3\\"}", + "2/1 -> 17/8: {\\"note\\":\\"Eb3\\"}", + "19/8 -> 5/2: {\\"note\\":\\"D3\\"}", + "11/4 -> 23/8: {\\"note\\":\\"C4\\"}", + "3/1 -> 25/8: {\\"note\\":\\"C3\\"}", + "27/8 -> 7/2: {\\"note\\":\\"Bb3\\"}", + "15/4 -> 31/8: {\\"note\\":\\"C3\\"}", +] +`; + +exports[`runs examples > example "iter" example index 0 1`] = ` +[ + "0/1 -> 1/4: {\\"note\\":\\"A3\\"}", + "1/4 -> 1/2: {\\"note\\":\\"B3\\"}", + "1/2 -> 3/4: {\\"note\\":\\"C4\\"}", + "3/4 -> 1/1: {\\"note\\":\\"D4\\"}", + "1/1 -> 5/4: {\\"note\\":\\"B3\\"}", + "5/4 -> 3/2: {\\"note\\":\\"C4\\"}", + "3/2 -> 7/4: {\\"note\\":\\"D4\\"}", + "7/4 -> 2/1: {\\"note\\":\\"A3\\"}", + "2/1 -> 9/4: {\\"note\\":\\"C4\\"}", + "9/4 -> 5/2: {\\"note\\":\\"D4\\"}", + "5/2 -> 11/4: {\\"note\\":\\"A3\\"}", + "11/4 -> 3/1: {\\"note\\":\\"B3\\"}", + "3/1 -> 13/4: {\\"note\\":\\"D4\\"}", + "13/4 -> 7/2: {\\"note\\":\\"A3\\"}", + "7/2 -> 15/4: {\\"note\\":\\"B3\\"}", + "15/4 -> 4/1: {\\"note\\":\\"C4\\"}", +] +`; + +exports[`runs examples > example "iterBack" example index 0 1`] = ` +[ + "0/1 -> 1/4: {\\"note\\":\\"A3\\"}", + "1/4 -> 1/2: {\\"note\\":\\"B3\\"}", + "1/2 -> 3/4: {\\"note\\":\\"C4\\"}", + "3/4 -> 1/1: {\\"note\\":\\"D4\\"}", + "1/1 -> 5/4: {\\"note\\":\\"D4\\"}", + "5/4 -> 3/2: {\\"note\\":\\"A3\\"}", + "3/2 -> 7/4: {\\"note\\":\\"B3\\"}", + "7/4 -> 2/1: {\\"note\\":\\"C4\\"}", + "2/1 -> 9/4: {\\"note\\":\\"C4\\"}", + "9/4 -> 5/2: {\\"note\\":\\"D4\\"}", + "5/2 -> 11/4: {\\"note\\":\\"A3\\"}", + "11/4 -> 3/1: {\\"note\\":\\"B3\\"}", + "3/1 -> 13/4: {\\"note\\":\\"B3\\"}", + "13/4 -> 7/2: {\\"note\\":\\"C4\\"}", + "7/2 -> 15/4: {\\"note\\":\\"D4\\"}", + "15/4 -> 4/1: {\\"note\\":\\"A3\\"}", +] +`; + +exports[`runs examples > example "late" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"bd\\"}", + "1/1 -> 3/2: {\\"s\\":\\"bd\\"}", + "2/1 -> 5/2: {\\"s\\":\\"bd\\"}", + "3/1 -> 7/2: {\\"s\\":\\"bd\\"}", + "1/10 -> 3/5: {\\"s\\":\\"hh\\"}", + "11/10 -> 8/5: {\\"s\\":\\"hh\\"}", + "21/10 -> 13/5: {\\"s\\":\\"hh\\"}", + "31/10 -> 18/5: {\\"s\\":\\"hh\\"}", +] +`; + +exports[`runs examples > example "layer" example index 0 1`] = ` +[ + "0/1 -> 1/4: {\\"note\\":\\"C3\\"}", + "0/1 -> 1/4: {\\"note\\":\\"Eb3\\"}", + "1/4 -> 1/2: {\\"note\\":\\"Eb3\\"}", + "1/4 -> 1/2: {\\"note\\":\\"G3\\"}", + "1/2 -> 3/4: {\\"note\\":\\"G3\\"}", + "1/2 -> 3/4: {\\"note\\":\\"Bb3\\"}", + "3/4 -> 1/1: {\\"note\\":\\"Bb3\\"}", + "3/4 -> 1/1: {\\"note\\":\\"D4\\"}", + "5/4 -> 3/2: {\\"note\\":\\"G3\\"}", + "5/4 -> 3/2: {\\"note\\":\\"Bb3\\"}", + "7/4 -> 2/1: {\\"note\\":\\"Eb3\\"}", + "7/4 -> 2/1: {\\"note\\":\\"G3\\"}", + "2/1 -> 9/4: {\\"note\\":\\"C3\\"}", + "2/1 -> 9/4: {\\"note\\":\\"Eb3\\"}", + "9/4 -> 5/2: {\\"note\\":\\"C3\\"}", + "9/4 -> 5/2: {\\"note\\":\\"Eb3\\"}", + "5/2 -> 11/4: {\\"note\\":\\"C3\\"}", + "5/2 -> 11/4: {\\"note\\":\\"Eb3\\"}", +] +`; + +exports[`runs examples > example "legato" example index 0 1`] = ` +[ + "0/1 -> 1/32: c4", + "1/4 -> 9/32: eb4", + "1/2 -> 17/32: g4", + "3/4 -> 25/32: bb4", + "1/1 -> 17/16: c4", + "5/4 -> 21/16: eb4", + "3/2 -> 25/16: g4", + "7/4 -> 29/16: bb4", + "2/1 -> 17/8: c4", + "9/4 -> 19/8: eb4", + "5/2 -> 21/8: g4", + "11/4 -> 23/8: bb4", + "3/1 -> 51/16: c4", + "13/4 -> 55/16: eb4", + "7/2 -> 59/16: g4", + "15/4 -> 63/16: bb4", +] +`; + +exports[`runs examples > example "legato" example index 0 2`] = ` +[ + "0/1 -> 1/16: {\\"note\\":\\"c3\\"}", + "1/4 -> 5/16: {\\"note\\":\\"eb3\\"}", + "1/2 -> 9/16: {\\"note\\":\\"g3\\"}", + "3/4 -> 13/16: {\\"note\\":\\"c4\\"}", + "1/1 -> 9/8: {\\"note\\":\\"c3\\"}", + "5/4 -> 11/8: {\\"note\\":\\"eb3\\"}", + "3/2 -> 13/8: {\\"note\\":\\"g3\\"}", + "7/4 -> 15/8: {\\"note\\":\\"c4\\"}", + "2/1 -> 9/4: {\\"note\\":\\"c3\\"}", + "9/4 -> 5/2: {\\"note\\":\\"eb3\\"}", + "5/2 -> 11/4: {\\"note\\":\\"g3\\"}", + "11/4 -> 3/1: {\\"note\\":\\"c4\\"}", + "3/1 -> 7/2: {\\"note\\":\\"c3\\"}", + "13/4 -> 15/4: {\\"note\\":\\"eb3\\"}", + "7/2 -> 4/1: {\\"note\\":\\"g3\\"}", + "15/4 -> 17/4: {\\"note\\":\\"c4\\"}", +] +`; + +exports[`runs examples > example "leslie" example index 0 1`] = ` +[ + "0/1 -> 1/1: {\\"n\\":0,\\"s\\":\\"supersquare\\",\\"leslie\\":0}", + "0/1 -> 1/1: {\\"n\\":4,\\"s\\":\\"supersquare\\",\\"leslie\\":0}", + "0/1 -> 1/1: {\\"n\\":7,\\"s\\":\\"supersquare\\",\\"leslie\\":0}", + "1/1 -> 2/1: {\\"n\\":0,\\"s\\":\\"supersquare\\",\\"leslie\\":0.4}", + "1/1 -> 2/1: {\\"n\\":4,\\"s\\":\\"supersquare\\",\\"leslie\\":0.4}", + "1/1 -> 2/1: {\\"n\\":7,\\"s\\":\\"supersquare\\",\\"leslie\\":0.4}", + "2/1 -> 3/1: {\\"n\\":0,\\"s\\":\\"supersquare\\",\\"leslie\\":0.6}", + "2/1 -> 3/1: {\\"n\\":4,\\"s\\":\\"supersquare\\",\\"leslie\\":0.6}", + "2/1 -> 3/1: {\\"n\\":7,\\"s\\":\\"supersquare\\",\\"leslie\\":0.6}", + "3/1 -> 4/1: {\\"n\\":0,\\"s\\":\\"supersquare\\",\\"leslie\\":1}", + "3/1 -> 4/1: {\\"n\\":4,\\"s\\":\\"supersquare\\",\\"leslie\\":1}", + "3/1 -> 4/1: {\\"n\\":7,\\"s\\":\\"supersquare\\",\\"leslie\\":1}", +] +`; + +exports[`runs examples > example "loop" example index 0 1`] = ` +[ + "0/1 -> 1/1: {\\"s\\":\\"bd\\",\\"loop\\":1}", + "1/1 -> 2/1: {\\"s\\":\\"bd\\",\\"loop\\":2}", + "2/1 -> 3/1: {\\"s\\":\\"bd\\",\\"loop\\":3}", + "3/1 -> 4/1: {\\"s\\":\\"bd\\",\\"loop\\":4}", +] +`; + +exports[`runs examples > example "loopAt" example index 0 1`] = ` +[ + "0/1 -> 4/1: {\\"s\\":\\"rhodes\\",\\"speed\\":0.25,\\"unit\\":\\"c\\"}", + "0/1 -> 4/1: {\\"s\\":\\"rhodes\\",\\"speed\\":0.25,\\"unit\\":\\"c\\"}", + "0/1 -> 4/1: {\\"s\\":\\"rhodes\\",\\"speed\\":0.25,\\"unit\\":\\"c\\"}", + "0/1 -> 4/1: {\\"s\\":\\"rhodes\\",\\"speed\\":0.25,\\"unit\\":\\"c\\"}", +] +`; + +exports[`runs examples > example "lrate" example index 0 1`] = ` +[ + "0/1 -> 1/1: {\\"n\\":0,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":1}", + "0/1 -> 1/1: {\\"n\\":4,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":1}", + "0/1 -> 1/1: {\\"n\\":7,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":1}", + "1/1 -> 2/1: {\\"n\\":0,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":2}", + "1/1 -> 2/1: {\\"n\\":4,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":2}", + "1/1 -> 2/1: {\\"n\\":7,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":2}", + "2/1 -> 3/1: {\\"n\\":0,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":4}", + "2/1 -> 3/1: {\\"n\\":4,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":4}", + "2/1 -> 3/1: {\\"n\\":7,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":4}", + "3/1 -> 4/1: {\\"n\\":0,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":8}", + "3/1 -> 4/1: {\\"n\\":4,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":8}", + "3/1 -> 4/1: {\\"n\\":7,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":8}", +] +`; + +exports[`runs examples > example "lsize" example index 0 1`] = ` +[ + "0/1 -> 1/1: {\\"n\\":0,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":2,\\"lsize\\":0.1}", + "0/1 -> 1/1: {\\"n\\":4,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":2,\\"lsize\\":0.1}", + "0/1 -> 1/1: {\\"n\\":7,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":2,\\"lsize\\":0.1}", + "1/1 -> 2/1: {\\"n\\":0,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":2,\\"lsize\\":0.5}", + "1/1 -> 2/1: {\\"n\\":4,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":2,\\"lsize\\":0.5}", + "1/1 -> 2/1: {\\"n\\":7,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":2,\\"lsize\\":0.5}", + "2/1 -> 3/1: {\\"n\\":0,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":2,\\"lsize\\":1}", + "2/1 -> 3/1: {\\"n\\":4,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":2,\\"lsize\\":1}", + "2/1 -> 3/1: {\\"n\\":7,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":2,\\"lsize\\":1}", + "3/1 -> 4/1: {\\"n\\":0,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":2,\\"lsize\\":0.1}", + "3/1 -> 4/1: {\\"n\\":4,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":2,\\"lsize\\":0.1}", + "3/1 -> 4/1: {\\"n\\":7,\\"s\\":\\"supersquare\\",\\"leslie\\":1,\\"lrate\\":2,\\"lsize\\":0.1}", +] +`; + +exports[`runs examples > example "mul" example index 0 1`] = ` +[ + "0/1 -> 1/3: {\\"freq\\":150}", + "1/3 -> 2/3: {\\"freq\\":225}", + "2/3 -> 1/1: {\\"freq\\":249}", + "2/3 -> 1/1: {\\"freq\\":300}", + "1/1 -> 4/3: {\\"freq\\":150}", + "4/3 -> 5/3: {\\"freq\\":225}", + "5/3 -> 2/1: {\\"freq\\":249}", + "5/3 -> 2/1: {\\"freq\\":349.5}", + "2/1 -> 7/3: {\\"freq\\":150}", + "7/3 -> 8/3: {\\"freq\\":225}", + "8/3 -> 3/1: {\\"freq\\":249}", + "8/3 -> 3/1: {\\"freq\\":300}", + "3/1 -> 10/3: {\\"freq\\":150}", + "10/3 -> 11/3: {\\"freq\\":225}", + "11/3 -> 4/1: {\\"freq\\":249}", + "11/3 -> 4/1: {\\"freq\\":349.5}", +] +`; + +exports[`runs examples > example "n" example index 0 1`] = ` +[ + "0/1 -> 1/1: {\\"s\\":\\"superpiano\\",\\"n\\":0}", + "1/1 -> 2/1: {\\"s\\":\\"superpiano\\",\\"n\\":1}", + "2/1 -> 3/1: {\\"s\\":\\"superpiano\\",\\"n\\":2}", + "3/1 -> 4/1: {\\"s\\":\\"superpiano\\",\\"n\\":3}", +] +`; + +exports[`runs examples > example "n" example index 1 1`] = ` +[ + "0/1 -> 1/1: {\\"s\\":\\"superpiano\\",\\"n\\":\\"c4\\"}", + "1/1 -> 2/1: {\\"s\\":\\"superpiano\\",\\"n\\":\\"d4\\"}", + "2/1 -> 3/1: {\\"s\\":\\"superpiano\\",\\"n\\":\\"e4\\"}", + "3/1 -> 4/1: {\\"s\\":\\"superpiano\\",\\"n\\":\\"g4\\"}", +] +`; + +exports[`runs examples > example "n" example index 2 1`] = ` +[ + "0/1 -> 1/4: {\\"n\\":0,\\"s\\":\\"east\\"}", + "1/4 -> 1/2: {\\"n\\":1,\\"s\\":\\"east\\"}", + "1/2 -> 3/4: {\\"n\\":2,\\"s\\":\\"east\\"}", + "3/4 -> 1/1: {\\"n\\":3,\\"s\\":\\"east\\"}", + "1/1 -> 5/4: {\\"n\\":0,\\"s\\":\\"east\\"}", + "5/4 -> 3/2: {\\"n\\":1,\\"s\\":\\"east\\"}", + "3/2 -> 7/4: {\\"n\\":2,\\"s\\":\\"east\\"}", + "7/4 -> 2/1: {\\"n\\":3,\\"s\\":\\"east\\"}", + "2/1 -> 9/4: {\\"n\\":0,\\"s\\":\\"east\\"}", + "9/4 -> 5/2: {\\"n\\":1,\\"s\\":\\"east\\"}", + "5/2 -> 11/4: {\\"n\\":2,\\"s\\":\\"east\\"}", + "11/4 -> 3/1: {\\"n\\":3,\\"s\\":\\"east\\"}", + "3/1 -> 13/4: {\\"n\\":0,\\"s\\":\\"east\\"}", + "13/4 -> 7/2: {\\"n\\":1,\\"s\\":\\"east\\"}", + "7/2 -> 15/4: {\\"n\\":2,\\"s\\":\\"east\\"}", + "15/4 -> 4/1: {\\"n\\":3,\\"s\\":\\"east\\"}", +] +`; + +exports[`runs examples > example "never" example index 0 1`] = ` +[ + "0/1 -> 1/8: {\\"s\\":\\"hh\\"}", + "1/8 -> 1/4: {\\"s\\":\\"hh\\"}", + "1/4 -> 3/8: {\\"s\\":\\"hh\\"}", + "3/8 -> 1/2: {\\"s\\":\\"hh\\"}", + "1/2 -> 5/8: {\\"s\\":\\"hh\\"}", + "5/8 -> 3/4: {\\"s\\":\\"hh\\"}", + "3/4 -> 7/8: {\\"s\\":\\"hh\\"}", + "7/8 -> 1/1: {\\"s\\":\\"hh\\"}", + "1/1 -> 9/8: {\\"s\\":\\"hh\\"}", + "9/8 -> 5/4: {\\"s\\":\\"hh\\"}", + "5/4 -> 11/8: {\\"s\\":\\"hh\\"}", + "11/8 -> 3/2: {\\"s\\":\\"hh\\"}", + "3/2 -> 13/8: {\\"s\\":\\"hh\\"}", + "13/8 -> 7/4: {\\"s\\":\\"hh\\"}", + "7/4 -> 15/8: {\\"s\\":\\"hh\\"}", + "15/8 -> 2/1: {\\"s\\":\\"hh\\"}", + "2/1 -> 17/8: {\\"s\\":\\"hh\\"}", + "17/8 -> 9/4: {\\"s\\":\\"hh\\"}", + "9/4 -> 19/8: {\\"s\\":\\"hh\\"}", + "19/8 -> 5/2: {\\"s\\":\\"hh\\"}", + "5/2 -> 21/8: {\\"s\\":\\"hh\\"}", + "21/8 -> 11/4: {\\"s\\":\\"hh\\"}", + "11/4 -> 23/8: {\\"s\\":\\"hh\\"}", + "23/8 -> 3/1: {\\"s\\":\\"hh\\"}", + "3/1 -> 25/8: {\\"s\\":\\"hh\\"}", + "25/8 -> 13/4: {\\"s\\":\\"hh\\"}", + "13/4 -> 27/8: {\\"s\\":\\"hh\\"}", + "27/8 -> 7/2: {\\"s\\":\\"hh\\"}", + "7/2 -> 29/8: {\\"s\\":\\"hh\\"}", + "29/8 -> 15/4: {\\"s\\":\\"hh\\"}", + "15/4 -> 31/8: {\\"s\\":\\"hh\\"}", + "31/8 -> 4/1: {\\"s\\":\\"hh\\"}", +] +`; + +exports[`runs examples > example "octave" example index 0 1`] = ` +[ + "0/1 -> 1/1: {\\"n\\":0,\\"s\\":\\"supersquare\\",\\"octave\\":3}", + "0/1 -> 1/1: {\\"n\\":4,\\"s\\":\\"supersquare\\",\\"octave\\":3}", + "0/1 -> 1/1: {\\"n\\":7,\\"s\\":\\"supersquare\\",\\"octave\\":3}", + "1/1 -> 2/1: {\\"n\\":0,\\"s\\":\\"supersquare\\",\\"octave\\":4}", + "1/1 -> 2/1: {\\"n\\":4,\\"s\\":\\"supersquare\\",\\"octave\\":4}", + "1/1 -> 2/1: {\\"n\\":7,\\"s\\":\\"supersquare\\",\\"octave\\":4}", + "2/1 -> 3/1: {\\"n\\":0,\\"s\\":\\"supersquare\\",\\"octave\\":5}", + "2/1 -> 3/1: {\\"n\\":4,\\"s\\":\\"supersquare\\",\\"octave\\":5}", + "2/1 -> 3/1: {\\"n\\":7,\\"s\\":\\"supersquare\\",\\"octave\\":5}", + "3/1 -> 4/1: {\\"n\\":0,\\"s\\":\\"supersquare\\",\\"octave\\":6}", + "3/1 -> 4/1: {\\"n\\":4,\\"s\\":\\"supersquare\\",\\"octave\\":6}", + "3/1 -> 4/1: {\\"n\\":7,\\"s\\":\\"supersquare\\",\\"octave\\":6}", +] +`; + +exports[`runs examples > example "off" example index 0 1`] = ` +[ + "0/1 -> 1/3: {\\"note\\":\\"c3\\"}", + "1/3 -> 2/3: {\\"note\\":\\"eb3\\"}", + "2/3 -> 1/1: {\\"note\\":\\"g3\\"}", + "1/1 -> 4/3: {\\"note\\":\\"c3\\"}", + "4/3 -> 5/3: {\\"note\\":\\"eb3\\"}", + "5/3 -> 2/1: {\\"note\\":\\"g3\\"}", + "2/1 -> 7/3: {\\"note\\":\\"c3\\"}", + "7/3 -> 8/3: {\\"note\\":\\"eb3\\"}", + "8/3 -> 3/1: {\\"note\\":\\"g3\\"}", + "3/1 -> 10/3: {\\"note\\":\\"c3\\"}", + "10/3 -> 11/3: {\\"note\\":\\"eb3\\"}", + "11/3 -> 4/1: {\\"note\\":\\"g3\\"}", + "-5/24 -> 1/8: {\\"note\\":62}", + "1/8 -> 11/24: {\\"note\\":55}", + "11/24 -> 19/24: {\\"note\\":58}", + "19/24 -> 9/8: {\\"note\\":62}", + "19/24 -> 9/8: {\\"note\\":62}", + "9/8 -> 35/24: {\\"note\\":55}", + "35/24 -> 43/24: {\\"note\\":58}", + "43/24 -> 17/8: {\\"note\\":62}", + "43/24 -> 17/8: {\\"note\\":62}", + "17/8 -> 59/24: {\\"note\\":55}", + "59/24 -> 67/24: {\\"note\\":58}", + "67/24 -> 25/8: {\\"note\\":62}", + "67/24 -> 25/8: {\\"note\\":62}", + "25/8 -> 83/24: {\\"note\\":55}", + "83/24 -> 91/24: {\\"note\\":58}", + "91/24 -> 33/8: {\\"note\\":62}", +] +`; + +exports[`runs examples > example "often" example index 0 1`] = ` +[ + "0/1 -> 1/8: {\\"s\\":\\"hh\\"}", + "3/4 -> 7/8: {\\"s\\":\\"hh\\"}", + "1/8 -> 1/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "1/4 -> 3/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "3/8 -> 1/2: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "1/2 -> 5/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "5/8 -> 3/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "7/8 -> 1/1: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "15/8 -> 2/1: {\\"s\\":\\"hh\\"}", + "1/1 -> 9/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "9/8 -> 5/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "5/4 -> 11/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "11/8 -> 3/2: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "3/2 -> 13/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "13/8 -> 7/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "7/4 -> 15/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "11/4 -> 23/8: {\\"s\\":\\"hh\\"}", + "2/1 -> 17/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "17/8 -> 9/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "9/4 -> 19/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "19/8 -> 5/2: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "5/2 -> 21/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "21/8 -> 11/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "23/8 -> 3/1: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "25/8 -> 13/4: {\\"s\\":\\"hh\\"}", + "27/8 -> 7/2: {\\"s\\":\\"hh\\"}", + "7/2 -> 29/8: {\\"s\\":\\"hh\\"}", + "29/8 -> 15/4: {\\"s\\":\\"hh\\"}", + "3/1 -> 25/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "13/4 -> 27/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "15/4 -> 31/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "31/8 -> 4/1: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", +] +`; + +exports[`runs examples > example "pan" example index 0 1`] = ` +[ + "0/1 -> 1/4: {\\"s\\":\\"bd\\",\\"pan\\":0.5}", + "1/4 -> 1/2: {\\"s\\":\\"hh\\",\\"pan\\":0.5}", + "1/2 -> 3/4: {\\"s\\":\\"bd\\",\\"pan\\":0.5}", + "3/4 -> 1/1: {\\"s\\":\\"hh\\",\\"pan\\":0.5}", + "1/1 -> 5/4: {\\"s\\":\\"bd\\",\\"pan\\":1}", + "5/4 -> 3/2: {\\"s\\":\\"hh\\",\\"pan\\":1}", + "3/2 -> 7/4: {\\"s\\":\\"bd\\",\\"pan\\":1}", + "7/4 -> 2/1: {\\"s\\":\\"hh\\",\\"pan\\":1}", + "2/1 -> 9/4: {\\"s\\":\\"bd\\",\\"pan\\":0.5}", + "9/4 -> 5/2: {\\"s\\":\\"hh\\",\\"pan\\":0.5}", + "5/2 -> 11/4: {\\"s\\":\\"bd\\",\\"pan\\":0.5}", + "11/4 -> 3/1: {\\"s\\":\\"hh\\",\\"pan\\":0.5}", + "3/1 -> 13/4: {\\"s\\":\\"bd\\",\\"pan\\":0}", + "13/4 -> 7/2: {\\"s\\":\\"hh\\",\\"pan\\":0}", + "7/2 -> 15/4: {\\"s\\":\\"bd\\",\\"pan\\":0}", + "15/4 -> 4/1: {\\"s\\":\\"hh\\",\\"pan\\":0}", +] +`; + +exports[`runs examples > example "perlin" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"bd\\",\\"cutoff\\":580.6710979013587}", + "1/2 -> 1/1: {\\"s\\":\\"sd\\",\\"cutoff\\":1198.642149749503}", + "0/1 -> 1/4: {\\"s\\":\\"hh\\",\\"cutoff\\":512.5097280354112}", + "1/4 -> 1/2: {\\"s\\":\\"hh\\",\\"cutoff\\":714.4728658238364}", + "1/2 -> 3/4: {\\"s\\":\\"hh\\",\\"cutoff\\":1064.8403818270253}", + "3/4 -> 1/1: {\\"s\\":\\"hh\\",\\"cutoff\\":1266.8035196154506}", + "1/1 -> 3/2: {\\"s\\":\\"bd\\",\\"cutoff\\":1347.6312240454718}", + "3/2 -> 2/1: {\\"s\\":\\"sd\\",\\"cutoff\\":1870.9727035966353}", + "1/1 -> 5/4: {\\"s\\":\\"hh\\",\\"cutoff\\":1289.9073678111108}", + "5/4 -> 3/2: {\\"s\\":\\"hh\\",\\"cutoff\\":1460.943999751862}", + "3/2 -> 7/4: {\\"s\\":\\"hh\\",\\"cutoff\\":1757.659927890245}", + "7/4 -> 2/1: {\\"s\\":\\"hh\\",\\"cutoff\\":1928.6965598309962}", + "2/1 -> 5/2: {\\"s\\":\\"bd\\",\\"cutoff\\":1824.0408328365447}", + "5/2 -> 3/1: {\\"s\\":\\"sd\\",\\"cutoff\\":941.1835131231783}", + "2/1 -> 9/4: {\\"s\\":\\"hh\\",\\"cutoff\\":1921.4187992119491}", + "9/4 -> 5/2: {\\"s\\":\\"hh\\",\\"cutoff\\":1632.8864578093203}", + "5/2 -> 11/4: {\\"s\\":\\"hh\\",\\"cutoff\\":1132.3378881504027}", + "11/4 -> 3/1: {\\"s\\":\\"hh\\",\\"cutoff\\":843.8055467477739}", + "3/1 -> 7/2: {\\"s\\":\\"bd\\",\\"cutoff\\":804.763165235272}", + "7/2 -> 4/1: {\\"s\\":\\"sd\\",\\"cutoff\\":642.5891407507152}", + "3/1 -> 13/4: {\\"s\\":\\"hh\\",\\"cutoff\\":822.6507404420431}", + "13/4 -> 7/2: {\\"s\\":\\"hh\\",\\"cutoff\\":769.6495929696425}", + "7/2 -> 15/4: {\\"s\\":\\"hh\\",\\"cutoff\\":677.7027130163447}", + "15/4 -> 4/1: {\\"s\\":\\"hh\\",\\"cutoff\\":624.7015655439441}", +] +`; + +exports[`runs examples > example "pure" example index 0 1`] = ` +[ + "0/1 -> 1/1: e4", + "1/1 -> 2/1: e4", + "2/1 -> 3/1: e4", + "3/1 -> 4/1: e4", +] +`; + +exports[`runs examples > example "queryArc" example index 0 1`] = `[]`; + +exports[`runs examples > example "rand" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"bd\\",\\"cutoff\\":1054.6395378187299}", + "1/2 -> 1/1: {\\"s\\":\\"sd\\",\\"cutoff\\":793.7397202476859}", + "0/1 -> 1/4: {\\"s\\":\\"hh\\",\\"cutoff\\":1527.8233550488949}", + "1/4 -> 1/2: {\\"s\\":\\"hh\\",\\"cutoff\\":1102.0887736231089}", + "1/2 -> 3/4: {\\"s\\":\\"hh\\",\\"cutoff\\":703.4538015723228}", + "3/4 -> 1/1: {\\"s\\":\\"hh\\",\\"cutoff\\":1096.4466212317348}", + "1/1 -> 3/2: {\\"s\\":\\"bd\\",\\"cutoff\\":1593.0923046544194}", + "3/2 -> 2/1: {\\"s\\":\\"sd\\",\\"cutoff\\":807.1068441495299}", + "1/1 -> 5/4: {\\"s\\":\\"hh\\",\\"cutoff\\":1508.7342718616128}", + "5/4 -> 3/2: {\\"s\\":\\"hh\\",\\"cutoff\\":774.2056278511882}", + "3/2 -> 7/4: {\\"s\\":\\"hh\\",\\"cutoff\\":1245.1320672407746}", + "7/4 -> 2/1: {\\"s\\":\\"hh\\",\\"cutoff\\":1391.8357687070966}", + "2/1 -> 5/2: {\\"s\\":\\"bd\\",\\"cutoff\\":1018.2237671688199}", + "5/2 -> 3/1: {\\"s\\":\\"sd\\",\\"cutoff\\":1449.8491557314992}", + "2/1 -> 9/4: {\\"s\\":\\"hh\\",\\"cutoff\\":1855.0854409113526}", + "9/4 -> 5/2: {\\"s\\":\\"hh\\",\\"cutoff\\":1754.75996080786}", + "5/2 -> 11/4: {\\"s\\":\\"hh\\",\\"cutoff\\":740.2902264147997}", + "11/4 -> 3/1: {\\"s\\":\\"hh\\",\\"cutoff\\":524.3812575936317}", + "3/1 -> 7/2: {\\"s\\":\\"bd\\",\\"cutoff\\":1988.5476073250175}", + "7/2 -> 4/1: {\\"s\\":\\"sd\\",\\"cutoff\\":1718.2509833946824}", + "3/1 -> 13/4: {\\"s\\":\\"hh\\",\\"cutoff\\":1014.865817502141}", + "13/4 -> 7/2: {\\"s\\":\\"hh\\",\\"cutoff\\":1113.0377016961575}", + "7/2 -> 15/4: {\\"s\\":\\"hh\\",\\"cutoff\\":1908.7228681892157}", + "15/4 -> 4/1: {\\"s\\":\\"hh\\",\\"cutoff\\":1604.2498080059886}", +] +`; + +exports[`runs examples > example "range" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"bd\\",\\"cutoff\\":1537.0125742738173}", + "1/2 -> 1/1: {\\"s\\":\\"sd\\",\\"cutoff\\":1942.909649383465}", + "0/1 -> 1/4: {\\"s\\":\\"hh\\",\\"cutoff\\":1396.3177415120963}", + "1/4 -> 1/2: {\\"s\\":\\"hh\\",\\"cutoff\\":1666.6776747647016}", + "1/2 -> 3/4: {\\"s\\":\\"hh\\",\\"cutoff\\":1873.602209226909}", + "3/4 -> 1/1: {\\"s\\":\\"hh\\",\\"cutoff\\":1985.5889603024227}", + "1/1 -> 3/2: {\\"s\\":\\"bd\\",\\"cutoff\\":1942.909649383465}", + "3/2 -> 2/1: {\\"s\\":\\"sd\\",\\"cutoff\\":1537.0125742738173}", + "1/1 -> 5/4: {\\"s\\":\\"hh\\",\\"cutoff\\":1985.5889603024227}", + "5/4 -> 3/2: {\\"s\\":\\"hh\\",\\"cutoff\\":1873.602209226909}", + "3/2 -> 7/4: {\\"s\\":\\"hh\\",\\"cutoff\\":1666.6776747647016}", + "7/4 -> 2/1: {\\"s\\":\\"hh\\",\\"cutoff\\":1396.3177415120965}", + "2/1 -> 5/2: {\\"s\\":\\"bd\\",\\"cutoff\\":962.9874257261828}", + "5/2 -> 3/1: {\\"s\\":\\"sd\\",\\"cutoff\\":557.0903506165351}", + "2/1 -> 9/4: {\\"s\\":\\"hh\\",\\"cutoff\\":1103.6822584879037}", + "9/4 -> 5/2: {\\"s\\":\\"hh\\",\\"cutoff\\":833.3223252352985}", + "5/2 -> 11/4: {\\"s\\":\\"hh\\",\\"cutoff\\":626.3977907730911}", + "11/4 -> 3/1: {\\"s\\":\\"hh\\",\\"cutoff\\":514.4110396975773}", + "3/1 -> 7/2: {\\"s\\":\\"bd\\",\\"cutoff\\":557.090350616535}", + "7/2 -> 4/1: {\\"s\\":\\"sd\\",\\"cutoff\\":962.9874257261822}", + "3/1 -> 13/4: {\\"s\\":\\"hh\\",\\"cutoff\\":514.4110396975772}", + "13/4 -> 7/2: {\\"s\\":\\"hh\\",\\"cutoff\\":626.397790773091}", + "7/2 -> 15/4: {\\"s\\":\\"hh\\",\\"cutoff\\":833.3223252352984}", + "15/4 -> 4/1: {\\"s\\":\\"hh\\",\\"cutoff\\":1103.6822584879035}", +] +`; + +exports[`runs examples > example "rarely" example index 0 1`] = ` +[ + "0/1 -> 1/8: {\\"s\\":\\"hh\\"}", + "1/4 -> 3/8: {\\"s\\":\\"hh\\"}", + "3/8 -> 1/2: {\\"s\\":\\"hh\\"}", + "5/8 -> 3/4: {\\"s\\":\\"hh\\"}", + "3/4 -> 7/8: {\\"s\\":\\"hh\\"}", + "7/8 -> 1/1: {\\"s\\":\\"hh\\"}", + "1/8 -> 1/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "1/2 -> 5/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "1/1 -> 9/8: {\\"s\\":\\"hh\\"}", + "11/8 -> 3/2: {\\"s\\":\\"hh\\"}", + "13/8 -> 7/4: {\\"s\\":\\"hh\\"}", + "7/4 -> 15/8: {\\"s\\":\\"hh\\"}", + "15/8 -> 2/1: {\\"s\\":\\"hh\\"}", + "9/8 -> 5/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "5/4 -> 11/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "3/2 -> 13/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "2/1 -> 17/8: {\\"s\\":\\"hh\\"}", + "9/4 -> 19/8: {\\"s\\":\\"hh\\"}", + "5/2 -> 21/8: {\\"s\\":\\"hh\\"}", + "21/8 -> 11/4: {\\"s\\":\\"hh\\"}", + "11/4 -> 23/8: {\\"s\\":\\"hh\\"}", + "23/8 -> 3/1: {\\"s\\":\\"hh\\"}", + "17/8 -> 9/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "19/8 -> 5/2: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "25/8 -> 13/4: {\\"s\\":\\"hh\\"}", + "13/4 -> 27/8: {\\"s\\":\\"hh\\"}", + "27/8 -> 7/2: {\\"s\\":\\"hh\\"}", + "7/2 -> 29/8: {\\"s\\":\\"hh\\"}", + "29/8 -> 15/4: {\\"s\\":\\"hh\\"}", + "31/8 -> 4/1: {\\"s\\":\\"hh\\"}", + "3/1 -> 25/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "15/4 -> 31/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", +] +`; + +exports[`runs examples > example "resonance" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"bd\\",\\"cutoff\\":2000,\\"resonance\\":0}", + "1/2 -> 1/1: {\\"s\\":\\"sd\\",\\"cutoff\\":2000,\\"resonance\\":0}", + "0/1 -> 1/4: {\\"s\\":\\"hh\\",\\"cutoff\\":2000,\\"resonance\\":0}", + "1/4 -> 1/2: {\\"s\\":\\"hh\\",\\"cutoff\\":2000,\\"resonance\\":0}", + "1/2 -> 3/4: {\\"s\\":\\"hh\\",\\"cutoff\\":2000,\\"resonance\\":0}", + "3/4 -> 1/1: {\\"s\\":\\"hh\\",\\"cutoff\\":2000,\\"resonance\\":0}", + "1/1 -> 3/2: {\\"s\\":\\"bd\\",\\"cutoff\\":2000,\\"resonance\\":10}", + "3/2 -> 2/1: {\\"s\\":\\"sd\\",\\"cutoff\\":2000,\\"resonance\\":10}", + "1/1 -> 5/4: {\\"s\\":\\"hh\\",\\"cutoff\\":2000,\\"resonance\\":10}", + "5/4 -> 3/2: {\\"s\\":\\"hh\\",\\"cutoff\\":2000,\\"resonance\\":10}", + "3/2 -> 7/4: {\\"s\\":\\"hh\\",\\"cutoff\\":2000,\\"resonance\\":10}", + "7/4 -> 2/1: {\\"s\\":\\"hh\\",\\"cutoff\\":2000,\\"resonance\\":10}", + "2/1 -> 5/2: {\\"s\\":\\"bd\\",\\"cutoff\\":2000,\\"resonance\\":20}", + "5/2 -> 3/1: {\\"s\\":\\"sd\\",\\"cutoff\\":2000,\\"resonance\\":20}", + "2/1 -> 9/4: {\\"s\\":\\"hh\\",\\"cutoff\\":2000,\\"resonance\\":20}", + "9/4 -> 5/2: {\\"s\\":\\"hh\\",\\"cutoff\\":2000,\\"resonance\\":20}", + "5/2 -> 11/4: {\\"s\\":\\"hh\\",\\"cutoff\\":2000,\\"resonance\\":20}", + "11/4 -> 3/1: {\\"s\\":\\"hh\\",\\"cutoff\\":2000,\\"resonance\\":20}", + "3/1 -> 7/2: {\\"s\\":\\"bd\\",\\"cutoff\\":2000,\\"resonance\\":30}", + "7/2 -> 4/1: {\\"s\\":\\"sd\\",\\"cutoff\\":2000,\\"resonance\\":30}", + "3/1 -> 13/4: {\\"s\\":\\"hh\\",\\"cutoff\\":2000,\\"resonance\\":30}", + "13/4 -> 7/2: {\\"s\\":\\"hh\\",\\"cutoff\\":2000,\\"resonance\\":30}", + "7/2 -> 15/4: {\\"s\\":\\"hh\\",\\"cutoff\\":2000,\\"resonance\\":30}", + "15/4 -> 4/1: {\\"s\\":\\"hh\\",\\"cutoff\\":2000,\\"resonance\\":30}", +] +`; + +exports[`runs examples > example "rev" example index 0 1`] = ` +[ + "3/4 -> 1/1: {\\"note\\":\\"c3\\"}", + "1/2 -> 3/4: {\\"note\\":\\"d3\\"}", + "1/4 -> 1/2: {\\"note\\":\\"e3\\"}", + "0/1 -> 1/4: {\\"note\\":\\"g3\\"}", + "7/4 -> 2/1: {\\"note\\":\\"c3\\"}", + "3/2 -> 7/4: {\\"note\\":\\"d3\\"}", + "5/4 -> 3/2: {\\"note\\":\\"e3\\"}", + "1/1 -> 5/4: {\\"note\\":\\"g3\\"}", + "11/4 -> 3/1: {\\"note\\":\\"c3\\"}", + "5/2 -> 11/4: {\\"note\\":\\"d3\\"}", + "9/4 -> 5/2: {\\"note\\":\\"e3\\"}", + "2/1 -> 9/4: {\\"note\\":\\"g3\\"}", + "15/4 -> 4/1: {\\"note\\":\\"c3\\"}", + "7/2 -> 15/4: {\\"note\\":\\"d3\\"}", + "13/4 -> 7/2: {\\"note\\":\\"e3\\"}", + "3/1 -> 13/4: {\\"note\\":\\"g3\\"}", +] +`; + +exports[`runs examples > example "room" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"bd\\",\\"room\\":0}", + "1/2 -> 1/1: {\\"s\\":\\"sd\\",\\"room\\":0}", + "1/1 -> 3/2: {\\"s\\":\\"bd\\",\\"room\\":0.2}", + "3/2 -> 2/1: {\\"s\\":\\"sd\\",\\"room\\":0.2}", + "2/1 -> 5/2: {\\"s\\":\\"bd\\",\\"room\\":0.4}", + "5/2 -> 3/1: {\\"s\\":\\"sd\\",\\"room\\":0.4}", + "3/1 -> 7/2: {\\"s\\":\\"bd\\",\\"room\\":0.6}", + "7/2 -> 4/1: {\\"s\\":\\"sd\\",\\"room\\":0.6}", +] +`; + +exports[`runs examples > example "round" example index 0 1`] = ` +[ + "0/1 -> 1/3: {\\"note\\":\\"D3\\"}", + "1/3 -> 2/3: {\\"note\\":\\"E3\\"}", + "2/3 -> 1/1: {\\"note\\":\\"F3\\"}", + "1/1 -> 4/3: {\\"note\\":\\"D3\\"}", + "4/3 -> 5/3: {\\"note\\":\\"E3\\"}", + "5/3 -> 2/1: {\\"note\\":\\"F3\\"}", + "2/1 -> 7/3: {\\"note\\":\\"D3\\"}", + "7/3 -> 8/3: {\\"note\\":\\"E3\\"}", + "8/3 -> 3/1: {\\"note\\":\\"F3\\"}", + "3/1 -> 10/3: {\\"note\\":\\"D3\\"}", + "10/3 -> 11/3: {\\"note\\":\\"E3\\"}", + "11/3 -> 4/1: {\\"note\\":\\"F3\\"}", +] +`; + +exports[`runs examples > example "s" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"bd\\"}", + "1/2 -> 1/1: {\\"s\\":\\"hh\\"}", + "1/1 -> 3/2: {\\"s\\":\\"bd\\"}", + "3/2 -> 2/1: {\\"s\\":\\"hh\\"}", + "2/1 -> 5/2: {\\"s\\":\\"bd\\"}", + "5/2 -> 3/1: {\\"s\\":\\"hh\\"}", + "3/1 -> 7/2: {\\"s\\":\\"bd\\"}", + "7/2 -> 4/1: {\\"s\\":\\"hh\\"}", +] +`; + +exports[`runs examples > example "samples" example index 0 1`] = ` +[ + "0/1 -> 1/4: {\\"s\\":\\"bd\\"}", + "1/2 -> 3/4: {\\"s\\":\\"bd\\"}", + "1/4 -> 1/2: {\\"s\\":\\"hh\\"}", + "3/4 -> 1/1: {\\"s\\":\\"hh\\"}", + "1/2 -> 1/1: {\\"s\\":\\"sd\\"}", + "1/1 -> 5/4: {\\"s\\":\\"bd\\"}", + "3/2 -> 7/4: {\\"s\\":\\"bd\\"}", + "5/4 -> 3/2: {\\"s\\":\\"hh\\"}", + "7/4 -> 2/1: {\\"s\\":\\"hh\\"}", + "3/2 -> 2/1: {\\"s\\":\\"sd\\"}", + "2/1 -> 9/4: {\\"s\\":\\"bd\\"}", + "5/2 -> 11/4: {\\"s\\":\\"bd\\"}", + "9/4 -> 5/2: {\\"s\\":\\"hh\\"}", + "11/4 -> 3/1: {\\"s\\":\\"hh\\"}", + "5/2 -> 3/1: {\\"s\\":\\"sd\\"}", + "3/1 -> 13/4: {\\"s\\":\\"bd\\"}", + "7/2 -> 15/4: {\\"s\\":\\"bd\\"}", + "13/4 -> 7/2: {\\"s\\":\\"hh\\"}", + "15/4 -> 4/1: {\\"s\\":\\"hh\\"}", + "7/2 -> 4/1: {\\"s\\":\\"sd\\"}", +] +`; + +exports[`runs examples > example "saw" example index 0 1`] = ` +[ + "0/1 -> 1/32: {\\"note\\":\\"c3\\"}", + "1/4 -> 9/32: {\\"note\\":\\"eb3\\"}", + "1/4 -> 9/32: {\\"note\\":\\"g3\\"}", + "1/2 -> 17/32: {\\"note\\":\\"g2\\"}", + "3/4 -> 25/32: {\\"note\\":\\"g3\\"}", + "3/4 -> 25/32: {\\"note\\":\\"bb3\\"}", + "1/1 -> 35/32: {\\"note\\":\\"c3\\"}", + "5/4 -> 43/32: {\\"note\\":\\"eb3\\"}", + "5/4 -> 43/32: {\\"note\\":\\"g3\\"}", + "3/2 -> 51/32: {\\"note\\":\\"g2\\"}", + "7/4 -> 59/32: {\\"note\\":\\"g3\\"}", + "7/4 -> 59/32: {\\"note\\":\\"bb3\\"}", + "2/1 -> 69/32: {\\"note\\":\\"c3\\"}", + "9/4 -> 77/32: {\\"note\\":\\"eb3\\"}", + "9/4 -> 77/32: {\\"note\\":\\"g3\\"}", + "5/2 -> 85/32: {\\"note\\":\\"g2\\"}", + "11/4 -> 93/32: {\\"note\\":\\"g3\\"}", + "11/4 -> 93/32: {\\"note\\":\\"bb3\\"}", + "3/1 -> 103/32: {\\"note\\":\\"c3\\"}", + "13/4 -> 111/32: {\\"note\\":\\"eb3\\"}", + "13/4 -> 111/32: {\\"note\\":\\"g3\\"}", + "7/2 -> 119/32: {\\"note\\":\\"g2\\"}", + "15/4 -> 127/32: {\\"note\\":\\"g3\\"}", + "15/4 -> 127/32: {\\"note\\":\\"bb3\\"}", +] +`; + +exports[`runs examples > example "saw" example index 1 1`] = ` +[ + "0/1 -> 1/2: {\\"note\\":\\"D3\\"}", + "1/2 -> 1/1: {\\"note\\":\\"E3\\"}", + "1/1 -> 3/2: {\\"note\\":\\"F3\\"}", + "3/2 -> 2/1: {\\"note\\":\\"G3\\"}", + "2/1 -> 5/2: {\\"note\\":\\"A3\\"}", + "5/2 -> 3/1: {\\"note\\":\\"B3\\"}", + "3/1 -> 7/2: {\\"note\\":\\"C4\\"}", + "7/2 -> 4/1: {\\"note\\":\\"D4\\"}", +] +`; + +exports[`runs examples > example "scale" example index 0 1`] = ` +[ + "0/1 -> 1/6: {\\"note\\":\\"C2\\"}", + "1/6 -> 1/3: {\\"note\\":\\"E2\\"}", + "1/3 -> 1/2: {\\"note\\":\\"G2\\"}", + "1/2 -> 2/3: {\\"note\\":\\"B2\\"}", + "2/3 -> 5/6: {\\"note\\":\\"G2\\"}", + "5/6 -> 1/1: {\\"note\\":\\"E2\\"}", + "1/1 -> 7/6: {\\"note\\":\\"C2\\"}", + "7/6 -> 4/3: {\\"note\\":\\"Eb2\\"}", + "4/3 -> 3/2: {\\"note\\":\\"G2\\"}", + "3/2 -> 5/3: {\\"note\\":\\"Bb2\\"}", + "5/3 -> 11/6: {\\"note\\":\\"G2\\"}", + "11/6 -> 2/1: {\\"note\\":\\"Eb2\\"}", + "2/1 -> 13/6: {\\"note\\":\\"C2\\"}", + "13/6 -> 7/3: {\\"note\\":\\"E2\\"}", + "7/3 -> 5/2: {\\"note\\":\\"G2\\"}", + "5/2 -> 8/3: {\\"note\\":\\"B2\\"}", + "8/3 -> 17/6: {\\"note\\":\\"G2\\"}", + "17/6 -> 3/1: {\\"note\\":\\"E2\\"}", + "3/1 -> 19/6: {\\"note\\":\\"C2\\"}", + "19/6 -> 10/3: {\\"note\\":\\"Eb2\\"}", + "10/3 -> 7/2: {\\"note\\":\\"G2\\"}", + "7/2 -> 11/3: {\\"note\\":\\"Bb2\\"}", + "11/3 -> 23/6: {\\"note\\":\\"G2\\"}", + "23/6 -> 4/1: {\\"note\\":\\"Eb2\\"}", +] +`; + +exports[`runs examples > example "scaleTranspose" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"note\\":\\"C3\\"}", + "1/2 -> 1/1: {\\"note\\":\\"E4\\"}", + "1/2 -> 1/1: {\\"note\\":\\"G4\\"}", + "1/2 -> 1/1: {\\"note\\":\\"A4\\"}", + "1/1 -> 3/2: {\\"note\\":\\"B2\\"}", + "3/2 -> 2/1: {\\"note\\":\\"D4\\"}", + "3/2 -> 2/1: {\\"note\\":\\"F4\\"}", + "3/2 -> 2/1: {\\"note\\":\\"G#4\\"}", + "2/1 -> 5/2: {\\"note\\":\\"A2\\"}", + "5/2 -> 3/1: {\\"note\\":\\"C4\\"}", + "5/2 -> 3/1: {\\"note\\":\\"E4\\"}", + "5/2 -> 3/1: {\\"note\\":\\"G4\\"}", + "3/1 -> 7/2: {\\"note\\":\\"G#2\\"}", + "7/2 -> 4/1: {\\"note\\":\\"B3\\"}", + "7/2 -> 4/1: {\\"note\\":\\"D4\\"}", + "7/2 -> 4/1: {\\"note\\":\\"F4\\"}", +] +`; + +exports[`runs examples > example "seq" example index 0 1`] = ` +[ + "0/1 -> 1/4: {\\"s\\":\\"hh\\"}", + "1/4 -> 1/2: {\\"s\\":\\"hh\\"}", + "1/2 -> 9/16: {\\"n\\":\\"c2\\"}", + "11/16 -> 3/4: {\\"n\\":\\"c2\\"}", + "7/8 -> 15/16: {\\"n\\":\\"c2\\"}", + "1/1 -> 5/4: {\\"s\\":\\"hh\\"}", + "5/4 -> 3/2: {\\"s\\":\\"hh\\"}", + "3/2 -> 25/16: {\\"n\\":\\"c2\\"}", + "27/16 -> 7/4: {\\"n\\":\\"c2\\"}", + "15/8 -> 31/16: {\\"n\\":\\"c2\\"}", + "2/1 -> 9/4: {\\"s\\":\\"hh\\"}", + "9/4 -> 5/2: {\\"s\\":\\"hh\\"}", + "5/2 -> 41/16: {\\"n\\":\\"c2\\"}", + "43/16 -> 11/4: {\\"n\\":\\"c2\\"}", + "23/8 -> 47/16: {\\"n\\":\\"c2\\"}", + "3/1 -> 13/4: {\\"s\\":\\"hh\\"}", + "13/4 -> 7/2: {\\"s\\":\\"hh\\"}", + "7/2 -> 57/16: {\\"n\\":\\"c2\\"}", + "59/16 -> 15/4: {\\"n\\":\\"c2\\"}", + "31/8 -> 63/16: {\\"n\\":\\"c2\\"}", +] +`; + +exports[`runs examples > example "seq" example index 0 2`] = ` +[ + "0/1 -> 1/3: {\\"note\\":\\"e5\\"}", + "1/3 -> 2/3: {\\"note\\":\\"b4\\"}", + "2/3 -> 5/6: {\\"note\\":\\"d5\\"}", + "5/6 -> 1/1: {\\"note\\":\\"c5\\"}", + "1/1 -> 4/3: {\\"note\\":\\"e5\\"}", + "4/3 -> 5/3: {\\"note\\":\\"b4\\"}", + "5/3 -> 11/6: {\\"note\\":\\"d5\\"}", + "11/6 -> 2/1: {\\"note\\":\\"c5\\"}", + "2/1 -> 7/3: {\\"note\\":\\"e5\\"}", + "7/3 -> 8/3: {\\"note\\":\\"b4\\"}", + "8/3 -> 17/6: {\\"note\\":\\"d5\\"}", + "17/6 -> 3/1: {\\"note\\":\\"c5\\"}", + "3/1 -> 10/3: {\\"note\\":\\"e5\\"}", + "10/3 -> 11/3: {\\"note\\":\\"b4\\"}", + "11/3 -> 23/6: {\\"note\\":\\"d5\\"}", + "23/6 -> 4/1: {\\"note\\":\\"c5\\"}", +] +`; + +exports[`runs examples > example "shape" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"bd\\",\\"shape\\":0}", + "1/2 -> 1/1: {\\"s\\":\\"sd\\",\\"shape\\":0}", + "0/1 -> 1/4: {\\"s\\":\\"hh\\",\\"shape\\":0}", + "1/4 -> 1/2: {\\"s\\":\\"hh\\",\\"shape\\":0}", + "1/2 -> 3/4: {\\"s\\":\\"hh\\",\\"shape\\":0}", + "3/4 -> 1/1: {\\"s\\":\\"hh\\",\\"shape\\":0}", + "1/1 -> 3/2: {\\"s\\":\\"bd\\",\\"shape\\":0.2}", + "3/2 -> 2/1: {\\"s\\":\\"sd\\",\\"shape\\":0.2}", + "1/1 -> 5/4: {\\"s\\":\\"hh\\",\\"shape\\":0.2}", + "5/4 -> 3/2: {\\"s\\":\\"hh\\",\\"shape\\":0.2}", + "3/2 -> 7/4: {\\"s\\":\\"hh\\",\\"shape\\":0.2}", + "7/4 -> 2/1: {\\"s\\":\\"hh\\",\\"shape\\":0.2}", + "2/1 -> 5/2: {\\"s\\":\\"bd\\",\\"shape\\":0.4}", + "5/2 -> 3/1: {\\"s\\":\\"sd\\",\\"shape\\":0.4}", + "2/1 -> 9/4: {\\"s\\":\\"hh\\",\\"shape\\":0.4}", + "9/4 -> 5/2: {\\"s\\":\\"hh\\",\\"shape\\":0.4}", + "5/2 -> 11/4: {\\"s\\":\\"hh\\",\\"shape\\":0.4}", + "11/4 -> 3/1: {\\"s\\":\\"hh\\",\\"shape\\":0.4}", + "3/1 -> 7/2: {\\"s\\":\\"bd\\",\\"shape\\":0.6}", + "7/2 -> 4/1: {\\"s\\":\\"sd\\",\\"shape\\":0.6}", + "3/1 -> 13/4: {\\"s\\":\\"hh\\",\\"shape\\":0.6}", + "13/4 -> 7/2: {\\"s\\":\\"hh\\",\\"shape\\":0.6}", + "7/2 -> 15/4: {\\"s\\":\\"hh\\",\\"shape\\":0.6}", + "15/4 -> 4/1: {\\"s\\":\\"hh\\",\\"shape\\":0.6}", +] +`; + +exports[`runs examples > example "sine" example index 0 1`] = ` +[ + "0/1 -> 1/8: {\\"note\\":\\"Eb4\\"}", + "1/8 -> 1/4: {\\"note\\":\\"Ab4\\"}", + "1/4 -> 3/8: {\\"note\\":\\"C5\\"}", + "3/8 -> 1/2: {\\"note\\":\\"D5\\"}", + "1/2 -> 5/8: {\\"note\\":\\"D5\\"}", + "5/8 -> 3/4: {\\"note\\":\\"C5\\"}", + "3/4 -> 7/8: {\\"note\\":\\"Ab4\\"}", + "7/8 -> 1/1: {\\"note\\":\\"Eb4\\"}", + "1/1 -> 9/8: {\\"note\\":\\"C4\\"}", + "9/8 -> 5/4: {\\"note\\":\\"G3\\"}", + "5/4 -> 11/8: {\\"note\\":\\"Eb3\\"}", + "11/8 -> 3/2: {\\"note\\":\\"D3\\"}", + "3/2 -> 13/8: {\\"note\\":\\"D3\\"}", + "13/8 -> 7/4: {\\"note\\":\\"Eb3\\"}", + "7/4 -> 15/8: {\\"note\\":\\"G3\\"}", + "15/8 -> 2/1: {\\"note\\":\\"C4\\"}", + "2/1 -> 17/8: {\\"note\\":\\"Eb4\\"}", + "17/8 -> 9/4: {\\"note\\":\\"Ab4\\"}", + "9/4 -> 19/8: {\\"note\\":\\"C5\\"}", + "19/8 -> 5/2: {\\"note\\":\\"D5\\"}", + "5/2 -> 21/8: {\\"note\\":\\"D5\\"}", + "21/8 -> 11/4: {\\"note\\":\\"C5\\"}", + "11/4 -> 23/8: {\\"note\\":\\"Ab4\\"}", + "23/8 -> 3/1: {\\"note\\":\\"Eb4\\"}", + "3/1 -> 25/8: {\\"note\\":\\"C4\\"}", + "25/8 -> 13/4: {\\"note\\":\\"G3\\"}", + "13/4 -> 27/8: {\\"note\\":\\"Eb3\\"}", + "27/8 -> 7/2: {\\"note\\":\\"D3\\"}", + "7/2 -> 29/8: {\\"note\\":\\"D3\\"}", + "29/8 -> 15/4: {\\"note\\":\\"Eb3\\"}", + "15/4 -> 31/8: {\\"note\\":\\"G3\\"}", + "31/8 -> 4/1: {\\"note\\":\\"C4\\"}", +] +`; + +exports[`runs examples > example "size" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"bd\\",\\"room\\":0.8,\\"size\\":0}", + "1/2 -> 1/1: {\\"s\\":\\"sd\\",\\"room\\":0.8,\\"size\\":0}", + "1/1 -> 3/2: {\\"s\\":\\"bd\\",\\"room\\":0.8,\\"size\\":0.2}", + "3/2 -> 2/1: {\\"s\\":\\"sd\\",\\"room\\":0.8,\\"size\\":0.2}", + "2/1 -> 5/2: {\\"s\\":\\"bd\\",\\"room\\":0.8,\\"size\\":0.4}", + "5/2 -> 3/1: {\\"s\\":\\"sd\\",\\"room\\":0.8,\\"size\\":0.4}", + "3/1 -> 7/2: {\\"s\\":\\"bd\\",\\"room\\":0.8,\\"size\\":0.6}", + "7/2 -> 4/1: {\\"s\\":\\"sd\\",\\"room\\":0.8,\\"size\\":0.6}", +] +`; + +exports[`runs examples > example "slow" example index 0 1`] = ` +[ + "0/1 -> 1/1: {\\"s\\":\\"bd\\"}", + "1/1 -> 2/1: {\\"s\\":\\"hh\\"}", + "2/1 -> 3/1: {\\"s\\":\\"sd\\"}", + "3/1 -> 4/1: {\\"s\\":\\"hh\\"}", +] +`; + +exports[`runs examples > example "slowcat" example index 0 1`] = ` +[ + "0/1 -> 1/1: e5", + "1/1 -> 2/1: b4", + "2/1 -> 5/2: d5", + "5/2 -> 3/1: c5", + "3/1 -> 4/1: e5", +] +`; + +exports[`runs examples > example "someCycles" example index 0 1`] = ` +[ + "1/1 -> 9/8: {\\"s\\":\\"hh\\"}", + "11/8 -> 3/2: {\\"s\\":\\"hh\\"}", + "7/4 -> 15/8: {\\"s\\":\\"hh\\"}", + "0/1 -> 1/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "3/8 -> 1/2: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "3/4 -> 7/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "2/1 -> 17/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "19/8 -> 5/2: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "11/4 -> 23/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "3/1 -> 25/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "27/8 -> 7/2: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "15/4 -> 31/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", +] +`; + +exports[`runs examples > example "someCyclesBy" example index 0 1`] = ` +[ + "0/1 -> 1/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "3/8 -> 1/2: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "3/4 -> 7/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "1/1 -> 9/8: {\\"s\\":\\"hh\\"}", + "11/8 -> 3/2: {\\"s\\":\\"hh\\"}", + "7/4 -> 15/8: {\\"s\\":\\"hh\\"}", + "2/1 -> 17/8: {\\"s\\":\\"hh\\"}", + "19/8 -> 5/2: {\\"s\\":\\"hh\\"}", + "11/4 -> 23/8: {\\"s\\":\\"hh\\"}", + "3/1 -> 25/8: {\\"s\\":\\"hh\\"}", + "27/8 -> 7/2: {\\"s\\":\\"hh\\"}", + "15/4 -> 31/8: {\\"s\\":\\"hh\\"}", +] +`; + +exports[`runs examples > example "sometimes" example index 0 1`] = ` +[ + "0/1 -> 1/4: {\\"s\\":\\"hh\\"}", + "1/1 -> 5/4: {\\"s\\":\\"hh\\"}", + "7/4 -> 2/1: {\\"s\\":\\"hh\\"}", + "2/1 -> 9/4: {\\"s\\":\\"hh\\"}", + "9/4 -> 5/2: {\\"s\\":\\"hh\\"}", + "7/2 -> 15/4: {\\"s\\":\\"hh\\"}", + "15/4 -> 4/1: {\\"s\\":\\"hh\\"}", + "1/4 -> 1/2: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "1/2 -> 3/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "3/4 -> 1/1: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "5/4 -> 3/2: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "3/2 -> 7/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "5/2 -> 11/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "11/4 -> 3/1: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "3/1 -> 13/4: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "13/4 -> 7/2: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", +] +`; + +exports[`runs examples > example "sometimesBy" example index 0 1`] = ` +[ + "0/1 -> 1/8: {\\"s\\":\\"hh\\"}", + "3/4 -> 7/8: {\\"s\\":\\"hh\\"}", + "3/8 -> 1/2: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "1/1 -> 9/8: {\\"s\\":\\"hh\\"}", + "11/8 -> 3/2: {\\"s\\":\\"hh\\"}", + "7/4 -> 15/8: {\\"s\\":\\"hh\\"}", + "11/4 -> 23/8: {\\"s\\":\\"hh\\"}", + "2/1 -> 17/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "19/8 -> 5/2: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "27/8 -> 7/2: {\\"s\\":\\"hh\\"}", + "3/1 -> 25/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", + "15/4 -> 31/8: {\\"s\\":\\"hh\\",\\"speed\\":0.5}", +] +`; + +exports[`runs examples > example "speed" example index 0 1`] = ` +[ + "0/1 -> 1/1: {\\"s\\":\\"bd\\",\\"speed\\":1}", + "1/1 -> 2/1: {\\"s\\":\\"bd\\",\\"speed\\":2}", + "2/1 -> 3/1: {\\"s\\":\\"bd\\",\\"speed\\":4}", + "3/1 -> 4/1: {\\"s\\":\\"bd\\",\\"speed\\":1}", +] +`; + +exports[`runs examples > example "speed" example index 1 1`] = ` +[ + "0/1 -> 1/3: {\\"speed\\":1,\\"s\\":\\"sax\\",\\"cut\\":1}", + "1/3 -> 1/2: {\\"speed\\":1.5,\\"s\\":\\"sax\\",\\"cut\\":1}", + "1/2 -> 2/3: {\\"speed\\":1.5,\\"s\\":\\"sax\\",\\"cut\\":1}", + "2/3 -> 5/6: {\\"speed\\":2,\\"s\\":\\"sax\\",\\"cut\\":1}", + "5/6 -> 1/1: {\\"speed\\":1.1,\\"s\\":\\"sax\\",\\"cut\\":1}", + "1/1 -> 4/3: {\\"speed\\":1,\\"s\\":\\"sax\\",\\"cut\\":1}", + "4/3 -> 3/2: {\\"speed\\":1.5,\\"s\\":\\"sax\\",\\"cut\\":1}", + "3/2 -> 5/3: {\\"speed\\":1.5,\\"s\\":\\"sax\\",\\"cut\\":1}", + "5/3 -> 11/6: {\\"speed\\":2,\\"s\\":\\"sax\\",\\"cut\\":1}", + "11/6 -> 2/1: {\\"speed\\":1.1,\\"s\\":\\"sax\\",\\"cut\\":1}", + "2/1 -> 7/3: {\\"speed\\":1,\\"s\\":\\"sax\\",\\"cut\\":1}", + "7/3 -> 5/2: {\\"speed\\":1.5,\\"s\\":\\"sax\\",\\"cut\\":1}", + "5/2 -> 8/3: {\\"speed\\":1.5,\\"s\\":\\"sax\\",\\"cut\\":1}", + "8/3 -> 17/6: {\\"speed\\":2,\\"s\\":\\"sax\\",\\"cut\\":1}", + "17/6 -> 3/1: {\\"speed\\":1.1,\\"s\\":\\"sax\\",\\"cut\\":1}", + "3/1 -> 10/3: {\\"speed\\":1,\\"s\\":\\"sax\\",\\"cut\\":1}", + "10/3 -> 7/2: {\\"speed\\":1.5,\\"s\\":\\"sax\\",\\"cut\\":1}", + "7/2 -> 11/3: {\\"speed\\":1.5,\\"s\\":\\"sax\\",\\"cut\\":1}", + "11/3 -> 23/6: {\\"speed\\":2,\\"s\\":\\"sax\\",\\"cut\\":1}", + "23/6 -> 4/1: {\\"speed\\":1.1,\\"s\\":\\"sax\\",\\"cut\\":1}", +] +`; + +exports[`runs examples > example "square" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"note\\":\\"C3\\"}", + "1/2 -> 1/1: {\\"note\\":\\"C4\\"}", + "1/1 -> 3/2: {\\"note\\":\\"C3\\"}", + "3/2 -> 2/1: {\\"note\\":\\"C4\\"}", + "2/1 -> 5/2: {\\"note\\":\\"C3\\"}", + "5/2 -> 3/1: {\\"note\\":\\"C4\\"}", + "3/1 -> 7/2: {\\"note\\":\\"C3\\"}", + "7/2 -> 4/1: {\\"note\\":\\"C4\\"}", +] +`; + +exports[`runs examples > example "squiz" example index 0 1`] = ` +[ + "0/1 -> 1/4: {\\"squiz\\":2,\\"s\\":\\"bd\\"}", + "1/4 -> 3/4: {\\"squiz\\":4,\\"s\\":\\"bd\\"}", + "1/2 -> 3/4: {\\"squiz\\":6,\\"s\\":\\"bd\\"}", + "3/4 -> 7/8: {\\"squiz\\":8,\\"s\\":\\"bd\\"}", + "7/8 -> 1/1: {\\"squiz\\":16,\\"s\\":\\"bd\\"}", + "1/1 -> 5/4: {\\"squiz\\":2,\\"s\\":\\"bd\\"}", + "1/1 -> 3/2: {\\"squiz\\":4,\\"s\\":\\"bd\\"}", + "3/2 -> 7/4: {\\"squiz\\":6,\\"s\\":\\"bd\\"}", + "7/4 -> 15/8: {\\"squiz\\":8,\\"s\\":\\"bd\\"}", + "15/8 -> 2/1: {\\"squiz\\":16,\\"s\\":\\"bd\\"}", + "2/1 -> 9/4: {\\"squiz\\":2,\\"s\\":\\"bd\\"}", + "9/4 -> 11/4: {\\"squiz\\":4,\\"s\\":\\"bd\\"}", + "5/2 -> 11/4: {\\"squiz\\":6,\\"s\\":\\"bd\\"}", + "11/4 -> 23/8: {\\"squiz\\":8,\\"s\\":\\"bd\\"}", + "23/8 -> 3/1: {\\"squiz\\":16,\\"s\\":\\"bd\\"}", + "3/1 -> 13/4: {\\"squiz\\":2,\\"s\\":\\"bd\\"}", + "3/1 -> 7/2: {\\"squiz\\":4,\\"s\\":\\"bd\\"}", + "7/2 -> 15/4: {\\"squiz\\":6,\\"s\\":\\"bd\\"}", + "15/4 -> 31/8: {\\"squiz\\":8,\\"s\\":\\"bd\\"}", + "31/8 -> 4/1: {\\"squiz\\":16,\\"s\\":\\"bd\\"}", +] +`; + +exports[`runs examples > example "stack" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"s\\":\\"hh\\"}", + "1/2 -> 1/1: {\\"s\\":\\"hh\\"}", + "1/1 -> 3/2: {\\"s\\":\\"hh\\"}", + "3/2 -> 2/1: {\\"s\\":\\"hh\\"}", + "2/1 -> 5/2: {\\"s\\":\\"hh\\"}", + "5/2 -> 3/1: {\\"s\\":\\"hh\\"}", + "3/1 -> 7/2: {\\"s\\":\\"hh\\"}", + "7/2 -> 4/1: {\\"s\\":\\"hh\\"}", + "0/1 -> 1/8: {\\"n\\":\\"c2\\"}", + "3/8 -> 1/2: {\\"n\\":\\"c2\\"}", + "3/4 -> 7/8: {\\"n\\":\\"c2\\"}", + "1/1 -> 9/8: {\\"n\\":\\"c2\\"}", + "11/8 -> 3/2: {\\"n\\":\\"c2\\"}", + "7/4 -> 15/8: {\\"n\\":\\"c2\\"}", + "2/1 -> 17/8: {\\"n\\":\\"c2\\"}", + "19/8 -> 5/2: {\\"n\\":\\"c2\\"}", + "11/4 -> 23/8: {\\"n\\":\\"c2\\"}", + "3/1 -> 25/8: {\\"n\\":\\"c2\\"}", + "27/8 -> 7/2: {\\"n\\":\\"c2\\"}", + "15/4 -> 31/8: {\\"n\\":\\"c2\\"}", +] +`; + +exports[`runs examples > example "stack" example index 0 2`] = ` +[ + "0/1 -> 1/1: {\\"note\\":\\"g3\\"}", + "1/1 -> 2/1: {\\"note\\":\\"g3\\"}", + "2/1 -> 3/1: {\\"note\\":\\"g3\\"}", + "3/1 -> 4/1: {\\"note\\":\\"g3\\"}", + "0/1 -> 1/1: {\\"note\\":\\"b3\\"}", + "1/1 -> 2/1: {\\"note\\":\\"b3\\"}", + "2/1 -> 3/1: {\\"note\\":\\"b3\\"}", + "3/1 -> 4/1: {\\"note\\":\\"b3\\"}", + "0/1 -> 1/2: {\\"note\\":\\"e4\\"}", + "1/2 -> 1/1: {\\"note\\":\\"d4\\"}", + "1/1 -> 3/2: {\\"note\\":\\"e4\\"}", + "3/2 -> 2/1: {\\"note\\":\\"d4\\"}", + "2/1 -> 5/2: {\\"note\\":\\"e4\\"}", + "5/2 -> 3/1: {\\"note\\":\\"d4\\"}", + "3/1 -> 7/2: {\\"note\\":\\"e4\\"}", + "7/2 -> 4/1: {\\"note\\":\\"d4\\"}", +] +`; + +exports[`runs examples > example "struct" example index 0 1`] = ` +[ + "0/1 -> 1/4: {\\"note\\":\\"c3\\"}", + "0/1 -> 1/4: {\\"note\\":\\"eb3\\"}", + "0/1 -> 1/4: {\\"note\\":\\"g3\\"}", + "1/2 -> 3/4: {\\"note\\":\\"c3\\"}", + "1/2 -> 3/4: {\\"note\\":\\"eb3\\"}", + "1/2 -> 3/4: {\\"note\\":\\"g3\\"}", + "5/4 -> 3/2: {\\"note\\":\\"c3\\"}", + "5/4 -> 3/2: {\\"note\\":\\"eb3\\"}", + "5/4 -> 3/2: {\\"note\\":\\"g3\\"}", + "7/4 -> 2/1: {\\"note\\":\\"c3\\"}", + "7/4 -> 2/1: {\\"note\\":\\"eb3\\"}", + "7/4 -> 2/1: {\\"note\\":\\"g3\\"}", + "11/4 -> 3/1: {\\"note\\":\\"c3\\"}", + "11/4 -> 3/1: {\\"note\\":\\"eb3\\"}", + "11/4 -> 3/1: {\\"note\\":\\"g3\\"}", + "13/4 -> 7/2: {\\"note\\":\\"c3\\"}", + "13/4 -> 7/2: {\\"note\\":\\"eb3\\"}", + "13/4 -> 7/2: {\\"note\\":\\"g3\\"}", +] +`; + +exports[`runs examples > example "sub" example index 0 1`] = ` +[ + "0/1 -> 1/3: {\\"note\\":\\"C4\\"}", + "1/3 -> 2/3: {\\"note\\":\\"Eb4\\"}", + "2/3 -> 1/1: {\\"note\\":\\"G4\\"}", + "1/1 -> 4/3: {\\"note\\":\\"Bb3\\"}", + "4/3 -> 5/3: {\\"note\\":\\"D4\\"}", + "5/3 -> 2/1: {\\"note\\":\\"F4\\"}", + "2/1 -> 7/3: {\\"note\\":\\"Ab3\\"}", + "7/3 -> 8/3: {\\"note\\":\\"C4\\"}", + "8/3 -> 3/1: {\\"note\\":\\"Eb4\\"}", + "3/1 -> 10/3: {\\"note\\":\\"G3\\"}", + "10/3 -> 11/3: {\\"note\\":\\"Bb3\\"}", + "11/3 -> 4/1: {\\"note\\":\\"D4\\"}", +] +`; + +exports[`runs examples > example "superimpose" example index 0 1`] = ` +[ + "0/1 -> 1/4: {\\"note\\":\\"C3\\"}", + "1/4 -> 1/2: {\\"note\\":\\"Eb3\\"}", + "1/2 -> 3/4: {\\"note\\":\\"G3\\"}", + "3/4 -> 1/1: {\\"note\\":\\"Bb3\\"}", + "0/1 -> 1/4: {\\"note\\":\\"Eb3\\"}", + "1/4 -> 1/2: {\\"note\\":\\"G3\\"}", + "1/2 -> 3/4: {\\"note\\":\\"Bb3\\"}", + "3/4 -> 1/1: {\\"note\\":\\"D4\\"}", + "5/4 -> 3/2: {\\"note\\":\\"G3\\"}", + "7/4 -> 2/1: {\\"note\\":\\"Eb3\\"}", + "5/4 -> 3/2: {\\"note\\":\\"Bb3\\"}", + "7/4 -> 2/1: {\\"note\\":\\"G3\\"}", + "2/1 -> 9/4: {\\"note\\":\\"C3\\"}", + "9/4 -> 5/2: {\\"note\\":\\"C3\\"}", + "5/2 -> 11/4: {\\"note\\":\\"C3\\"}", + "2/1 -> 9/4: {\\"note\\":\\"Eb3\\"}", + "9/4 -> 5/2: {\\"note\\":\\"Eb3\\"}", + "5/2 -> 11/4: {\\"note\\":\\"Eb3\\"}", +] +`; + +exports[`runs examples > example "timeCat" example index 0 1`] = ` +[ + "0/1 -> 3/4: {\\"note\\":\\"e3\\"}", + "1/1 -> 7/4: {\\"note\\":\\"e3\\"}", + "2/1 -> 11/4: {\\"note\\":\\"e3\\"}", + "3/1 -> 15/4: {\\"note\\":\\"e3\\"}", + "3/4 -> 1/1: {\\"note\\":\\"g3\\"}", + "7/4 -> 2/1: {\\"note\\":\\"g3\\"}", + "11/4 -> 3/1: {\\"note\\":\\"g3\\"}", + "15/4 -> 4/1: {\\"note\\":\\"g3\\"}", +] +`; + +exports[`runs examples > example "transpose" example index 0 1`] = ` +[ + "0/1 -> 1/4: {\\"note\\":\\"C2\\"}", + "1/4 -> 1/2: {\\"note\\":\\"C3\\"}", + "1/2 -> 3/4: {\\"note\\":\\"C2\\"}", + "3/4 -> 1/1: {\\"note\\":\\"C3\\"}", + "1/1 -> 5/4: {\\"note\\":\\"C2\\"}", + "5/4 -> 3/2: {\\"note\\":\\"C3\\"}", + "3/2 -> 7/4: {\\"note\\":\\"C2\\"}", + "7/4 -> 2/1: {\\"note\\":\\"C3\\"}", + "2/1 -> 9/4: {\\"note\\":\\"Bb1\\"}", + "9/4 -> 5/2: {\\"note\\":\\"Bb2\\"}", + "5/2 -> 11/4: {\\"note\\":\\"Bb1\\"}", + "11/4 -> 3/1: {\\"note\\":\\"Bb2\\"}", + "3/1 -> 13/4: {\\"note\\":\\"Bb1\\"}", + "13/4 -> 7/2: {\\"note\\":\\"Bb2\\"}", + "7/2 -> 15/4: {\\"note\\":\\"Bb1\\"}", + "15/4 -> 4/1: {\\"note\\":\\"Bb2\\"}", +] +`; + +exports[`runs examples > example "transpose" example index 1 1`] = ` +[ + "0/1 -> 1/4: {\\"note\\":\\"C2\\"}", + "1/4 -> 1/2: {\\"note\\":\\"C3\\"}", + "1/2 -> 3/4: {\\"note\\":\\"C2\\"}", + "3/4 -> 1/1: {\\"note\\":\\"C3\\"}", + "1/1 -> 5/4: {\\"note\\":\\"C2\\"}", + "5/4 -> 3/2: {\\"note\\":\\"C3\\"}", + "3/2 -> 7/4: {\\"note\\":\\"C2\\"}", + "7/4 -> 2/1: {\\"note\\":\\"C3\\"}", + "2/1 -> 9/4: {\\"note\\":\\"Bb1\\"}", + "9/4 -> 5/2: {\\"note\\":\\"Bb2\\"}", + "5/2 -> 11/4: {\\"note\\":\\"Bb1\\"}", + "11/4 -> 3/1: {\\"note\\":\\"Bb2\\"}", + "3/1 -> 13/4: {\\"note\\":\\"Bb1\\"}", + "13/4 -> 7/2: {\\"note\\":\\"Bb2\\"}", + "7/2 -> 15/4: {\\"note\\":\\"Bb1\\"}", + "15/4 -> 4/1: {\\"note\\":\\"Bb2\\"}", +] +`; + +exports[`runs examples > example "tri" example index 0 1`] = ` +[ + "0/1 -> 1/8: {\\"note\\":\\"C4\\"}", + "1/8 -> 1/4: {\\"note\\":\\"Ab3\\"}", + "1/4 -> 3/8: {\\"note\\":\\"F3\\"}", + "3/8 -> 1/2: {\\"note\\":\\"D3\\"}", + "1/2 -> 5/8: {\\"note\\":\\"D3\\"}", + "5/8 -> 3/4: {\\"note\\":\\"F3\\"}", + "3/4 -> 7/8: {\\"note\\":\\"Ab3\\"}", + "7/8 -> 1/1: {\\"note\\":\\"C4\\"}", + "1/1 -> 9/8: {\\"note\\":\\"C4\\"}", + "9/8 -> 5/4: {\\"note\\":\\"Ab3\\"}", + "5/4 -> 11/8: {\\"note\\":\\"F3\\"}", + "11/8 -> 3/2: {\\"note\\":\\"D3\\"}", + "3/2 -> 13/8: {\\"note\\":\\"D3\\"}", + "13/8 -> 7/4: {\\"note\\":\\"F3\\"}", + "7/4 -> 15/8: {\\"note\\":\\"Ab3\\"}", + "15/8 -> 2/1: {\\"note\\":\\"C4\\"}", + "2/1 -> 17/8: {\\"note\\":\\"C4\\"}", + "17/8 -> 9/4: {\\"note\\":\\"Ab3\\"}", + "9/4 -> 19/8: {\\"note\\":\\"F3\\"}", + "19/8 -> 5/2: {\\"note\\":\\"D3\\"}", + "5/2 -> 21/8: {\\"note\\":\\"D3\\"}", + "21/8 -> 11/4: {\\"note\\":\\"F3\\"}", + "11/4 -> 23/8: {\\"note\\":\\"Ab3\\"}", + "23/8 -> 3/1: {\\"note\\":\\"C4\\"}", + "3/1 -> 25/8: {\\"note\\":\\"C4\\"}", + "25/8 -> 13/4: {\\"note\\":\\"Ab3\\"}", + "13/4 -> 27/8: {\\"note\\":\\"F3\\"}", + "27/8 -> 7/2: {\\"note\\":\\"D3\\"}", + "7/2 -> 29/8: {\\"note\\":\\"D3\\"}", + "29/8 -> 15/4: {\\"note\\":\\"F3\\"}", + "15/4 -> 31/8: {\\"note\\":\\"Ab3\\"}", + "31/8 -> 4/1: {\\"note\\":\\"C4\\"}", +] +`; + +exports[`runs examples > example "undegradeBy" example index 0 1`] = ` +[ + "1/8 -> 1/4: {\\"s\\":\\"hh\\"}", + "1/4 -> 3/8: {\\"s\\":\\"hh\\"}", + "3/8 -> 1/2: {\\"s\\":\\"hh\\"}", + "1/2 -> 5/8: {\\"s\\":\\"hh\\"}", + "5/8 -> 3/4: {\\"s\\":\\"hh\\"}", + "3/4 -> 7/8: {\\"s\\":\\"hh\\"}", + "7/8 -> 1/1: {\\"s\\":\\"hh\\"}", + "1/1 -> 9/8: {\\"s\\":\\"hh\\"}", + "9/8 -> 5/4: {\\"s\\":\\"hh\\"}", + "5/4 -> 11/8: {\\"s\\":\\"hh\\"}", + "11/8 -> 3/2: {\\"s\\":\\"hh\\"}", + "3/2 -> 13/8: {\\"s\\":\\"hh\\"}", + "13/8 -> 7/4: {\\"s\\":\\"hh\\"}", + "7/4 -> 15/8: {\\"s\\":\\"hh\\"}", + "2/1 -> 17/8: {\\"s\\":\\"hh\\"}", + "17/8 -> 9/4: {\\"s\\":\\"hh\\"}", + "9/4 -> 19/8: {\\"s\\":\\"hh\\"}", + "19/8 -> 5/2: {\\"s\\":\\"hh\\"}", + "5/2 -> 21/8: {\\"s\\":\\"hh\\"}", + "21/8 -> 11/4: {\\"s\\":\\"hh\\"}", + "23/8 -> 3/1: {\\"s\\":\\"hh\\"}", + "3/1 -> 25/8: {\\"s\\":\\"hh\\"}", + "13/4 -> 27/8: {\\"s\\":\\"hh\\"}", + "27/8 -> 7/2: {\\"s\\":\\"hh\\"}", + "15/4 -> 31/8: {\\"s\\":\\"hh\\"}", + "31/8 -> 4/1: {\\"s\\":\\"hh\\"}", +] +`; + +exports[`runs examples > example "unit" example index 0 1`] = ` +[ + "0/1 -> 1/4: {\\"speed\\":1,\\"s\\":\\"bd\\",\\"unit\\":\\"c\\"}", + "1/4 -> 1/2: {\\"speed\\":2,\\"s\\":\\"bd\\",\\"unit\\":\\"c\\"}", + "1/2 -> 3/4: {\\"speed\\":0.5,\\"s\\":\\"bd\\",\\"unit\\":\\"c\\"}", + "3/4 -> 1/1: {\\"speed\\":3,\\"s\\":\\"bd\\",\\"unit\\":\\"c\\"}", + "1/1 -> 5/4: {\\"speed\\":1,\\"s\\":\\"bd\\",\\"unit\\":\\"c\\"}", + "5/4 -> 3/2: {\\"speed\\":2,\\"s\\":\\"bd\\",\\"unit\\":\\"c\\"}", + "3/2 -> 7/4: {\\"speed\\":0.5,\\"s\\":\\"bd\\",\\"unit\\":\\"c\\"}", + "7/4 -> 2/1: {\\"speed\\":3,\\"s\\":\\"bd\\",\\"unit\\":\\"c\\"}", + "2/1 -> 9/4: {\\"speed\\":1,\\"s\\":\\"bd\\",\\"unit\\":\\"c\\"}", + "9/4 -> 5/2: {\\"speed\\":2,\\"s\\":\\"bd\\",\\"unit\\":\\"c\\"}", + "5/2 -> 11/4: {\\"speed\\":0.5,\\"s\\":\\"bd\\",\\"unit\\":\\"c\\"}", + "11/4 -> 3/1: {\\"speed\\":3,\\"s\\":\\"bd\\",\\"unit\\":\\"c\\"}", + "3/1 -> 13/4: {\\"speed\\":1,\\"s\\":\\"bd\\",\\"unit\\":\\"c\\"}", + "13/4 -> 7/2: {\\"speed\\":2,\\"s\\":\\"bd\\",\\"unit\\":\\"c\\"}", + "7/2 -> 15/4: {\\"speed\\":0.5,\\"s\\":\\"bd\\",\\"unit\\":\\"c\\"}", + "15/4 -> 4/1: {\\"speed\\":3,\\"s\\":\\"bd\\",\\"unit\\":\\"c\\"}", +] +`; + +exports[`runs examples > example "velocity" example index 0 1`] = ` +[ + "0/1 -> 1/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "1/8 -> 1/4: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "1/4 -> 3/8: {\\"s\\":\\"hh\\",\\"gain\\":1}", + "3/8 -> 1/2: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "1/2 -> 5/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "5/8 -> 3/4: {\\"s\\":\\"hh\\",\\"gain\\":1}", + "3/4 -> 7/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "7/8 -> 1/1: {\\"s\\":\\"hh\\",\\"gain\\":1}", + "1/1 -> 9/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "9/8 -> 5/4: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "5/4 -> 11/8: {\\"s\\":\\"hh\\",\\"gain\\":1}", + "11/8 -> 3/2: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "3/2 -> 13/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "13/8 -> 7/4: {\\"s\\":\\"hh\\",\\"gain\\":1}", + "7/4 -> 15/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "15/8 -> 2/1: {\\"s\\":\\"hh\\",\\"gain\\":1}", + "2/1 -> 17/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "17/8 -> 9/4: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "9/4 -> 19/8: {\\"s\\":\\"hh\\",\\"gain\\":1}", + "19/8 -> 5/2: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "5/2 -> 21/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "21/8 -> 11/4: {\\"s\\":\\"hh\\",\\"gain\\":1}", + "11/4 -> 23/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "23/8 -> 3/1: {\\"s\\":\\"hh\\",\\"gain\\":1}", + "3/1 -> 25/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "25/8 -> 13/4: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "13/4 -> 27/8: {\\"s\\":\\"hh\\",\\"gain\\":1}", + "27/8 -> 7/2: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "7/2 -> 29/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "29/8 -> 15/4: {\\"s\\":\\"hh\\",\\"gain\\":1}", + "15/4 -> 31/8: {\\"s\\":\\"hh\\",\\"gain\\":0.4}", + "31/8 -> 4/1: {\\"s\\":\\"hh\\",\\"gain\\":1}", +] +`; + +exports[`runs examples > example "voicings" example index 0 1`] = ` +[ + "0/1 -> 1/1: {\\"note\\":\\"B3\\"}", + "0/1 -> 1/1: {\\"note\\":\\"B3\\"}", + "0/1 -> 1/1: {\\"note\\":\\"B3\\"}", + "0/1 -> 1/1: {\\"note\\":\\"B3\\"}", + "0/1 -> 1/1: {\\"note\\":\\"D4\\"}", + "0/1 -> 1/1: {\\"note\\":\\"D4\\"}", + "0/1 -> 1/1: {\\"note\\":\\"D4\\"}", + "0/1 -> 1/1: {\\"note\\":\\"D4\\"}", + "0/1 -> 1/1: {\\"note\\":\\"E4\\"}", + "0/1 -> 1/1: {\\"note\\":\\"E4\\"}", + "0/1 -> 1/1: {\\"note\\":\\"E4\\"}", + "0/1 -> 1/1: {\\"note\\":\\"E4\\"}", + "0/1 -> 1/1: {\\"note\\":\\"G4\\"}", + "0/1 -> 1/1: {\\"note\\":\\"G4\\"}", + "0/1 -> 1/1: {\\"note\\":\\"G4\\"}", + "0/1 -> 1/1: {\\"note\\":\\"G4\\"}", + "1/1 -> 2/1: {\\"note\\":\\"G3\\"}", + "1/1 -> 2/1: {\\"note\\":\\"G3\\"}", + "1/1 -> 2/1: {\\"note\\":\\"G3\\"}", + "1/1 -> 2/1: {\\"note\\":\\"G3\\"}", + "1/1 -> 2/1: {\\"note\\":\\"B3\\"}", + "1/1 -> 2/1: {\\"note\\":\\"B3\\"}", + "1/1 -> 2/1: {\\"note\\":\\"B3\\"}", + "1/1 -> 2/1: {\\"note\\":\\"B3\\"}", + "1/1 -> 2/1: {\\"note\\":\\"C#4\\"}", + "1/1 -> 2/1: {\\"note\\":\\"C#4\\"}", + "1/1 -> 2/1: {\\"note\\":\\"C#4\\"}", + "1/1 -> 2/1: {\\"note\\":\\"C#4\\"}", + "1/1 -> 2/1: {\\"note\\":\\"F#4\\"}", + "1/1 -> 2/1: {\\"note\\":\\"F#4\\"}", + "1/1 -> 2/1: {\\"note\\":\\"F#4\\"}", + "1/1 -> 2/1: {\\"note\\":\\"F#4\\"}", + "2/1 -> 3/1: {\\"note\\":\\"F3\\"}", + "2/1 -> 3/1: {\\"note\\":\\"F3\\"}", + "2/1 -> 3/1: {\\"note\\":\\"F3\\"}", + "2/1 -> 3/1: {\\"note\\":\\"F3\\"}", + "2/1 -> 3/1: {\\"note\\":\\"A3\\"}", + "2/1 -> 3/1: {\\"note\\":\\"A3\\"}", + "2/1 -> 3/1: {\\"note\\":\\"A3\\"}", + "2/1 -> 3/1: {\\"note\\":\\"A3\\"}", + "2/1 -> 3/1: {\\"note\\":\\"C4\\"}", + "2/1 -> 3/1: {\\"note\\":\\"C4\\"}", + "2/1 -> 3/1: {\\"note\\":\\"C4\\"}", + "2/1 -> 3/1: {\\"note\\":\\"C4\\"}", + "2/1 -> 3/1: {\\"note\\":\\"E4\\"}", + "2/1 -> 3/1: {\\"note\\":\\"E4\\"}", + "2/1 -> 3/1: {\\"note\\":\\"E4\\"}", + "2/1 -> 3/1: {\\"note\\":\\"E4\\"}", + "3/1 -> 4/1: {\\"note\\":\\"F3\\"}", + "3/1 -> 4/1: {\\"note\\":\\"F3\\"}", + "3/1 -> 4/1: {\\"note\\":\\"F3\\"}", + "3/1 -> 4/1: {\\"note\\":\\"F3\\"}", + "3/1 -> 4/1: {\\"note\\":\\"A3\\"}", + "3/1 -> 4/1: {\\"note\\":\\"A3\\"}", + "3/1 -> 4/1: {\\"note\\":\\"A3\\"}", + "3/1 -> 4/1: {\\"note\\":\\"A3\\"}", + "3/1 -> 4/1: {\\"note\\":\\"B3\\"}", + "3/1 -> 4/1: {\\"note\\":\\"B3\\"}", + "3/1 -> 4/1: {\\"note\\":\\"B3\\"}", + "3/1 -> 4/1: {\\"note\\":\\"B3\\"}", + "3/1 -> 4/1: {\\"note\\":\\"E4\\"}", + "3/1 -> 4/1: {\\"note\\":\\"E4\\"}", + "3/1 -> 4/1: {\\"note\\":\\"E4\\"}", + "3/1 -> 4/1: {\\"note\\":\\"E4\\"}", + "0/1 -> 1/1: {\\"note\\":\\"C3\\"}", + "1/1 -> 2/1: {\\"note\\":\\"A2\\"}", + "2/1 -> 3/1: {\\"note\\":\\"D3\\"}", + "3/1 -> 4/1: {\\"note\\":\\"G2\\"}", +] +`; + +exports[`runs examples > example "vowel" example index 0 1`] = ` +[ + "0/1 -> 1/2: {\\"note\\":\\"c2\\",\\"s\\":\\"sawtooth\\",\\"vowel\\":\\"a\\"}", + "1/2 -> 1/1: {\\"note\\":\\"eb2\\",\\"s\\":\\"sawtooth\\",\\"vowel\\":\\"a\\"}", + "1/1 -> 3/2: {\\"note\\":\\"c2\\",\\"s\\":\\"sawtooth\\",\\"vowel\\":\\"e\\"}", + "3/2 -> 2/1: {\\"note\\":\\"g2\\",\\"s\\":\\"sawtooth\\",\\"vowel\\":\\"e\\"}", + "2/1 -> 5/2: {\\"note\\":\\"c2\\",\\"s\\":\\"sawtooth\\",\\"vowel\\":\\"i\\"}", + "5/2 -> 3/1: {\\"note\\":\\"eb2\\",\\"s\\":\\"sawtooth\\",\\"vowel\\":\\"i\\"}", + "3/1 -> 7/2: {\\"note\\":\\"c2\\",\\"s\\":\\"sawtooth\\",\\"vowel\\":\\"o\\"}", + "7/2 -> 4/1: {\\"note\\":\\"g1\\",\\"s\\":\\"sawtooth\\",\\"vowel\\":\\"o\\"}", +] +`; + +exports[`runs examples > example "webdirt" example index 0 1`] = ` +[ + "0/1 -> 1/8: {\\"s\\":\\"bd\\",\\"n\\":0}", + "1/8 -> 1/4: {\\"s\\":\\"bd\\",\\"n\\":0}", + "1/4 -> 1/2: {\\"s\\":\\"hh\\",\\"n\\":0}", + "1/2 -> 3/4: {\\"s\\":\\"sd\\",\\"n\\":0}", + "3/4 -> 1/1: {\\"s\\":\\"hh\\",\\"n\\":0}", + "1/1 -> 9/8: {\\"s\\":\\"bd\\",\\"n\\":1}", + "9/8 -> 5/4: {\\"s\\":\\"bd\\",\\"n\\":1}", + "5/4 -> 3/2: {\\"s\\":\\"hh\\",\\"n\\":1}", + "3/2 -> 7/4: {\\"s\\":\\"sd\\",\\"n\\":1}", + "7/4 -> 2/1: {\\"s\\":\\"hh\\",\\"n\\":1}", + "2/1 -> 17/8: {\\"s\\":\\"bd\\",\\"n\\":0}", + "17/8 -> 9/4: {\\"s\\":\\"bd\\",\\"n\\":0}", + "9/4 -> 5/2: {\\"s\\":\\"hh\\",\\"n\\":0}", + "5/2 -> 11/4: {\\"s\\":\\"sd\\",\\"n\\":0}", + "11/4 -> 3/1: {\\"s\\":\\"hh\\",\\"n\\":0}", + "3/1 -> 25/8: {\\"s\\":\\"bd\\",\\"n\\":1}", + "25/8 -> 13/4: {\\"s\\":\\"bd\\",\\"n\\":1}", + "13/4 -> 7/2: {\\"s\\":\\"hh\\",\\"n\\":1}", + "7/2 -> 15/4: {\\"s\\":\\"sd\\",\\"n\\":1}", + "15/4 -> 4/1: {\\"s\\":\\"hh\\",\\"n\\":1}", +] +`; + +exports[`runs examples > example "when" example index 0 1`] = ` +[ + "2/1 -> 7/3: {\\"note\\":43}", + "7/3 -> 8/3: {\\"note\\":46}", + "8/3 -> 3/1: {\\"note\\":50}", + "3/1 -> 10/3: {\\"note\\":43}", + "10/3 -> 11/3: {\\"note\\":46}", + "11/3 -> 4/1: {\\"note\\":50}", + "0/1 -> 1/3: {\\"note\\":\\"c3\\"}", + "1/3 -> 2/3: {\\"note\\":\\"eb3\\"}", + "2/3 -> 1/1: {\\"note\\":\\"g3\\"}", + "1/1 -> 4/3: {\\"note\\":\\"c3\\"}", + "4/3 -> 5/3: {\\"note\\":\\"eb3\\"}", + "5/3 -> 2/1: {\\"note\\":\\"g3\\"}", +] +`; diff --git a/tutorial/test/examples.test.mjs b/tutorial/test/examples.test.mjs new file mode 100644 index 00000000..f2751e29 --- /dev/null +++ b/tutorial/test/examples.test.mjs @@ -0,0 +1,15 @@ +import { queryCode } from '../../repl/src/runtime.mjs'; +import { describe, it } from 'vitest'; +import doc from '../../doc.json'; + +describe('runs examples', () => { + const { docs } = doc; + docs.forEach(async (doc) => { + doc.examples?.forEach((example, i) => { + it(`example "${doc.name}" example index ${i}`, async ({ expect }) => { + const haps = await queryCode(example, 4); + expect(haps).toMatchSnapshot(); + }); + }); + }); +});