ComfyUI Extension: Comfy Audio Nodes
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.
A small collection of ComfyUI audio nodes, starting with peak and RMS normalization.
Looking for a different extension?
Custom Nodes (3)
README
Comfy Audio Nodes
[!WARNING] Abandoned repository
This repository is no longer maintained.
Please use Comfy Random Toolpack instead:
https://github.com/dnnagy/comfy-random-toolpackAudio nodes were moved there under the
CRTP_namespace:
CRTP_NormalizeAudioCRTP_AudioPropertiesCRTP_SplitAudioChannelsCRTP_MergeAudioChannels
A small collection of ComfyUI audio utility nodes for normalizing volume, inspecting audio properties, and splitting/merging channels.
Nodes
Normalize Audio
Normalize audio volume by peak or RMS level.
Inputs:
audio: ComfyUIAUDIOinputmethod:peakorrmstarget_dB: Target level in dBFS
Output:
audio: Normalized ComfyUIAUDIOoutput
Peak normalization scales each clip so its highest sample reaches the target level. RMS normalization scales average loudness toward the target and clamps the result to avoid clipping.
Audio Properties
Inspect properties of an AUDIO signal. The audio input is optional; if it
is not connected (or is None), isNone is True and all numeric outputs
are -1 instead of crashing.
Inputs:
audio(optional): ComfyUIAUDIOinput
Outputs:
samples(INT): Number of samples per channelduration(FLOAT): Duration in seconds (samples / sample_rate)sample_rate(INT): Sample rate in Hznum_channels(INT): Number of channelsisNone(BOOLEAN):Trueif no audio is connected
Split Audio Channels
Split a multi-channel AUDIO into two mono AUDIO outputs.
Inputs:
audio: ComfyUIAUDIOinput
Outputs:
left: First channel as monoAUDIOright: Second channel as monoAUDIO
For mono inputs, left and right are identical. For inputs with more than
two channels, only the first two are returned.
Merge Audio Channels
Merge two mono AUDIO inputs into a single stereo AUDIO. The first channel
of each input is used. Sample rates must match; if the lengths differ, the
shorter input is zero-padded.
Inputs:
left: MonoAUDIOfor the left channelright: MonoAUDIOfor the right channel
Output:
audio: StereoAUDIO
Installation
Clone this repository into your ComfyUI custom_nodes directory:
cd ComfyUI/custom_nodes
git clone https://github.com/dnnagy/comfy-audio-nodes.git
Restart ComfyUI, then search the node menu under the audio category for
Normalize Audio, Audio Properties, Split Audio Channels, or
Merge Audio Channels.
Registry
After publication, this node can be installed with:
comfy node install comfy-audio-nodes
License
MIT
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.