midi cc input poc

This commit is contained in:
Felix Roos 2023-09-14 09:36:06 +02:00
parent 0a8874180c
commit 0f72729f0d
2 changed files with 22 additions and 8 deletions

View file

@ -2336,3 +2336,9 @@ export const fit = register('fit', (pat) =>
export const { loopAtCps, loopatcps } = register(['loopAtCps', 'loopatcps'], function (factor, cps, pat) {
return _loopAt(factor, pat, cps);
});
/** exposes a custom value at query time. basically allows mutating state without evaluation */
export const ref = (accessor) =>
pure(1)
.withValue(() => reify(accessor()))
.innerJoin();