Merge branch 'main' into filter_mod_improvements

This commit is contained in:
Switch Angel AKA Jade Rose 2025-11-23 06:35:22 +01:00
commit 321e76166a

View file

@ -543,8 +543,9 @@ class SuperSawOscillatorProcessor extends AudioWorkletProcessor {
if (pn >= 1.0) pn -= 1.0; if (pn >= 1.0) pn -= 1.0;
this.phase[n] = pn; this.phase[n] = pn;
// invert right and left gain // invert right and left gain
const tmp = gainL;
gainL = gainR; gainL = gainR;
gainR = gainL; gainR = tmp;
} }
} }
return true; return true;