Aligning phase of instances of oscillator.cpp

Is there an easy way to make two instances of modules/oscillator.cpp always be in phase with each other?

The oscilllators can be reset to a specific phase with Reset()

/** Resets the phase to the input argument. If no argumeNt is present, it will reset phase to 0.0;
*/
void Reset(float _phase = 0.0f) { phase_ = _phase; }

https://github.com/electro-smith/DaisySP/blob/master/Source/Synthesis/oscillator.h

1 Like