ComfyUI > Nodes > ComfyUI_MusicTools > Music - Compressor

ComfyUI Node: Music - Compressor

Class Name

Music_Compressor

Category
music
Author
jeankassio (Account age: 3193days)
Extension
ComfyUI_MusicTools
Latest Updated
2025-12-09
Github Stars
0.11K

How to Install ComfyUI_MusicTools

Install this extension via the ComfyUI Manager by searching for ComfyUI_MusicTools
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_MusicTools 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

Music - Compressor Description

Applies multiband compression to balance audio levels, enhancing clarity and presence.

Music - Compressor:

The Music_Compressor node is designed to apply dynamic range compression to audio signals, effectively reducing the difference between the loudest and quietest parts of the audio. This process is crucial in music production as it helps to balance the audio levels, ensuring that softer sounds are audible while preventing louder sounds from becoming overwhelming. By compressing the dynamic range, the node enhances the overall clarity and presence of the audio, making it more suitable for various playback environments. The Music_Compressor achieves this through a fast multiband compression technique, which divides the audio into low, mid, and high-frequency bands and applies compression to each band separately. This approach allows for more precise control over the audio dynamics, resulting in a polished and professional sound.

Music - Compressor Input Parameters:

audio

The audio parameter represents the audio data that you want to compress. It accepts audio in any ComfyUI format, which is then processed to reduce its dynamic range. This parameter is essential as it provides the raw material for the compression process.

threshold

The threshold parameter determines the level above which the compression effect starts to take place. It is a float value ranging from 0.0 to 1.0, with a default value of 0.5. A lower threshold means that more of the audio signal will be compressed, while a higher threshold will result in less compression. Adjusting this parameter allows you to control how much of the audio is affected by the compression.

ratio

The ratio parameter defines the amount of compression applied once the audio signal exceeds the threshold. It is a float value ranging from 1.0 to 16.0, with a default value of 4.0. A higher ratio results in more aggressive compression, reducing the dynamic range more significantly. This parameter is crucial for determining the intensity of the compression effect.

Music - Compressor Output Parameters:

AUDIO

The AUDIO output parameter provides the compressed audio data. This output is the result of applying dynamic range compression to the input audio, with the specified threshold and ratio settings. The compressed audio will have a more balanced dynamic range, making it sound clearer and more consistent across different playback systems.

Music - Compressor Usage Tips:

  • Experiment with different threshold and ratio settings to find the right balance for your audio. Lower thresholds and higher ratios can be used for more aggressive compression, which is useful for controlling very dynamic audio.
  • Use the Music_Compressor in conjunction with other nodes like Music_Equalize or Music_Reverb to further enhance the audio quality and achieve a more polished final product.

Music - Compressor Common Errors and Solutions:

Error in Music - Compressor: <error_message>

  • Explanation: This error message indicates that an exception occurred during the compression process, possibly due to invalid input data or an unexpected issue in the processing pipeline.
  • Solution: Ensure that the input audio is in a valid ComfyUI format and that the threshold and ratio parameters are set within their valid ranges. If the error persists, check the console for additional traceback information to identify the specific cause of the issue.

Music - Compressor Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_MusicTools
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.