diff --git a/src/pipecat/processors/audio/audio_buffer_processor.py b/src/pipecat/processors/audio/audio_buffer_processor.py index cc4ac6cd7..2f9b975e3 100644 --- a/src/pipecat/processors/audio/audio_buffer_processor.py +++ b/src/pipecat/processors/audio/audio_buffer_processor.py @@ -22,9 +22,8 @@ from pipecat.processors.frame_processor import FrameDirection, FrameProcessor class AudioBufferProcessor(FrameProcessor): """This processor buffers audio raw frames (input and output). The mixed - audio can be obtained by calling `get_audio()` (if `buffer_size` is 0) or by - registering an "on_audio_data" event handler. The event handler will be - called every time `buffer_size` is reached. + audio can be obtained by registering an "on_audio_data" event handler. + The event handler will be called every time `buffer_size` is reached. You can provide the desired output `sample_rate` and incoming audio frames will resampled to match it. Also, you can provide the number of channels, 1