sync without cyclist changes
This commit is contained in:
parent
077556e7cb
commit
d9e44dcda6
8 changed files with 261 additions and 82 deletions
|
|
@ -17,8 +17,12 @@ 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, cycle) => {
|
||||
|
||||
return superdough(hap2value(hap), t, hapDuration, cps,
|
||||
hap.whole.begin.valueOf()
|
||||
// cycle
|
||||
);
|
||||
};
|
||||
|
||||
export function webaudioRepl(options = {}) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue