Noise Reduction (Spectral)(AudioNoiseReductionStage)
Noise Reduction (Spectral), implemented by the AudioNoiseReductionStage class, is part of the ComfyTV audio effects category.
Audio Noise Reduction Stage
Description
Noise Reduction (Spectral), implemented by the AudioNoiseReductionStage class, is part of the ComfyTV audio effects category. It removes unwanted noise from an audio signal by working in the frequency domain: the input is analyzed spectrally, the steady noise component is estimated, and that component is attenuated while the wanted audio is preserved. The node can take the audio to clean directly, or pull the audio track from a video clip, and it can optionally be given a dedicated noise sample so the reduction is matched to a specific noise profile.
Inputs
audio
Type: COMFYTV_AUDIO, optional.
The audio to clean. Connect this when the material you want to process is already available as an audio stream.
video
Type: COMFYTV_VIDEO, optional.
An alternative audio source. When connected, the node uses the audio track carried by this video, which is convenient when the sound to clean is already part of a video clip.
noise_sample
Type: COMFYTV_AUDIO, optional.
A short reference clip that contains only the noise to suppress, with no wanted audio. Supplying it lets the node characterize the noise spectrum directly, so the reduction targets that particular hiss, hum, or rumble instead of relying on an estimate derived from the input. This is the most reliable way to get a clean result when the noise is consistent and you have a quiet passage to sample from.
Outputs
audio output
Type: COMFYTV_AUDIO.
The noise-reduced audio. Connect this to any node that accepts a COMFYTV_AUDIO input, such as the audio input of a video mux or save node, if you need the cleaned sound back inside a video.
Usage Notes
- All three inputs are optional, so the node will only produce a meaningful result when a signal is actually provided. Connect at least one of
audioorvideoto supply the material to process. - When both
audioandvideoare available in a workflow, prefer the one that matches your intent and keep the graph unambiguous rather than feeding two competing sources. - Providing
noise_samplegenerally gives a cleaner result than letting the node infer the noise from the input, especially for constant background noise such as tape hiss, fan noise, or mains hum. - Spectral noise reduction is most effective on steady, broadband noise. Strong reduction on tonal or transient material may introduce artifacts, so listen to the result and consider whether a less aggressive approach is needed.
- The node outputs audio only. To restore the processed sound to a video, pair it with the appropriate ComfyTV video and audio combining node.
Comments
Sign in with GitHub to join the discussion.