Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate audio-synced animation curves from WAV files for interactive, dynamic visualizations.
The WAV Curve [Dream] node is designed to generate animation curves based on audio data from a WAV file. This node allows you to create dynamic animations that are synchronized with the audio's amplitude over time. By leveraging the audio data, you can produce animations that respond to the intensity and variations in the sound, adding a layer of interactivity and realism to your projects. This node is particularly useful for creating audio-reactive visualizations, where the visual elements change in response to the audio input, enhancing the overall experience.
The frame_counter
parameter is a shared type that keeps track of the current frame and time in the animation. It is essential for synchronizing the audio data with the animation frames, ensuring that the correct audio sample is used at each point in time.
The wav_path
parameter specifies the file path to the WAV audio file that will be used to generate the animation curve. This parameter expects a string input, and the default value is "audio.wav". The WAV file should be accessible and properly formatted to ensure accurate audio data extraction.
The scale
parameter is a float value that determines the scaling factor applied to the audio data. This parameter allows you to adjust the amplitude of the generated curve, making it more or less pronounced in the animation. The default value is 1.0, and you can modify it to achieve the desired effect.
The FLOAT
output represents the scaled amplitude of the audio data at the current frame's time. This value is a floating-point number that can be used to drive various animation properties, such as position, rotation, or scale, to create audio-reactive effects.
The INT
output is the integer representation of the scaled amplitude of the audio data. This value is useful for scenarios where an integer input is required, such as triggering events or controlling discrete properties in the animation.
wav_path
parameter is accessible and properly formatted to avoid errors during audio data extraction.scale
values to achieve the desired amplitude effect in your animation. A higher scale value will result in more pronounced changes, while a lower value will produce subtler effects.FLOAT
output to drive continuous properties like position or rotation for smooth, fluid animations that respond to the audio.INT
output for triggering events or controlling discrete properties, such as switching between different animation states based on the audio amplitude.wav_path
parameter is correctly set to the location of the WAV file and that the file exists.© Copyright 2024 RunComfy. All Rights Reserved.