ComfyUI Node Runs on cloud

Audio Gate

Shut out the quiet parts of a clip, such as room noise between words or bleed between drum hits, with a gate that opens and closes or an expander that eases them down. A sidechain input lets another clip open it.

By WASasquatch·Created 4 years ago·Updated about 9 hours ago· 1,884
Audio Gate
  • audio
  • sidechain
  • audio
  • open_share
◄modegate►
◄threshold_db-40.0►
◄depth_db40.0►
◄ratio3.0►
◄hysteresis_db4.0►
◄attack_ms1.00►
◄hold_ms50►
◄release_ms150►
◄lookahead_ms2.0►
◄sidechain_cut_hz0►
◄output_db0.0►
CategoryWAS Suite/Audio/Dynamics

Inputs (13)

NameTypeDefaultDescription
audioAUDIOThe clip to gate.
modeCOMBOgate`gate` = opens and closes, with hold and hysteresis; `expander` = turns quiet parts down smoothly by ratio, gentler on breaths and tails.
threshold_dbFLOAT-40.0-90–0Level in dBFS the gate opens at, or below which the expander turns down. `-40` = speech in a quiet room; `-25` = noisy room.
depth_dbFLOAT40.00–90dB the quiet parts are turned down by. `10` = gentle; `40` = near silence; `90` = off entirely.
ratioFLOAT3.01–20Expander only: dB of fall per dB under the threshold. `2` = gentle; `4` = firm.
hysteresis_dbFLOAT4.00–20Gate only: dB under the threshold the level falls before the gate closes, so it does not chatter. `4` = typical.
attack_msFLOAT1.000.01–100Milliseconds to open. `0.1` = snaps open for drums; `5` = soft for voice.
hold_msFLOAT500–2000Gate only: milliseconds it stays open after the level drops. `50` = speech; `200` = keeps a decaying note.
release_msFLOAT1501–5000Milliseconds to close. `50` = tight; `300` = natural tails.
lookahead_msFLOAT2.00–10Milliseconds the gate opens ahead of the sound, so the first transient is not cut. `0` = off.
sidechain_cut_hzFLOAT00–2000Hertz below which the detector ignores the signal, so rumble does not open it. `0` = off; `150` = typical.
output_dbFLOAT0.0-24–24dB applied to the result. `0` = unchanged.
sidechainoptAUDIOAnother clip whose level opens the gate, such as a kick opening a bass line. Empty = the clip opens itself.

Outputs (2)

NameTypeDescription
audioAUDIOThe gated clip.
open_shareFLOATShare of the first clip the gate was open for, 0 to 1.