This commit is contained in:
Jade (Rose) Rowland 2025-07-08 22:24:54 -04:00
parent 63fcce79e0
commit edb347e85a

View file

@ -18,13 +18,7 @@ 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) => {
return superdough(
hap2value(hap),
t,
hapDuration,
cps,
hap.whole?.begin.valueOf(),
);
return superdough(hap2value(hap), t, hapDuration, cps, hap.whole?.begin.valueOf());
};
export function webaudioRepl(options = {}) {