> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# setNoiseSuppression

> Toggle browser noise suppression on the local mic at runtime.

```ts
setNoiseSuppression(enabled): Promise<void>
```

Toggle browser noise suppression on the local mic at runtime.

## **Parameters**

Whether noise suppression should be enabled.

## **Returns**

`Promise<void>` — resolves once the new constraint has been applied to the active microphone track.

## **Examples**

### Toggle from a UI switch

```ts
denoiseSwitch.addEventListener('change', async (e) => {
  await call.setNoiseSuppression(e.target.checked);
});
```

## **See**

* [`setAutoGainControl`](/docs/browser-sdk/v4/reference/webrtc-call/set-auto-gain-control), [`setEchoCancellation`](/docs/browser-sdk/v4/reference/webrtc-call/set-echo-cancellation) — companion processing toggles.