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

Load Audio (Path)πŸŽ₯πŸ…₯πŸ…—πŸ…’(LoadAudio)

This node technically supports loading multiple common audio formats, including WAV, MP3, OGG, M4A, and FLAC.

Load Audio

audio
duration
audio_file
input/
seek_seconds
0
duration
0.00
VideoHelperSuite

The Load Audio (Path)πŸŽ₯πŸ…₯πŸ…—πŸ…’ node technically supports loading various common audio formats, including WAV, MP3, OGG, M4A, and FLAC.

The Load Audio (Path) node is an audio loading tool within the Video Helper Suite. Its core function is to read audio files from a specified path and convert them into a format processable by ComfyUI workflows. This node allows users to load audio from the local file system or a network URL, providing a data source for subsequent audio processing or audio-video synchronization tasks.

Node Functionality

This node technically supports loading various common audio formats, including WAV, MP3, OGG, M4A, and FLAC. It internally utilizes the FFmpeg library to decode audio files and converts the audio data into an internal representation containing waveform and sample rate information. The node also implements path validation and hash caching mechanisms to ensure workflow re-execution is triggered when files change.

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

Control Parameters (Parameters)

Parameter NameData TypeRequiredDefault ValueValue Range/OptionsDescription
audio_fileSTRINGYesinput/Any valid file pathPath to an audio file. Supported formats include WAV, MP3, OGG, M4A, FLAC, and others supported by FFmpeg.
seek_secondsFLOATNo0Min: 0Number of seconds to skip from the beginning of the audio before loading.
durationFLOATNo00 – 10000000 (Step: 0.01)Maximum duration of audio to load in seconds. Set to 0 to load the entire file.

Output

Parameter NameData TypeDescription
audioAUDIOaudio (Output Parameter): The output audio data, containing waveform and sample rate information.
durationFLOATduration (Output Parameter): Outputs the actual duration (in seconds) of the loaded audio segment.

Usage Scenarios

In a typical audio-video generation workflow, you can use this node to load background music or sound effect files. For example, connect it to a node that generates video, then pass the output audio data to a video compositing node, thereby adding a synchronized audio track to the generated video clip to create complete multimedia content.

Notes

Please note that this node requires FFmpeg to be correctly installed and configured on the system to function properly. If the audio file path is invalid or the format is unsupported, node execution will fail and throw an error.

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

Comments

Sign in with GitHub to join the discussion.

Loading comments…