> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # setNoiseSuppression > Toggle browser noise suppression on the local mic at runtime. ```ts setNoiseSuppression(enabled): Promise ``` Toggle browser noise suppression on the local mic at runtime. ## **Parameters** **`enabled`** `boolean` — required Whether noise suppression should be enabled. --- ## **Returns** `Promise` — whether the constraint reached the microphone. `false` is an outcome rather than an error: a leg sending media the SDK did not capture is left alone. A UI that reflects the toggle must read this value instead of assuming the call succeeded. Any failure behind a `false` is also reported on [`errors$`](/docs/browser-sdk/v4/reference/webrtc-call/errors\$). ## **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. > Toggle browser noise suppression on the local mic at runtime.