From 18e8a5ebf94a5109e158556e08281d2bd765a3df Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Thu, 23 May 2013 16:48:28 -0700 Subject: [PATCH] tune the distance attenuation on audio-mixer --- audio-mixer/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio-mixer/src/main.cpp b/audio-mixer/src/main.cpp index 6593876d0b..73263ae05e 100644 --- a/audio-mixer/src/main.cpp +++ b/audio-mixer/src/main.cpp @@ -167,7 +167,7 @@ int main(int argc, const char* argv[]) { float minCoefficient = std::min(1.0f, powf(0.5, - (logf(DISTANCE_RATIO * distanceToAgent) / logf(3)) - 1)); + (logf(DISTANCE_RATIO * distanceToAgent) / logf(2)) - 1)); distanceCoefficients[lowAgentIndex][highAgentIndex] = minCoefficient; }