> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeroruntime.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Rnnoise

> JavaScript API reference for the rnnoise noise cancellation plugin.

## RNNoise

RNNoise audio noise-suppression (denoiser).

Accepts the shared DenoiseOptions.

### Constructor

```typescript theme={null}
new RNNoise(opts: DenoiseOptions)
```

<ParamField path="provider" type="string">
  Denoise provider name. Default: `''`.
</ParamField>

<ParamField path="modelId" type="string">
  Provider model identifier. Default: `''`.
</ParamField>

<ParamField path="modelSampleRate" type="number | null">
  Model input sample rate in Hz. Default: `null`.
</ParamField>

<ParamField path="chunkMs" type="number | null">
  Audio chunk size in milliseconds. Default: `null`.
</ParamField>

<ParamField path="gatewayToken" type="string | null">
  Auth token; falls back to the `ZRT_AUTH_TOKEN` environment variable. Default: `null`.
</ParamField>

<ParamField path="baseUrl" type="string | null">
  Override base URL for the provider. Default: `null`.
</ParamField>

<ParamField path="maxDelayMs" type="number | null" />
