Nodes/Audio Batch/Audio Force Channels
ComfyUI Node

Audio Force Channels

Forces the number of channels. 0 means keep same.

By set-soft·Created about a year ago·Updated about a year ago· 7
Audio Force Channels
  • audio
  • audio
channels0
downmix_methodstandard_gain
n_fft2048
hop_length512
Categoryaudio/conversion

Inputs (5)

NameTypeDefaultDescription
audioAUDIO
channelsINT00–2
downmix_methodCOMBOstandard_gainMethod for stereo/multi-channel to mono conversion: - average: Simple average ((L+R)/2). Can reduce volume. - standard_gain: Sums channels with -3 dB gain (0.707). Better preserves perceived loudness.- spectral: Averages frequency magnitudes to prevent phase cancellation.
n_fftoptINT2048256–8192FFT size for spectral downmixing. Higher values give better frequency resolution but worse time resolution.
hop_lengthoptINT51264–4096Hop length for STFT. Typically n_fft / 4. Controls time resolution.

Outputs (1)

NameTypeDescription
audioAUDIO