From 38bcc033a2bec55690b1639449cd86e08d00c89d Mon Sep 17 00:00:00 2001 From: Filipi Fuchter Date: Wed, 2 Jul 2025 16:20:48 -0300 Subject: [PATCH] Improving the docs about when to use: SOXRAudioResampler x SOXRStreamAudioResampler --- src/pipecat/audio/resamplers/soxr_resampler.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/pipecat/audio/resamplers/soxr_resampler.py b/src/pipecat/audio/resamplers/soxr_resampler.py index 9f285069f..4ac5d0a73 100644 --- a/src/pipecat/audio/resamplers/soxr_resampler.py +++ b/src/pipecat/audio/resamplers/soxr_resampler.py @@ -7,7 +7,12 @@ """SoX-based audio resampler implementation. This module provides an audio resampler that uses the SoX resampler library -for very high quality audio sample rate conversion. +for very high-quality audio sample rate conversion. + +When to use the SOXRAudioResampler: +1. For batch processing of complete audio files +2. When you have all the audio data available at once + """ import numpy as np