Skip to main content
RNNoise is a noise cancellation plugin. It cleans the caller’s incoming audio before the rest of the pipeline runs, which improves voice activity detection and transcription on noisy connections. It occupies the pipeline’s denoise slot.

Usage

Import the plugin and pass it to the pipeline’s denoise slot.

Parameters

RNNoise() takes no constructor parameters. It runs the bundled RNNoise model at a fixed 48 kHz on 20 ms (480-sample) frames and resamples other input rates automatically, so there is nothing to configure.

Import paths

Noise cancellation runs first, so voice activity detection and speech-to-text see cleaner audio.