Nodes/ComfyUI-YogurtNodes/Load Audio Path (Yogurt Nodes)
ComfyUI Node

Load Audio Path (Yogurt Nodes)

Load audio from a path, not the input folder

By yogurt7771·Created 2 years ago·Updated 9 days ago· 1
Load Audio Path (Yogurt Nodes)
  • start_time
  • end_time
  • AUDIO
audio_path

ComfyUI's default loaders only see one folder. If your audio lives anywhere else - a shared drive, a project directory, a scratch folder - you're either copying files around or you're stuck. YogurtLoadAudioPath is the escape hatch: it loads audio from an absolute path string instead of the input-folder dropdown, with the same trimming options as YogurtLoadAudio.

It's one of the IO nodes in ComfyUI-YogurtNodes, yogurt7771's 150+ node all-in-one pack. Obscure, MIT-licensed, auto-generated README, no community buzz - but the path-based loaders are genuinely useful because they let you build workflows that reference files by location rather than by what you've manually dropped into input/.

How it works

Three inputs. audio_path is a STRING with the full path to the file - and per the node's own tooltip it accepts audio or video files, so if you hand it a video it will pull the audio track out of it. That's a genuinely handy detail for adding sound from a source clip.

Then the same trimming pair as the folder loader, both in seconds: start_time (0 = from the beginning) and end_time (0 = no end limit, not zero seconds). Set end_time to 10.0 to keep only the first ten seconds.

Output is a single AUDIO in the standard ComfyUI audio format, so it plugs into the same downstream nodes as any other audio loader.

Where you'll use it

  • Referencing audio that lives outside ComfyUI/input, without copying.
  • Extracting the audio track from a video file directly.
  • Batch scenarios where the path comes from a list or a path-operator node - the string input means you can drive it programmatically.

The path-based approach trades convenience for control, so you take on the usual path responsibilities: absolute paths (or paths relative to wherever ComfyUI resolves them), the file existing at queue time, and platform separators behaving. Use forward slashes and you'll dodge most Windows headaches.

Install

ComfyUI Manager, search ComfyUI-YogurtNodes, install, restart. Or:

cd ComfyUI/custom_nodes
git clone https://github.com/yogurt7771/ComfyUI-YogurtNodes
cd ComfyUI-YogurtNodes
pip install -r requirements.txt

Restart and it's under "Yogurt Nodes". Light dependencies (numpy, pillow, requests, opencv-python), no model downloads - the IO nodes in this pack are thin wrappers, which is exactly what you want from a loader.

CategoryYogurtNodes/IO

Inputs (3)

NameTypeDefaultDescription
audio_pathSTRINGPath to the audio or video file
start_timeFLOAT,INT0Start time in seconds. 0 means from the beginning.
end_timeFLOAT,INT0End time in seconds. 0 means no end limit.

Outputs (1)

NameTypeDescription
AUDIOAUDIO