fix: reset global fx on pattern change

This commit is contained in:
Felix Roos 2024-02-25 15:09:15 +01:00
parent 325152c782
commit b9247db001
2 changed files with 14 additions and 1 deletions

View file

@ -253,6 +253,11 @@ function effectSend(input, effect, wet) {
return send;
}
export function resetGlobalEffects() {
delays = {};
reverbs = {};
}
export const superdough = async (value, deadline, hapDuration) => {
const ac = getAudioContext();
if (typeof value !== 'object') {