Visit ComfyUI Online for ready-to-use ComfyUI environment
Analyze audio amplitude in specified frequency range for visual synchronization in multimedia projects.
The FrequencyRangeAmplitude node is designed to analyze the amplitude of audio signals within a specified frequency range. This node is particularly useful for AI artists who want to synchronize visual elements with specific audio frequencies, such as creating animations that react to bass or treble sounds in a music track. By applying a bandpass filter to isolate the desired frequency range and then performing a Fast Fourier Transform (FFT), the node extracts and normalizes the amplitude data. This allows for precise control over how audio influences visual outputs, making it an essential tool for creating dynamic and responsive multimedia projects.
This parameter accepts an audio input, which is the source audio data that you want to analyze. The audio data should be in a format that the node can process, typically as an AUDIO
type.
This optional parameter specifies the range of frequencies to analyze, given as a tuple. The default value is (20, 20000), which covers the full range of human hearing. Adjusting this range allows you to focus on specific parts of the audio spectrum, such as bass or treble frequencies. The minimum value is 20 Hz, and the maximum value is 20000 Hz.
This optional parameter determines the size of the window used for smoothing the amplitude data. The default value is 1, which means no smoothing is applied. Increasing the window size can help reduce noise and create a smoother amplitude curve, which can be useful for more stable visual effects.
This optional boolean parameter, with a default value of False, allows you to invert the amplitude data. When set to True, the amplitude values are inverted, which can be useful for creating inverse visual effects where low amplitudes result in high visual intensity and vice versa.
This output parameter provides the normalized amplitude data for the specified frequency range. The amplitude data is a crucial element for creating audio-reactive visuals, as it represents the intensity of the audio signal within the chosen frequency range. This data can be used to drive animations, modify visual properties, or trigger events in your multimedia project.
frequency_range
parameter to isolate the desired frequencies, such as setting it to (20, 200) for bass or (2000, 5000) for mid-range frequencies.window_size
parameter to smooth the amplitude data, especially if the raw data is too noisy or erratic for your visual effects.inverted
parameter to create unique visual effects that respond inversely to the audio amplitude.frequency_range
parameter to be within the valid range of 20 Hz to 20000 Hz.window_size
parameter is set to a non-positive value.window_size
parameter to a positive integer value.© Copyright 2024 RunComfy. All Rights Reserved.