ComfyUI > Nodes > ComfyUI-EdgeTTS > Save Audio πŸ”Š

ComfyUI Node: Save Audio πŸ”Š

Class Name

Save_Audio

Category
πŸ§ͺAILab/πŸ”ŠAudio
Author
1038lab (Account age: 774days)
Extension
ComfyUI-EdgeTTS
Latest Updated
2025-04-18
Github Stars
0.04K

How to Install ComfyUI-EdgeTTS

Install this extension via the ComfyUI Manager by searching for ComfyUI-EdgeTTS
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-EdgeTTS in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Save Audio πŸ”Š Description

Facilitates saving audio files with format options, quality presets, and file management features for AI artists in ComfyUI.

Save Audio πŸ”Š:

The Save_Audio node in ComfyUI is designed to facilitate the saving of audio files generated or processed within the application. This node is particularly useful for AI artists who work with audio content, as it provides a streamlined method to store audio outputs in various formats and quality settings. The node automatically organizes saved files into a structured directory, making it easy to manage and retrieve audio files. By offering multiple audio formats and quality presets, the Save_Audio node ensures that you can tailor the output to meet specific requirements, whether you need high-quality audio for professional use or smaller file sizes for easier sharing. The node's ability to overwrite existing files or save new versions adds flexibility to your workflow, allowing you to maintain control over your audio assets.

Save Audio πŸ”Š Input Parameters:

audio

This parameter represents the audio data that you wish to save. It is the core input for the node, and its quality and format will be determined by the other parameters you set. The audio data should be in a format compatible with the node's processing capabilities.

filepath

The filepath parameter allows you to specify a custom path and filename for the saved audio file. By default, the audio is saved to the directory /output/TTS/{date}/TTS-xxxx.{format}, but you can override this by providing a specific path. This parameter supports multiline input, enabling you to define complex paths if necessary. If left empty, the default path is used.

format

This parameter determines the file format in which the audio will be saved. Available options include "wav", "mp3", and "flac", with "mp3" being the default. The choice of format can affect the audio quality and file size, so select the one that best suits your needs.

quality

The quality parameter allows you to choose the audio quality preset for the saved file. Options include "high", "medium", and "low", with "high" as the default. Each preset corresponds to specific bitrate and sample rate settings, impacting the audio's fidelity and file size. For instance, "high" quality uses a bitrate of 320 kbps and a sample rate of 48000 Hz.

overwrite

This boolean parameter determines whether existing files with the same name should be overwritten. By default, it is set to False, meaning new files will be created with unique names to avoid overwriting. Set this to True if you want to replace existing files with the new audio output.

Save Audio πŸ”Š Output Parameters:

filepath

The filepath output provides the full path to the saved audio file. This is useful for verifying where the file has been stored and for accessing it later. The path reflects any custom settings you applied through the filepath input parameter.

audio

This output returns the audio data that was saved. It serves as a confirmation that the audio has been processed and stored correctly, allowing you to use it in subsequent nodes or workflows within ComfyUI.

Save Audio πŸ”Š Usage Tips:

  • To ensure high-quality audio output, select the "high" quality preset, especially if the audio will be used in professional settings or further processing.
  • Use the filepath parameter to organize your audio files into specific directories, making it easier to manage and locate them later.
  • If you frequently save audio files with the same name, consider enabling the overwrite option to avoid cluttering your directory with multiple versions of the same file.

Save Audio πŸ”Š Common Errors and Solutions:

Error saving audio: [error message]

  • Explanation: This error occurs when there is an issue with the file path, format, or other parameters that prevent the audio from being saved correctly.
  • Solution: Check the filepath parameter to ensure it is valid and accessible. Verify that the selected format is supported and that there are no permission issues with the directory. If the problem persists, try using the default save path to see if the issue is related to custom settings.

Save Audio πŸ”Š Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-EdgeTTS
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

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.