Working version of keyboard with variable lengths; tests and cleanup

This commit is contained in:
Aria
2025-12-10 13:27:11 -06:00
parent 597c941991
commit 103b27c21f
3 changed files with 75 additions and 49 deletions
@@ -5943,6 +5943,10 @@ exports[`runs examples > example "juxBy" example index 0 1`] = `
exports[`runs examples > example "keyDown" example index 0 1`] = `[]`;
exports[`runs examples > example "keyboard" example index 0 1`] = `[]`;
exports[`runs examples > example "keyboard" example index 1 1`] = `[]`;
exports[`runs examples > example "lastOf" example index 0 1`] = `
[
"[ 0/1 → 1/4 | note:c3 ]",
+5
View File
@@ -131,6 +131,10 @@ const midin = () => {
return (ccNum) => strudel.ref(() => 0); // returns ref with default value 0
};
const keyboard = async () => {
return () => strudel.silence;
};
const sysex = ([id, data]) => {};
// TODO: refactor to evalScope
@@ -150,6 +154,7 @@ evalScope(
*/
{
midin,
keyboard,
sysex,
// gist,
// euclid,