Compare commits

...

1 Commits

Author SHA1 Message Date
Aria adc3a9ac6c Swap with temp variable 2025-11-22 20:51:30 -06:00
+2 -1
View File
@@ -543,8 +543,9 @@ class SuperSawOscillatorProcessor extends AudioWorkletProcessor {
if (pn >= 1.0) pn -= 1.0;
this.phase[n] = pn;
// invert right and left gain
const tmp = gainL;
gainL = gainR;
gainR = gainL;
gainR = tmp;
}
}
return true;