ComfyUI Node

VRGDG_SaveAudio

Put processed audio back on disk, where it belongs

By vrgamegirl19·Created about a year ago·Updated about 7 hours ago· 718
VRGDG_SaveAudio
  • audio
  • saved_audio_path
source_audio_path

ComfyUI's audio handling is a weird place to end up: audio flows around the graph as an AUDIO object, and nothing core gives you a clean "write this back to a file" step. VRGDG_SaveAudio is that missing step. It takes an audio tensor and a target path, writes the file, and hands you the path it used. If you've ever needed to hand the result of an audio step back to something that expects a file - or just wanted to keep your processed stems around - this is the node.

Why you'd reach for it

This pack lives on music-video workflows, and those do real audio work: splitting vocals from the instrumental, extracting emotion timing from the track, sometimes re-splicing a cleaned stem back into the final render. librosa (one of the pack's declared requirements) does a lot of that analysis, but at the end you want a .wav or .mp3 on disk, not a tensor floating in RAM. That's exactly the gap this node fills.

The inputs and outputs

It's refreshingly small:

  • audio - the AUDIO input to write.
  • source_audio_path - where to save it. Feed it a full path (or another node's path output) and it writes there.

The only output is saved_audio_path - the path it actually wrote to. That output is the whole point for downstream wiring: pass it to a node that wants a file path rather than an audio object, and you've closed the loop between ComfyUI's in-graph audio and everything else in your pipeline.

The naming is worth a second look: source_audio_path reads like "the file this came from," but per the schema it's the destination. If you're used to nodes that only read, this one writes. Get that backwards and you'll be staring at an empty folder wondering where your audio went.

Install and where it fits

Pack install is the usual:

cd ComfyUI/custom_nodes
git clone https://github.com/vrgamegirl19/comfyui-vrgamedevgirl

or ComfyUI Manager → search "vrgamedev" → restart. The requirements.txt (kornia, librosa, imageio) comes along with it; on Windows portable, run it from python_embeded with python.exe -m pip install -r ..\custom_nodes\comfyui-vrgamedevgirl\requirements.txt.

The only real gotcha is giving it a writable path - the pack's workflows ship with Windows-style paths, and if you're on Linux or macOS the defaults won't exist. Create the directory or the write fails silently into a log you won't read. And remember: this node has no overwrite toggle, so decide whether your pipeline needs a fresh name each run or a fixed path, and keep the two consistent.

CategoryVRGDG/Audio

Inputs (2)

NameTypeDefaultDescription
audioAUDIO
source_audio_pathSTRING

Outputs (1)

NameTypeDescription
saved_audio_pathSTRING