Nodes/ComfyUI Web Viewer/AUDIO Visualizer @ vrch.ai
ComfyUI Node

AUDIO Visualizer @ vrch.ai

Draw a live waveform and spectrum from your mic

By VrchStudio·Created 2 years ago·Updated 18 days ago· 356
AUDIO Visualizer @ vrch.ai
  • raw_data
  • WAVEFORM_IMAGE
  • SPECTRUM_IMAGE
image_width512
image_height256
color_schemecolorful
background_color#111111
waveform_color#CCCCCC
waveform_amplification1.0
line_width2
debugfalse

The AUDIO Visualizer @ vrch.ai renders the audio data flowing through your workflow as two real images: a waveform and a spectrum. You feed it the RAW_DATA JSON from a Microphone Loader (or any compatible analysis source), and it draws a picture of what's happening in the audio right now. In a realtime setup that's not decoration - it's how you see sound without hearing it, and how you get audio into the visual side of a workflow as actual image content.

The whole pack is built around "AI art that reacts to the world," and this node is the literal first frame of that. It's also the honest debugging tool: when your "make the visuals dance" chain produces nothing, a waveform image tells you in one glance whether audio is actually arriving.

How it works

raw_data in, two IMAGE outputs out:

  • WAVEFORM_IMAGE - the time-domain shape of the signal, drawn as a line.
  • SPECTRUM_IMAGE - the frequency content, which is the one that actually shows the difference between a bass thump and a hi-hat.

The inputs are mostly styling: image_width / image_height set the canvas (defaults 512×256), color_scheme picks a palette (colorful, monochrome, neon, plasma), and background_color plus waveform_color let you fine-tune beyond the presets. waveform_amplification (0.1–10) scales the drawing when the signal is quiet - a whisper that looks like a flat line at 1× can become a real shape at 4×. line_width sets stroke thickness. debug logs the render.

Installing it

Standard pack install, no extras:

cd ComfyUI/custom_nodes
git clone https://github.com/VrchStudio/comfyui-web-viewer
pip install -r comfyui-web-viewer/requirements.txt

Or install "ComfyUI Web Viewer" from ComfyUI Manager and restart. No models, no FFmpeg - it's a pure drawing node.

Practical notes

  • Feed it analysis data, not arbitrary JSON. It's built to consume the mic loader's RAW_DATA (and the pack's other analyzers' data). If you hand it something with the wrong shape, you get a blank image and no error worth reading.
  • The images are plain IMAGE tensors, so they drop into the rest of ComfyUI like any image: save them, blend them, feed them to a video model, or push them through a Web Viewer node for a live "oscilloscope" tab.
  • waveform_amplification is your first knob when output looks flat. The default 1.0 assumes a reasonably hot signal; quiet input benefits from cranking it. And match the sample rate used upstream - a 16k source into a 48k-assuming node draws a distorted picture.

The natural chain is Microphone Loader → Audio Visualizer → Web Viewer: speak, see the waveform update in a browser tab, and build the reactive layer on top of that.

Categoryvrch.ai/audio

Inputs (9)

NameTypeDefaultDescription
raw_dataJSON
image_widthINT512256–2048
image_heightINT256128–1024
color_schemeCOMBOcolorful4 options: colorful, monochrome, neon, plasma
background_colorSTRING#111111
waveform_colorSTRING#CCCCCC
waveform_amplificationFLOAT1.00.1–10
line_widthINT21–10
debugBOOLEANfalse

Outputs (2)

NameTypeDescription
WAVEFORM_IMAGEIMAGE
SPECTRUM_IMAGEIMAGE