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:Usage
Build the denoiser withAICousticsDenoise 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 forAICousticsDenoise. 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.