format
This commit is contained in:
parent
63fcce79e0
commit
edb347e85a
1 changed files with 1 additions and 7 deletions
|
|
@ -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 = {}) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue