Visit ComfyUI Online for ready-to-use ComfyUI environment
Efficiently save audio data with customizable metadata for AI artists, using FLAC format for high-quality preservation.
The SaveAudioBL node is designed to facilitate the saving of audio data in a structured and efficient manner. It is particularly useful for AI artists who need to manage and store audio outputs generated from various processes. This node allows you to save audio files with customizable metadata, ensuring that important information such as prompts or additional data can be embedded within the audio file itself. By utilizing the FLAC format, the node ensures high-quality audio preservation while maintaining a manageable file size. The SaveAudioBL node is an essential tool for organizing and archiving audio content, providing a seamless way to handle audio data with added metadata for future reference or analysis.
The audio
parameter is a required input that represents the audio data to be saved. It is expected to be in a specific format, typically a dictionary containing the waveform and sample rate. This parameter is crucial as it directly influences the content of the saved audio file. The waveform should be a tensor, and the sample rate should be an integer, usually 44100 Hz, which is a standard for high-quality audio. The audio data provided here will be processed and saved in the specified format, ensuring that the output file accurately reflects the input audio.
The filename_prefix
parameter allows you to specify a custom prefix for the saved audio file's name. This is useful for organizing files and ensuring they are easily identifiable. The default value is "audio/ComfyUI", but you can customize it to suit your project needs. This prefix will be appended with additional identifiers to create a unique filename for each saved audio file, helping to prevent overwriting and maintain a clear file structure.
The prompt
parameter is an optional input that allows you to include a textual prompt or description associated with the audio. This information is embedded as metadata within the audio file, providing context or additional details about the audio's origin or purpose. Including a prompt can be beneficial for documentation or when sharing audio files with others, as it offers insight into the creative process or intent behind the audio.
The extra_pnginfo
parameter is another optional input that lets you add additional metadata to the audio file. This can include any extra information you deem necessary, such as project details, version numbers, or other relevant data. Like the prompt, this metadata is embedded within the audio file, ensuring that all pertinent information is preserved alongside the audio content.
The SaveAudioBL node does not have explicit output parameters in the traditional sense. Instead, it performs the action of saving the audio file to the specified directory with the given metadata. The result of this operation is a saved audio file, which can be accessed and used as needed. The node provides feedback in the form of a dictionary containing details about the saved file, such as the filename, subfolder, and type, which can be used to verify the success of the operation and locate the saved file.
audio
parameter is correctly formatted with both waveform and sample rate to avoid errors during the saving process.filename_prefix
values to organize your saved audio files effectively and prevent overwriting.prompt
and extra_pnginfo
parameters to embed useful metadata within your audio files, enhancing their value for future reference or sharing.<audio>
prompt
and extra_pnginfo
parameters to ensure they are valid JSON strings. Avoid using special characters that may interfere with the metadata embedding process.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.