ComfyUI > Nodes > SaltAI_AudioViz > Audio Volume

ComfyUI Node: Audio Volume

Class Name

SaltChangeAudioVolume

Category
SALT/AudioViz/Audio/Process
Author
SaltAI (Account age: 146days)
Extension
SaltAI_AudioViz
Latest Updated
2024-06-29
Github Stars
0.01K

How to Install SaltAI_AudioViz

Install this extension via the ComfyUI Manager by searching for SaltAI_AudioViz
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter SaltAI_AudioViz 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Audio Volume Description

Adjust audio volume by specified decibels for amplification or attenuation, essential for sound design.

Audio Volume:

The SaltChangeAudioVolume node is designed to adjust the volume of an audio file by a specified number of decibels. This node is particularly useful for audio processing tasks where you need to either amplify or attenuate the audio signal. By providing a simple yet effective way to control audio volume, this node helps you achieve the desired loudness levels in your audio projects, making it an essential tool for audio editing and sound design.

Audio Volume Input Parameters:

audio

This parameter accepts the audio data that you want to process. The audio should be in a format that the node can read, typically a WAV file. The audio data is the primary input that will be modified based on the volume adjustment specified.

volume_decibals

This parameter specifies the amount by which the audio volume should be increased or decreased. It accepts a floating-point number within the range of -60 to 60 decibels. A positive value will increase the volume, while a negative value will decrease it. The default value is 0, meaning no change in volume. The step size for adjustments is 0.01 decibels, allowing for fine-grained control over the volume levels.

Audio Volume Output Parameters:

audio

This output parameter provides the modified audio data after the volume adjustment has been applied. The output is in the same format as the input audio, typically a WAV file. This modified audio can then be used in further processing or saved for playback.

Audio Volume Usage Tips:

  • To amplify the audio, set the volume_decibals parameter to a positive value. For example, setting it to 10 will make the audio 10 decibels louder.
  • To attenuate the audio, set the volume_decibals parameter to a negative value. For example, setting it to -10 will make the audio 10 decibels quieter.
  • Use small increments (e.g., 0.01) for precise volume adjustments, especially when fine-tuning the audio levels for mixing purposes.

Audio Volume Common Errors and Solutions:

"Invalid audio format"

  • Explanation: The input audio file is not in a supported format.
  • Solution: Ensure that the audio file is in WAV format before inputting it into the node.

"Volume decibels out of range"

  • Explanation: The volume_decibals parameter is set outside the allowed range of -60 to 60.
  • Solution: Adjust the volume_decibals parameter to be within the valid range.

"Audio data is empty"

  • Explanation: The input audio data is empty or corrupted.
  • Solution: Verify that the audio file is correctly loaded and not corrupted before processing.

Audio Volume Related Nodes

Go back to the extension to check out more related nodes.
SaltAI_AudioViz
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.