mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 06:37:27 +02:00
tuning TwoPole effect in audio-mixer
This commit is contained in:
parent
2cc44c6d2e
commit
3ef1b24f1c
1 changed files with 3 additions and 2 deletions
|
@ -227,12 +227,13 @@ int main(int argc, const char* argv[]) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// calculate the reasonance for this TwoPole based on angle to source
|
// 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;
|
float TWO_POLE_MAX_FILTER_STRENGTH = 0.4f;
|
||||||
|
|
||||||
otherAgentTwoPole->setResonance(TWO_POLE_CUT_OFF_FREQUENCY,
|
otherAgentTwoPole->setResonance(TWO_POLE_CUT_OFF_FREQUENCY,
|
||||||
TWO_POLE_MAX_FILTER_STRENGTH
|
TWO_POLE_MAX_FILTER_STRENGTH
|
||||||
* fabsf(bearingRelativeAngleToSource) / 180.0f);
|
* fabsf(bearingRelativeAngleToSource) / 180.0f,
|
||||||
|
true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue