Skip to content

Commit d9c7f8f

Browse files
author
tlr
committed
CI
1 parent 8d144ed commit d9c7f8f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/dsp/Phaser.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ void Phaser::process(float& left, float& right)
8888
{
8989
float leftLFO = lfoL.tick(0.0f);
9090
float rightLFO = lfoR.tick(lfo_stereo);
91-
float freqL = std::clamp(lfo_center.get() * pow(2.0f, lfo_depth * leftLFO), 1.f, srate * 0.48f);
92-
float freqR = std::clamp(lfo_center.get() * pow(2.0f, lfo_depth * rightLFO), 1.f, srate * 0.48f);
91+
float freqL = std::clamp(lfo_center.get() * std::powf(2.0f, lfo_depth * leftLFO), 1.f, srate * 0.48f);
92+
float freqR = std::clamp(lfo_center.get() * std::powf(2.0f, lfo_depth * rightLFO), 1.f, srate * 0.48f);
9393
lphaser.init(srate, freqL, res);
9494
rphaser.init(srate, freqR, res);
9595

0 commit comments

Comments
 (0)