From 3ef1b24f1c33ec8fa4f2085bf9bf93e63c8bdad2 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 11 Jun 2013 15:32:12 -0700 Subject: [PATCH] tuning TwoPole effect in audio-mixer --- audio-mixer/src/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/audio-mixer/src/main.cpp b/audio-mixer/src/main.cpp index edf561b026..b7ca6d1f41 100644 --- a/audio-mixer/src/main.cpp +++ b/audio-mixer/src/main.cpp @@ -227,12 +227,13 @@ int main(int argc, const char* argv[]) { } // calculate the reasonance for this TwoPole based on angle to source - float TWO_POLE_CUT_OFF_FREQUENCY = 1000.0f; + float TWO_POLE_CUT_OFF_FREQUENCY = 800.0f; float TWO_POLE_MAX_FILTER_STRENGTH = 0.4f; otherAgentTwoPole->setResonance(TWO_POLE_CUT_OFF_FREQUENCY, TWO_POLE_MAX_FILTER_STRENGTH - * fabsf(bearingRelativeAngleToSource) / 180.0f); + * fabsf(bearingRelativeAngleToSource) / 180.0f, + true); } }