make velocity a regular value prop
This commit is contained in:
parent
7d01764a30
commit
1d92ee76b9
9 changed files with 317 additions and 26 deletions
|
|
@ -12,7 +12,7 @@ setLogger(logger);
|
|||
|
||||
const hap2value = (hap) => {
|
||||
hap.ensureObjectValue();
|
||||
return { ...hap.value, velocity: hap.context.velocity };
|
||||
return hap.value;
|
||||
};
|
||||
|
||||
export const webaudioOutputTrigger = (t, hap, ct, cps) => superdough(hap2value(hap), t - ct, hap.duration / cps, cps);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue