Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates saving audio waveforms with customizable format and sample rate, auto-generating timestamped filenames for efficient organization.
The SaveAudioNode is designed to facilitate the saving of audio waveforms generated or processed within your AI workflows. This node allows you to specify the format and sample rate of the audio file, ensuring that your audio data is stored in a manner that suits your needs. By leveraging this node, you can seamlessly integrate audio saving functionality into your projects, making it easier to manage and utilize audio outputs. The node automatically generates a timestamped filename to prevent overwriting and organizes your audio files efficiently.
This parameter represents the audio data that you want to save. It is a collection of audio waveforms that the node will process and store in the specified format. The waveforms should be provided in a compatible format that the node can handle.
The sample rate defines the number of samples per second in the audio file. It is an integer value that determines the audio quality and playback speed. You must provide this value to ensure the audio is saved correctly. The sample rate is a required input, and you can specify any integer value that matches your audio data's sample rate.
The extension parameter allows you to choose the file format for saving the audio. You can select from "wav", "mp3", or "flac". The default value is "wav". This choice impacts the file size and quality of the saved audio, with "wav" typically offering the highest quality and "mp3" providing more compression.
This node does not produce any direct output parameters. Its primary function is to save the provided audio data to a file in the specified format and location.
waveforms
input is correctly formatted and compatible with the node to avoid errors during the saving process.sample_rate
that matches the original audio data to maintain audio quality and prevent playback issues.extension
based on your needs for audio quality and file size. For high-quality audio, use "wav"; for smaller file sizes, consider "mp3" or "flac".waveforms
input is not provided or is in an incorrect format.waveforms
input that the node can process.sf.write
function is not a string.as_posix()
method before passing it to the sf.write
function.© Copyright 2024 RunComfy. All Rights Reserved.