mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 06:19:33 -04:00
fixed failing test
This commit is contained in:
@@ -5306,6 +5306,15 @@ exports[`runs examples > example "gain" example index 0 1`] = `
|
||||
|
||||
exports[`runs examples > example "gap" example index 0 1`] = `[]`;
|
||||
|
||||
exports[`runs examples > example "getDur" example index 0 1`] = `
|
||||
[
|
||||
"[ 0/1 → 1/1 | s:sax cps:null ]",
|
||||
"[ 1/1 → 2/1 | s:sax cps:null ]",
|
||||
"[ 2/1 → 3/1 | s:sax cps:null ]",
|
||||
"[ 3/1 → 4/1 | s:sax cps:null ]",
|
||||
]
|
||||
`;
|
||||
|
||||
exports[`runs examples > example "grow" example index 0 1`] = `
|
||||
[
|
||||
"[ 0/1 → 1/10 | s:tha bank:mridangam ]",
|
||||
|
||||
@@ -127,6 +127,7 @@ const loadSoundfont = () => {};
|
||||
const loadCsound = () => {};
|
||||
const loadCSound = () => {};
|
||||
const loadcsound = () => {};
|
||||
const getDuration = () => {};
|
||||
|
||||
const midin = () => {
|
||||
return (ccNum) => strudel.ref(() => 0); // returns ref with default value 0
|
||||
@@ -170,6 +171,7 @@ evalScope(
|
||||
loadCSound,
|
||||
loadCsound,
|
||||
loadcsound,
|
||||
getDuration,
|
||||
setcps: id,
|
||||
setcpm: id,
|
||||
Clock: {}, // whatever
|
||||
|
||||
Reference in New Issue
Block a user