Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

perf: Keep 25% of the removed noise

Clémence Lesnéd702a57bcb9d
diff --git a/app/helpers/call_utils.py b/app/helpers/call_utils.py
index c6cd014..033d682 100644
--- a/app/helpers/call_utils.py
+++ b/app/helpers/call_utils.py
@@ -734,6 +734,8 @@ class EchoCancellationStream:
clip_noise_stationary=False, # Noise is longer than the signal
stationary=True,
y_noise=self._bot_voice_buffer,
+ # Output quality
+ prop_decrease=0.75, # Reduce noise by 75%
)
# Perform VAD test