Audio EQ(AudioEQStage)
Audio EQ (AudioEQStage) applies a multi-band parametric equalizer to an audio stream inside a ComfyTV pipeline.
Audio EQ Stage
Description
Audio EQ (AudioEQStage) applies a multi-band parametric equalizer to an audio stream inside a ComfyTV pipeline. Rather than adjusting a fixed set of knobs, the node takes a JSON description of EQ bands, which is normally generated and edited through the EQ graph UI. Each band is an independent filter (peaking, high pass, low pass, low shelf, or high shelf), and the combined set of bands shapes the incoming audio before it is passed downstream.
Inputs
bands (required, STRING)
A JSON array of band objects, for example:
[
{"type": "highpass", "f": 80, "q": 0.7},
{"type": "peak", "f": 1000, "g": 3, "q": 1.0},
{"type": "highshelf", "f": 8000, "g": -2, "q": 0.7}
]This widget is driven by the EQ graph UI: the curve you draw in the interface is serialized into this string, so you normally do not have to write the JSON by hand. The default value is an empty string, which produces a flat response (no filtering).
Each band object accepts the following keys:
| Key | Meaning | Default |
|---|---|---|
type | Filter shape: peak, highpass, lowpass, lowshelf, or highshelf | peak |
f | Center or cutoff frequency in Hz | 1000 |
g | Gain in dB, used by peak, lowshelf, and highshelf | 0 |
q | Q factor (resonance / bandwidth) of the filter | 1 |
Filter behavior:
- peak: a bell-shaped boost or cut centered on
f, withgcontrolling how much andqcontrolling how wide. - highpass: passes frequencies above
fand attenuates those below it;qsets the resonance at the cutoff. - lowpass: passes frequencies below
fand attenuates those above it;qsets the resonance at the cutoff. - lowshelf: boosts or cuts everything below
fbygdB. - highshelf: boosts or cuts everything above
fbygdB.
Bands are combined into a single EQ curve, so several bands can be stacked to build a more complex response.
audio (optional, COMFYTV_AUDIO)
The audio to process. When connected, it is filtered according to the bands and emitted on the audio output.
video (optional, COMFYTV_VIDEO)
An optional video input carried through the stage. This lets the node participate in a combined audio/video FX chain without disturbing the video stream.
Outputs
COMFYTV_AUDIO
The EQ-processed audio. If no bands are defined, the signal passes through unchanged.
COMFYTV_FXSPEC
An FX specification describing the EQ settings applied by this stage, for use by downstream ComfyTV stages that consume effect specs.
Usage Notes
- Leaving
bandsempty is a valid, no-op configuration and yields a flat EQ. - Use
highpassandlowpassbands to clean up the extremes of the spectrum (for example, a low-cut at 80 Hz to remove rumble), andpeakor shelf bands for tonal shaping. - Because the JSON is generated by the EQ graph UI, round-tripping through the UI is the easiest way to edit an existing curve; hand-editing is supported but the array must remain valid JSON.
- The
gkey only has an audible effect onpeak,lowshelf, andhighshelfbands.
Comments
Sign in with GitHub to join the discussion.