Audio
NoisereduceFilter
Audio noise reduction filter using the noisereduce library
Overview
NoisereduceFilter
is an audio processor that reduces background noise in real-time audio streams using the noisereduce library. It inherits from BaseAudioFilter
and processes audio frames to improve audio quality by removing unwanted noise.
Installation
The noisereduce filter requires additional dependencies:
Constructor Parameters
This filter has no configurable parameters in its constructor.
Input Frames
Raw audio data for noise reduction processing
Control frames to enable/disable filtering
Specific control frame to toggle filtering on/off
Output Frames
Processed audio data with reduced background noise
Usage Example
Frame Flow
Notes
- Lightweight alternative to Krisp for noise reduction
- Supports real-time audio processing
- Handles PCM_16 audio format
- Thread-safe for pipeline processing
- Can be dynamically enabled/disabled
- No additional configuration required
- Uses statistical noise reduction techniques