fully implemented

This commit is contained in:
Jade (Rose) Rowland 2025-07-08 00:26:15 -04:00
parent d9e44dcda6
commit ce5f425142
7 changed files with 227 additions and 306 deletions

View file

@ -17,12 +17,15 @@ const hap2value = (hap) => {
// uses more precise, absolute t if available, see https://github.com/tidalcycles/strudel/pull/1004
// TODO: refactor output callbacks to eliminate deadline
export const webaudioOutput = (hap, deadline, hapDuration, cps, t, cycle) => {
return superdough(hap2value(hap), t, hapDuration, cps,
hap.whole.begin.valueOf()
// cycle
);
export const webaudioOutput = (hap, _deadline, hapDuration, cps, t) => {
return superdough(
hap2value(hap),
t,
hapDuration,
cps,
hap.whole.begin.valueOf(),
// cycle
);
};
export function webaudioRepl(options = {}) {