# \&noisegate

Sender-Side Option! ([`&push`](https://docs.vdo.ninja/advanced-settings/setup-parameters/push))

## Aliases

* `&gating`
* `&gate`
* `&ng`

## Options

Example: `&noisegate=1`

| Value                   | Description                                                                |
| ----------------------- | -------------------------------------------------------------------------- |
| `0`                     | hides it from the menu                                                     |
| `1` \| (no value given) | enables the new noise gate (see Details)                                   |
| `2`                     | will mute the speakers when you are talking                                |
| `3`                     | will mute the speakers when someone else is talking (mainly for debugging) |
| `4`                     | will mute the microphone when someone else is speaking                     |

## Details

The default setting is OFF. You can switch on the noise gate in the audio settings:\
![](https://2943598173-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZHXv1G8N0MDxwotaT9%2Fuploads%2F5WZ2kXbSHqYC8IzBWmeo%2Fimage.png?alt=media\&token=3f1bf687-c437-4642-b74c-5fe543763ca9)

This is a new noise gate, that lowers your mic volume to 10% of its current value based on volume-level activity. If you haven't made a significant sound in few seconds, the noise gate kicks in, and will re-enable when a significant noise is detected. It will take about 300-ms for the volume to recover once the noise triggers it back on, which can be a small bit harsh/distracting at times.

The point of this feature is to allow guests who might be in a rather noisy room or who are unable to use echo cancellation to still engage with a chat, without them introducing feedback back into the room.

This is a very hard and aggressive noise filter, and a guest won't be audible to others in the room if others in the room are currently talking.

User feedback on this feature welcomed.

### Noise Gate Settings

[`&noisegatesettings`](https://docs.vdo.ninja/advanced-settings/audio-parameters/and-noisegatesettings) is used in conjunction with `&noisegate`. This feature lets you tweak the noise-gate's variables, making it more or less aggressive as needed.

It takes a comma separated list:

* First value is target gain (0 to 100), although 0 to 40 is probably the recommended range here.
* Second value is the threshold value where the gate is triggered if below it. \~ 100 is loudly speaking, \~ 20 is light background noise levels, and under 5 is quiet background levels.
* Third value is how 'sticky' the gate-open position is, in milliseconds. Having this set to a few seconds should prevent someone from being cut off while speaking or if taking a short pause.

Example:\
[`https://vdo.ninja/alpha/?noisegate&noisegatesettings=10,25,3000`](https://vdo.ninja/alpha/?noisegate\&noisegatesettings=10,25,3000)

To help users with testing the noise gate and configuring the noise gate settings, there's an interactive page here for it: <https://vdo.ninja/noisegate>

{% hint style="warning" %}
The `/noisegate` test page uses a classic DAW-style 5-parameter format. Its output string is **not** directly compatible with the `&noisegatesettings` URL parameter, which uses the 3-value internal format. See [`&noisegatesettings`](https://docs.vdo.ninja/advanced-settings/audio-parameters/and-noisegatesettings) for the correct format.
{% endhint %}

## Related

{% content-ref url="and-noisegatesettings" %}
[and-noisegatesettings](https://docs.vdo.ninja/advanced-settings/audio-parameters/and-noisegatesettings)
{% endcontent-ref %}

{% content-ref url="and-denoise" %}
[and-denoise](https://docs.vdo.ninja/advanced-settings/audio-parameters/and-denoise)
{% endcontent-ref %}
