RnnoiseAudioProcessor

RNNoise v0.2 for 48 kHz PCM16/Float32, mono or stereo (one state per channel).

isBypassed switches to a delayed dry signal while keeping RNNoise warm for A/B listening. Both paths have a fixed 30 ms latency: 10 ms framing plus RNNoise's 20 ms analysis/lookahead. No VAD gate or automatic gain is added. Stop/detach discards the buffered tail. Disable OS noise suppression on microphone inputs separately, and verify its state.

Constructors

Link copied to clipboard
constructor(format: PcmAudioFormat)

Properties

Link copied to clipboard
open override val format: PcmAudioFormat
Link copied to clipboard
Link copied to clipboard
val latencyFrames: Int = 1440
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun process(input: ByteBuffer): ByteBuffer
Link copied to clipboard
open override fun reset()