Video Helper Suite πŸŽ₯πŸ…₯πŸ…—πŸ…’/audiogenerated

Load Audio (Upload)πŸŽ₯πŸ…₯πŸ…—πŸ…’(LoadAudioUpload)

This node scans all supported audio format files in the ComfyUI input folder and generates a selectable file list.

Load Audio Upload

audio
duration
audio
COMBO
start_time
0.00
duration
0.00
VideoHelperSuite

The Load Audio (Upload)πŸŽ₯πŸ…₯πŸ…—πŸ…’ node scans all supported audio format files in the ComfyUI input folder and generates a selectable file list.

The Load Audio (Upload) node is an audio processing module within the Video Helper Suite, designed to load audio files from ComfyUI's input directory. Its core function is to read user-uploaded audio files into the workflow, allowing users to specify a start time and duration for audio segment extraction, thereby providing material for subsequent audio processing or audiovisual synthesis.

Node Functionality

This node scans all supported audio format files in the ComfyUI input folder and generates a selectable file list. Internally, it reads files via the get_audio function and precisely extracts audio segments based on the provided start_time and duration parameters. Its output includes a structured AUDIO object (containing waveform data, sample rate, etc.) and a FLOAT value representing the actual duration of the loaded audio segment.

Node Parameter Description - Load Audio (Upload)πŸŽ₯πŸ…₯πŸ…—πŸ…’

Connection Inputs (Inputs)

Parameter NameData TypeRequiredDefault ValueValue Range/OptionsDescription
audioCOMBOYes--Select the audio file to load from the available files in the ComfyUI input directory.

Control Parameters (Parameters)

Parameter NameData TypeRequiredDefault ValueValue Range/OptionsDescription
start_timeFLOATNo00 - 10000000 (Step: 0.01)-
durationFLOATNo00 - 10000000 (Step: 0.01)Duration of the audio segment to load in seconds. Set to 0 to load the entire audio file from the start_time.

Output

Parameter NameData TypeDescription
audioAUDIOaudio (Output Parameter): Outputs the loaded and processed structured audio data for use by subsequent audio nodes.
durationFLOATduration (Output Parameter): Outputs the actual duration (in seconds) of the loaded audio segment.

Usage Scenarios

In workflows for creating videos with background music or performing audio analysis, this node serves as the first step for audio input. Users can first upload music files to the input directory via ComfyUI's upload feature, then use this node to load them. The output can be connected to downstream nodes such as "Audio Merge" or "Audiovisual Synthesis" to add synchronized audio tracks to video content.

Notes

When using this node, note that audio files must be manually uploaded to the input directory via the ComfyUI interface beforehand; the node cannot directly read files from arbitrary system paths. Additionally, setting the duration parameter to 0 indicates loading the entire content from the start time to the end of the file.

The Load Audio (Upload)πŸŽ₯πŸ…₯πŸ…—πŸ…’ node is from the ComfyUI-VideoHelperSuite node package.

Comments

Sign in with GitHub to join the discussion.

Loading comments…