Merge branch 'main' into supradough
This commit is contained in:
commit
a26559fd3d
13 changed files with 653 additions and 48 deletions
|
|
@ -22,8 +22,8 @@ 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);
|
||||
export const webaudioOutput = (hap, _deadline, hapDuration, cps, t) => {
|
||||
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