Nodes/ComfyUI-Pronodes/⚡ Preview VHS audio
ComfyUI Node

⚡ Preview VHS audio

Finally, you can actually listen to the audio inside your graph

By yuvraj108c·Created 3 years ago·Updated 2 years ago· 4
⚡ Preview VHS audio
  • audio

    Here's a hole in ComfyUI's video tooling: VideoHelperSuite extracts the audio track from a video and hands it to you as a VHS_AUDIO object - but stock ComfyUI has no way to actually hear that audio. You can pass it around, combine it back into video, or save it, but you can't audition it without jumping through hoops. The ⚡ Preview VHS audio node fixes exactly that: drop it on the end of your VHS_AUDIO connection and you get an audio player rendered right inside the node.

    It's the kind of utility that looks like nothing until you're editing a video workflow and realize you're about to mux the wrong audio track into a render because you couldn't listen to any of them.

    How it works

    Slightly sneakier than it looks, in a good way. The node:

    1. Takes your VHS_AUDIO input.
    2. Writes the raw audio bytes to a fixed filename, vhs_audio_preview.wav, in ComfyUI's temp directory.
    3. Returns a UI preview pointing at that file, which the pack's front-end JavaScript (bundled with the node) turns into an inline <audio> element with playback controls.

    So it's a write-to-temp + display trick, not an actual audio pipeline. That's why it has no outputs - it's purely a monitoring node, an output node that ends a branch. After a run, click play and hear what's in that VHS_AUDIO socket.

    Where it fits

    Wire it into the audio output of VHS_LoadVideoPath, or anywhere else VHS_AUDIO appears (VHS_LoadAudio, extracted audio from VideoCombine chains). Because the file is written to temp with a fixed name, each run replaces the previous preview - fine for auditioning, but if you wanted to keep audio files around, use a real save node instead. This one's for listening, not archiving.

    The practical caveats

    • It requires VideoHelperSuite. The whole point is a VHS_AUDIO socket, and that's VHS's type. No VHS, no audio to preview - this node is a companion, not a replacement.
    • The temp file gets overwritten. vhs_audio_preview.wav is whatever ran last. If you run two audio branches, only the most recent is listenable.
    • The player needs the pack's web extension. It ships in the pack's web/ folder and loads automatically with the custom node, so this normally just works. If you've disabled web extensions or copied the Python files without the web/ directory, the node runs but shows nothing.

    Install

    Part of the small MIT pack ComfyUI-Pronodes by yuvraj108c (same dev behind the ComfyUI TensorRT speed packs):

    • ComfyUI Manager: search "ComfyUI-Pronodes", install, restart.
    • Manual:
    cd ComfyUI/custom_nodes
    git clone https://github.com/yuvraj108c/ComfyUI-Pronodes
    

    The pack's requirements.txt is just yt_dlp and imageio[ffmpeg] - this node adds no real dependencies on top of what VHS already needs. One honest note: the pack is labeled "still in development" and the pack's core focus is video loading (see the Load Youtube Video node); this audio preview is one of the quieter utilities in it. For a quick "can I hear this track before I commit to a 20-minute encode?" check, it's exactly the right tool.

    CategoryPronodes

    Inputs (1)

    NameTypeDefaultDescription
    audioVHS_AUDIO

    Outputs (0)

    No outputs