Skip to main content

Capabilities

The native engine resamples between a stream's sample rate and the rate expected by the selected model. Callers are not limited to 8 kHz or 48 kHz. Pass the actual input and output rates when creating a stream context; Python, Android, iOS, and Web pass that rate through their SDK entry points.

Independent streams can be processed at the same time. Give every stream its own context and call the processing function for that context. The concurrent-stream tests exercise this with one denoiser and several contexts. The 8 kHz quantized model is the CPU-oriented choice when a server must keep many of those streams moving at once.

Feature matrix​

CapabilityC and C++PythonWebAndroidiOS
Noise suppressionYesYes, Denoiser and RNNoiseYesYesYes
NormalizationYesSix standalone/composable DSP modulesYesYesYes
Acoustic echo cancellationYes, EchoCancellerYes, explicit mono referenceYes, echoCancellationNot in the Kotlin feature APINot in the Swift feature API
Built-in resamplingYesDenoiser conversion and standalone ResamplerYesYesYes
8 kHz quantized modelONNXONNX fast8Packed fast8Not packagedPacked fast8
Discriminative 48 kHz modelONNX and TFLiteONNX and TFLite quality48Packed quality48Packed quality48Packed quality48
Hybrid 48 kHz modelONNX and TFLiteONNX and TFLite hybrid48Packed hybrid48Packed hybrid48Packed hybrid48

The Python SDK also provides voice activity detection, loudness metering and composable audio pipelines. Python API reference

Acoustic echo cancellation is part of the native library, Python and the Web SDK. The Android Features type and the iOS Features type currently select normalization and a noise-suppression model only. They do not expose an echo reference input.

The 8 kHz quantized runner is ONNX-only. A TensorFlow Lite build rejects that model type. The discriminative and hybrid 48 kHz runners exist for both ONNX Runtime and TensorFlow Lite; see Models.