diff --git a/src/dsp/node_formant.rs b/src/dsp/node_formant.rs index 70fefa6..dadf4e1 100644 --- a/src/dsp/node_formant.rs +++ b/src/dsp/node_formant.rs @@ -104,6 +104,9 @@ impl DspNode for Formant { // entire wave let wave = carrier * modulator; + // increment phase (very imporant) + self.phase += self.inv_sample_rate; + out.write(frame, wave); } }