resetPhases method

void resetPhases()

Reset all phase accumulators to zero.

Call when switching modes or setting new frequencies to avoid residual DC offset from frozen phases.

Implementation

void resetPhases() {
  _phaseL = 0.0;
  _phaseR = 0.0;
  _phaseSub = 0.0;
}