ComfyUI Node
Audio to Spectrogram
A ComfyUI node in audio with 12 inputs and 1 output.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| audio | AUDIO | — | |
| use_mel | BOOLEAN | true | — |
| n_fft | INT | 2048256–8192 | — |
| hop_length | INT | 51264–2048 | — |
| win_length | INT | 2048256–8192 | — |
| n_mels | INT | 12832–512 | — |
| fmin | FLOAT | 00–8000 | — |
| fmax | FLOAT | 80000–24000 | 0 = Nyquist (sample_rate / 2) |
| colormap | COMBO | inferno | 7 options: inferno, magma, viridis, plasma, hot, cool, +1 |
| width | INT | 1024256–4096 | — |
| height | INT | 512128–4096 | — |
| show_axes | BOOLEAN | true | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| spectrogram | IMAGE | — |