From 08b2cdba29693cc8e744732f1600907ea968d1a5 Mon Sep 17 00:00:00 2001 From: Vesa Date: Sun, 27 Apr 2014 23:10:20 +0300 Subject: [PATCH] Revert partially one of the previous optimizations, was causing some unwanted noisy stuff --- plugins/monstro/Monstro.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/monstro/Monstro.cpp b/plugins/monstro/Monstro.cpp index f64f39627..c45d92d31 100644 --- a/plugins/monstro/Monstro.cpp +++ b/plugins/monstro/Monstro.cpp @@ -425,8 +425,8 @@ void MonstroSynth::renderOutput( fpp_t _frames, sampleFrame * _buf ) rightph = o2r_p; modulatephs( leftph, o2p ) modulatephs( rightph, o2p ) - leftph = lowBoundCheck( leftph ); - rightph = lowBoundCheck( rightph ); + leftph = absFraction( leftph ); + rightph = absFraction( rightph ); // phase delta pd_l = qAbs( leftph - m_ph2l_last ); @@ -484,8 +484,8 @@ void MonstroSynth::renderOutput( fpp_t _frames, sampleFrame * _buf ) leftph += O2L/2; rightph += O2R/2; } - leftph = lowBoundCheck( leftph ); - rightph = lowBoundCheck( rightph ); + leftph = absFraction( leftph ); + rightph = absFraction( rightph ); // phase delta pd_l = qAbs( leftph - m_ph3l_last );