lint
This commit is contained in:
parent
006ce9d1da
commit
94257e81ee
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ const hap2value = (hap) => {
|
||||||
export const webaudioOutputTrigger = (t, hap, ct, cps) => superdough(hap2value(hap), t - ct, hap.duration / cps, cps);
|
export const webaudioOutputTrigger = (t, hap, ct, cps) => superdough(hap2value(hap), t - ct, hap.duration / cps, cps);
|
||||||
// uses more precise, absolute t if available, see https://github.com/tidalcycles/strudel/pull/1004
|
// uses more precise, absolute t if available, see https://github.com/tidalcycles/strudel/pull/1004
|
||||||
export const webaudioOutput = (hap, deadline, hapDuration, cps, t) => {
|
export const webaudioOutput = (hap, deadline, hapDuration, cps, t) => {
|
||||||
return superdough(hap2value(hap), t ? `=${t}` : deadline, hapDuration,cps);
|
return superdough(hap2value(hap), t ? `=${t}` : deadline, hapDuration, cps);
|
||||||
};
|
};
|
||||||
|
|
||||||
Pattern.prototype.webaudio = function () {
|
Pattern.prototype.webaudio = function () {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue