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
AudioRawFrame
Frame
requiredRaw audio data for noise reduction processing
FilterControlFrame
Frame
Control frames to enable/disable filtering
FilterEnableFrame
Frame
Specific control frame to toggle filtering on/off
Output Frames
AudioRawFrame
Frame
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