Load Audio (Path)π₯π ₯π π ’(LoadAudio)
This node technically supports loading multiple common audio formats, including WAV, MP3, OGG, M4A, and FLAC.
Load Audio
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 Name | Data Type | Required | Default Value | Value Range/Options | Description |
|---|---|---|---|---|---|
audio_file | STRING | Yes | input/ | Any valid file path | Path to an audio file. Supported formats include WAV, MP3, OGG, M4A, FLAC, and others supported by FFmpeg. |
seek_seconds | FLOAT | No | 0 | Min: 0 | Number of seconds to skip from the beginning of the audio before loading. |
duration | FLOAT | No | 0 | 0 β 10000000 (Step: 0.01) | Maximum duration of audio to load in seconds. Set to 0 to load the entire file. |
Output
| Parameter Name | Data Type | Description |
|---|---|---|
| audio | AUDIO | audio (Output Parameter): The output audio data, containing waveform and sample rate information. |
| duration | FLOAT | duration (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.
Load Audio (Path)π₯π ₯π π ’ Node Source Code Link
The Load Audio (Path)π₯π ₯π π ’ node is from the ComfyUI-VideoHelperSuite node package.
Comments
Sign in with GitHub to join the discussion.