Remove resetGlobalEffects from AudioContext
This commit is contained in:
parent
7774364ac7
commit
f5fc0ff9d1
2 changed files with 2 additions and 3 deletions
|
|
@ -21,6 +21,7 @@ import {
|
|||
loadWorklets,
|
||||
setMaxPolyphony,
|
||||
setMultiChannelOrbits,
|
||||
resetGlobalEffects,
|
||||
} from 'superdough';
|
||||
import './supradough.mjs';
|
||||
import { workletUrl } from 'supradough';
|
||||
|
|
@ -99,6 +100,7 @@ export async function renderPatternAudio(pattern, cps, begin, end, sampleRate, d
|
|||
.finally(async () => {
|
||||
setAudioContext(null);
|
||||
setSuperdoughAudioController(null);
|
||||
resetGlobalEffects()
|
||||
await initAudio();
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue