refactor: duration is now a regular control
This commit is contained in:
parent
f779e81993
commit
eb93a6c149
6 changed files with 26 additions and 13 deletions
|
|
@ -15,7 +15,6 @@ const hap2value = (hap) => {
|
|||
return { ...hap.value, velocity: hap.context.velocity };
|
||||
};
|
||||
|
||||
// TODO: bind logger
|
||||
export const webaudioOutputTrigger = (t, hap, ct, cps) => superdough(hap2value(hap), t - ct, hap.duration / cps, cps);
|
||||
export const webaudioOutput = (hap, deadline, hapDuration) => superdough(hap2value(hap), deadline, hapDuration);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue