ComfyUI Node
Audio Channel Conv and Resampler
Applies channel conversion and resampling to audio.
Audio Channel Conv and Resampler
- audio
- audio_out
◄channel_conversionkeep►
◄target_sample_rate0►
◄downmix_methodstandard_gain►
◄n_fft2048►
◄hop_length512►
Categoryaudio/conversion
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| audio | AUDIO | — | |
| channel_conversion | COMBO | keep | keep: maintain same channels, stereo_to_mono/force_mono: 1 channel, mono_to_stereo/force_stereo: 2 channels |
| target_sample_rate | INT | 00–192000 | Output sample rate, 0 is same as input |
| downmix_method | COMBO | standard_gain | Method 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_fftopt | INT | 2048256–8192 | FFT size for spectral downmixing. Higher values give better frequency resolution but worse time resolution. |
| hop_lengthopt | INT | 51264–4096 | Hop length for STFT. Typically n_fft / 4. Controls time resolution. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| audio_out | AUDIO | — |