Raw audio formats only (
linear16, linear32). Not supported for the Telnyx, Azure, Cohere, and Parakeet engines.noise_suppression=true to denoise the audio stream before the transcription engine receives it. Noise suppression adds a short processing delay.
Parameters
Only the lowercase value
true enables noise suppression. The nss_* parameters are validated only when noise_suppression=true.
Sample rates
Setsample_rate to the native sample rate of your audio. Noise suppression supports a sample_rate from 8000 to 192000 Hz. Outside this range, the audio is transcribed without noise suppression and no error is sent. Audio sent before the noise suppression service rejects the session may not be transcribed.
The service selects the model variant from sample_rate:
Above 8000 Hz, both models use the 16 kHz model, so the output bandwidth is limited to 8 kHz.
Send telephony and PSTN (narrowband) audio at
8000. Do not upsample 8 kHz audio to a higher rate.
Errors
An invalid combination closes the connection with an error before streaming starts. If the noise suppression service rejects or fails the session after the connection opens, for example for an unsupportedsample_rate, the audio is transcribed without noise suppression and no error is sent. Audio sent before the noise suppression service rejects the session may not be transcribed.
40008Invalid NSS Format:input_formatis notlinear16orlinear32.40009Unsupported NSS Engine:transcription_engineisTelnyx,Azure,Cohere, orParakeet.40010Invalid NSS Engine or Invalid NSS Model:nss_engineis notaicoustics, ornss_modelis notrookorquail.40011Invalid NSS Quality:nss_qualityis not a number from0to1or a preset name.