Skip to main content
ai-coustics is an acoustic noise cancellation denoiser. Like Sanas, it runs server-side over the Zero Runtime inference gateway (so it needs a gateway auth token), unlike the local RNNoise plugin. It occupies the pipeline’s denoise slot, cleaning the caller’s audio before the rest of the pipeline runs.

Setup

The denoiser connects to the inference gateway using your Zero Runtime auth token:
The token can also be passed explicitly to the factory.

Usage

Build the denoiser with AICousticsDenoise and pass it to the pipeline’s denoise slot.

Models

ai-coustics offers two model families: Match sample_rate to the model family (48000 for Sparrow, 16000 for Quail).

Parameters

Parameters for AICousticsDenoise. The JavaScript and Go SDKs expose the same settings in their idiomatic form.
The JavaScript and Go factories also accept a chunkMs / chunkMS audio chunk size (default 10) and a gatewayToken to override ZRT_AUTH_TOKEN.

Import paths

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