tuning TwoPole effect in audio-mixer

This commit is contained in:
Stephen Birarda 2013-06-11 15:32:12 -07:00
parent 2cc44c6d2e
commit 3ef1b24f1c

View file

@ -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);
}
}