ComfyUI > Nodes > ComfyUI · Egregora Audio Super‑Resolution > Egregora Audio Gain Match (1770)

ComfyUI Node: Egregora Audio Gain Match (1770)

Class Name

Audio Gain Match (1770)

Category
Egregora/Analysis
Author
lucasgattas (Account age: 2973days)
Extension
ComfyUI · Egregora Audio Super‑Resolution
Latest Updated
2025-10-15
Github Stars
0.04K

How to Install ComfyUI · Egregora Audio Super‑Resolution

Install this extension via the ComfyUI Manager by searching for ComfyUI · Egregora Audio Super‑Resolution
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI · Egregora Audio Super‑Resolution in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Egregora Audio Gain Match (1770) Description

Adjust audio input gain to match reference level for consistent loudness across tracks, using ITU-R BS.1770 standard.

Audio Gain Match (1770):

The Audio Gain Match (1770) node is designed to adjust the gain of an audio input to match a reference audio level, ensuring consistent loudness across different audio tracks. This node is particularly useful in audio processing workflows where maintaining a uniform loudness level is crucial, such as in broadcasting or audio mastering. By utilizing the ITU-R BS.1770 standard, which is widely recognized for loudness measurement, this node can accurately match the loudness of the input audio to the reference, either using LUFS (Loudness Units relative to Full Scale) or RMS (Root Mean Square) methods. This ensures that the audio output is balanced and meets industry standards for loudness, providing a seamless listening experience.

Audio Gain Match (1770) Input Parameters:

audio_ref

The audio_ref parameter is the reference audio against which the input audio will be gain-matched. It serves as the benchmark for determining the target loudness level. The reference audio should be representative of the desired loudness level for the final output.

audio_in

The audio_in parameter is the input audio that needs to be adjusted to match the loudness of the reference audio. This audio will be processed to ensure its loudness aligns with the reference, providing a consistent audio experience.

mode

The mode parameter determines the method used for loudness matching. It can be set to "LUFS-I" for integrated loudness matching using the LUFS standard or to "RMS" for matching based on the RMS level. This choice affects how the loudness is calculated and adjusted.

max_gain_db

The max_gain_db parameter specifies the maximum gain adjustment allowed in decibels. It limits the extent to which the input audio can be amplified or attenuated to match the reference loudness. The default value is 12.0 dB, with a range that can be adjusted based on the specific requirements of the audio processing task.

Audio Gain Match (1770) Output Parameters:

out

The out parameter is the processed audio output that has been gain-matched to the reference audio. This output ensures that the loudness of the input audio aligns with the reference, providing a balanced and consistent audio level.

gain_db

The gain_db parameter indicates the amount of gain adjustment applied to the input audio in decibels. It reflects the difference in loudness between the input and reference audio and is crucial for understanding the extent of processing applied.

ref_level

The ref_level parameter represents the loudness level of the reference audio, measured in either LUFS or RMS, depending on the selected mode. It provides a benchmark for the loudness matching process.

in_level

The in_level parameter indicates the initial loudness level of the input audio before processing, measured in either LUFS or RMS. This value is essential for comparing the pre- and post-processing loudness levels.

Audio Gain Match (1770) Usage Tips:

  • Ensure that the reference audio (audio_ref) is representative of the desired loudness level for your project to achieve optimal results.
  • Use the mode parameter to select the appropriate loudness measurement standard (LUFS or RMS) based on your specific audio processing needs.
  • Adjust the max_gain_db parameter to prevent excessive gain changes that could introduce distortion or artifacts in the audio output.

Audio Gain Match (1770) Common Errors and Solutions:

Sample Rate Mismatch

  • Explanation: The input and reference audio have different sample rates, which can lead to incorrect loudness matching.
  • Solution: Ensure that both the input and reference audio have the same sample rate before processing.

Excessive Gain Adjustment

  • Explanation: The gain adjustment exceeds the max_gain_db limit, potentially causing distortion.
  • Solution: Increase the max_gain_db limit if necessary, or ensure that the input audio is closer in loudness to the reference audio before processing.

Incorrect Mode Setting

  • Explanation: The mode parameter is set incorrectly, leading to unexpected loudness matching results.
  • Solution: Verify that the mode parameter is set to either "LUFS-I" or "RMS" based on the desired loudness measurement standard.

Egregora Audio Gain Match (1770) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI · Egregora Audio Super‑Resolution
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.