rm dead code
This commit is contained in:
parent
0e9c50bf0a
commit
a205f7d873
1 changed files with 1 additions and 12 deletions
|
|
@ -540,18 +540,7 @@ export const superdough = async (value, t, hapDuration, cps = 0.5, cycle = 0.5)
|
||||||
chain.releaseNodes();
|
chain.releaseNodes();
|
||||||
activeSoundSources.delete(chainID);
|
activeSoundSources.delete(chainID);
|
||||||
};
|
};
|
||||||
// We have to use onEnded because some sources (e.g. `sampler`) have
|
|
||||||
// an internal duration which is longer than `value.duration`
|
|
||||||
// const onEnded = () =>
|
|
||||||
// webAudioTimeout(
|
|
||||||
// ac,
|
|
||||||
// () => {
|
|
||||||
// chain.releaseNodes();
|
|
||||||
// activeSoundSources.delete(chainID);
|
|
||||||
// },
|
|
||||||
// 0,
|
|
||||||
// endWithRelease,
|
|
||||||
// );
|
|
||||||
const soundHandle = await onTrigger(t, value, onEnded, cps);
|
const soundHandle = await onTrigger(t, value, onEnded, cps);
|
||||||
|
|
||||||
if (soundHandle) {
|
if (soundHandle) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue