Nodes/More Math/Audio -> Spectrogram
ComfyUI Node

Audio -> Spectrogram

A ComfyUI node in More math with 5 inputs and 3 outputs.

By mcDandy·Created about a year ago·Updated about a month ago· 5
Audio -> Spectrogram
  • audio
  • image
  • Channel count
  • Sample rate
window_length1024
hop_length256
bucket_count513
window_typehann
CategoryMore math

Inputs (5)

NameTypeDefaultDescription
audioAUDIOInput audio
window_lengthINT102416–4096Window length in samples
hop_lengthINT2561–4096Stride of the window (hop length) in samples
bucket_countINT5132–4096Number of frequency buckets (determines resolution)
window_typeCOMBOhannType of window function to apply

Outputs (3)

NameTypeDescription
imageIMAGE
Channel countINTNumber of channels in the output image
Sample rateINTSample rate of the input audio