propagate releaseAudioNode in packages

This commit is contained in:
jeromew 2025-12-04 15:26:59 +00:00
parent c7586e96ff
commit f6f507dd29
6 changed files with 27 additions and 27 deletions

View file

@ -320,10 +320,10 @@ export async function onTriggerSynth(t, value, onended, tables, cps, frameLen) {
ac,
() => {
releaseAudioNode(source);
vibratoOscillator?.stop();
releaseAudioNode(vibratoOscillator);
fm?.stop();
wtPosModulators?.disconnect();
wtWarpModulators?.disconnect();
releaseAudioNode(wtPosModulators);
releaseAudioNode(wtWarpModulators);
onended();
},
t,