rm dead code

This commit is contained in:
Jade (Rose) Rowland 2026-01-10 01:42:06 -05:00
parent 0e9c50bf0a
commit a205f7d873

View file

@ -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) {