R.E.P.O.
Install with App

Details

Latest version
0.3.1
Last Updated
First Uploaded
Downloads
134
Likes
0
Size
27KB
Dependants

MicGate

A noise gate for your microphone, like the input sensitivity setting in Discord. Choose at which volume (in dB) your microphone starts sending, so keyboard clicks, fans and background noise stay out of the voice chat.

This mod only changes your own microphone. Your teammates do not need to install it.

Features

  • Send threshold in dB. Voice is only sent when the microphone level is above the threshold.
  • Live level meter. See your input level next to a marker for the threshold, and whether you are currently sending.
  • Release delay. The microphone stays open for a short time after you stop talking (default 250 ms), so the ends of words are not cut off.
  • Microphone test. A button in the window plays back exactly the audio that the voice chat sends (after the gate), so you can hear the effect of threshold and delay.
  • Saved settings. Threshold, delay and on/off are stored in the config file.
  • Safe to turn off. Switching the gate off, or closing the game, restores the original microphone settings of the game.

How to use

  1. Press F8 in game to open the window.
  2. Talk normally and watch the level meter.
  3. Move the slider until the yellow marker is above your background noise and below your voice.
  4. Click Test microphone (hear yourself) to hear what is sent. Use headphones, otherwise your speakers will be picked up by the microphone.
  5. Adjust the release delay if the end of your words gets cut off, or if noise keeps going through after you stop talking.
  6. Press F8 again to close the window and save. The test stops automatically.

Controls

Key Action
F8 Open / close the window (the key can be changed in the config)
Left / Right Threshold -1 / +1 dB
Up / Down Release delay +50 / -50 ms
Shift Hold for bigger steps
F9 Writes a diagnostic file (BepInEx/MicGate_dump.txt) for bug reports

While the window is open the mouse cursor is released so you can use the slider. The camera may move when you move the mouse.

Configuration

The config file is created after the first start: BepInEx/config/micgate.cfg

Setting Default Description
Enabled true Turns the noise gate on or off.
ThresholdDb -40 Send threshold in dB (-80 very sensitive, -10 only loud sounds).
ReleaseDelayMs 250 How long the microphone stays open after your voice drops below the threshold (0 - 2000 ms).
MenuKey F8 Key that opens the window.
TestVolume 0.8 Volume of the microphone test playback (0 - 1).

Notes

  • The mod changes the voice detection settings of the game's Photon Voice recorder. If the game or another mod changes those settings too, they can work against each other.
  • Tips for the threshold: about -50 dB suits quiet rooms, -35 to -25 dB suits noisy rooms.

Requirements

  • BepInEx

Known issues

  • The settings live in a small window opened with a key, not in the game's own settings menu.
  • After a game update the mod may stop working if the voice chat was changed. Please report it.

Changelog

0.3.1

  • Microphone test now taps the voice chat pipeline after the gate instead of opening the microphone a second time.

0.3.0

  • Added a microphone test button (hear yourself).

0.2.0

  • Added release delay.

0.1.0

  • First version: threshold slider with level meter.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.