Nodes/Audio to Spectrogram/Audio to Spectrogram
ComfyUI Node

Audio to Spectrogram

A ComfyUI node in audio with 12 inputs and 1 output.

By bemoregt·Created 6 months ago·Updated 6 months ago· 4
Audio to Spectrogram
  • audio
  • spectrogram
use_meltrue
n_fft2048
hop_length512
win_length2048
n_mels128
fmin0
fmax8000
colormapinferno
width1024
height512
show_axestrue
Categoryaudio

Inputs (12)

NameTypeDefaultDescription
audioAUDIO
use_melBOOLEANtrue
n_fftINT2048256–8192
hop_lengthINT51264–2048
win_lengthINT2048256–8192
n_melsINT12832–512
fminFLOAT00–8000
fmaxFLOAT80000–240000 = Nyquist (sample_rate / 2)
colormapCOMBOinferno7 options: inferno, magma, viridis, plasma, hot, cool, +1
widthINT1024256–4096
heightINT512128–4096
show_axesBOOLEANtrue

Outputs (1)

NameTypeDescription
spectrogramIMAGE