ComfyUI Node: (SP) Limiter

Class Name

SignalProcessingLimiter

Category
Signal Processing
Author
c0ffymachyne (Account age: 5179days)
Extension
ComfyUI Signal Processing
Latest Updated
2025-05-14
Github Stars
0.02K

How to Install ComfyUI Signal Processing

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

(SP) Limiter Description

Audio node limits amplitude to prevent distortion, using CUDA for efficient real-time processing.

(SP) Limiter:

The SignalProcessingLimiter is a sophisticated audio processing node designed to manage and control the dynamic range of audio signals. Its primary function is to limit the amplitude of an audio waveform, ensuring that it does not exceed a specified threshold, which helps in preventing distortion and maintaining audio clarity. This node is particularly beneficial in audio production and broadcasting, where maintaining consistent loudness levels is crucial. By utilizing CUDA optimization, the SignalProcessingLimiter offers efficient processing capabilities, making it suitable for real-time applications. It employs various limiting modes, such as downward and soft-clipping, to cater to different audio processing needs. The node also incorporates loudness normalization to ensure that the output audio maintains a consistent perceived loudness, enhancing the listening experience.

(SP) Limiter Input Parameters:

audio_input

The audio_input parameter is the audio data that you want to process. It is expected to be in a format compatible with the node's processing capabilities, typically a dictionary containing a waveform and its sample rate. This parameter is crucial as it serves as the source material for the limiting process.

mode

The mode parameter determines the type of limiting applied to the audio signal. Available modes include "downward", "soft-clipper", and "hard-clipper", among others. Each mode offers a different approach to limiting, affecting the audio's dynamic range and tonal characteristics. Choosing the right mode is essential for achieving the desired audio effect.

threshold

The threshold parameter sets the maximum amplitude level that the audio signal can reach, expressed as a percentage. The default value is 100.0, with a range from 0.0 to 100.0. Lowering the threshold will result in more aggressive limiting, which can help control peaks in the audio signal.

slope

The slope parameter defines the rate at which the limiting effect is applied once the threshold is exceeded, also expressed as a percentage. The default value is 100.0, with a range from 0.0 to 100.0. A higher slope results in a more abrupt limiting effect, while a lower slope provides a smoother transition.

release_ms

The release_ms parameter specifies the time it takes for the limiter to stop affecting the audio signal after it falls below the threshold, measured in milliseconds. The default value is 100.0, with a range from 0.0 to 1000.0. Adjusting the release time can help maintain natural sound dynamics and prevent abrupt changes in audio levels.

(SP) Limiter Output Parameters:

audio

The audio output parameter is the processed audio signal, which has undergone limiting based on the specified input parameters. This output maintains the original audio's integrity while ensuring that its amplitude does not exceed the defined threshold, resulting in a more controlled and consistent sound. The output is typically in a format compatible with further audio processing or playback.

(SP) Limiter Usage Tips:

  • Experiment with different mode settings to find the best limiting approach for your audio material. Each mode offers unique characteristics that can enhance or alter the sound in various ways.
  • Adjust the threshold and slope parameters to control the aggressiveness of the limiting effect. A lower threshold with a high slope can effectively manage peaks, while a higher threshold with a gentle slope can preserve more of the audio's natural dynamics.
  • Use the release_ms parameter to fine-tune the limiter's response time. A shorter release time can be useful for fast-paced audio, while a longer release time can help maintain smooth transitions in slower or more dynamic audio content.

(SP) Limiter Common Errors and Solutions:

Limiter Kernel 'mode' Not Found

  • Explanation: This error occurs when an invalid or unsupported mode is specified for the mode parameter.
  • Solution: Ensure that the mode parameter is set to one of the supported modes, such as "downward", "soft-clipper", or "hard-clipper". You can refer to the available modes using the limiter_get_modes() function.

Processed audio output is None for mode <mode>

  • Explanation: This error indicates that the processing did not produce any output, possibly due to incorrect parameter settings or an unsupported mode.
  • Solution: Double-check the input parameters to ensure they are correctly set. Verify that the mode is valid and that the audio_input is in the correct format. If the issue persists, try using different parameter values or modes.

(SP) Limiter Related Nodes

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

(SP) Limiter