ComfyUI > Nodes > Dream Project Animation Nodes > 📈 Beat Curve

ComfyUI Node: 📈 Beat Curve

Class Name

Beat Curve [Dream]

Category
✨ Dream/🎥 animation/📈 curves
Author
Dream Project (Account age: 669days)
Extension
Dream Project Animation Nodes
Latest Updated
2024-07-01
Github Stars
0.07K

How to Install Dream Project Animation Nodes

Install this extension via the ComfyUI Manager by searching for Dream Project Animation Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Dream Project Animation Nodes 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

📈 Beat Curve Description

Generate rhythmic animation curves synced with music BPM for dynamic visual effects, customizable intensity, timing, and shape.

Beat Curve [Dream]:

The Beat Curve [Dream] node is designed to generate animation curves that follow a rhythmic pattern based on musical beats per minute (BPM). This node is particularly useful for creating animations that sync with music or other rhythmic elements, providing a dynamic and visually appealing effect. By adjusting various parameters, you can control the intensity, timing, and shape of the curve, allowing for a high degree of customization. The node calculates the curve values based on the current frame, BPM, and other user-defined settings, making it a powerful tool for creating beat-synchronized animations.

Beat Curve [Dream] Input Parameters:

bpm

This parameter sets the beats per minute (BPM) for the curve. It determines the speed of the rhythm, with higher values resulting in faster beats. The default value is 100.0.

time_offset

This parameter allows you to offset the start time of the curve in seconds. It is useful for synchronizing the curve with other elements in your animation. The default value is 0.0.

measure_length

This parameter defines the number of beats in one measure. It controls the length of the rhythmic cycle. The default value is 4, with a minimum value of 1.

low_value

This parameter sets the minimum value of the curve. It defines the lowest point the curve can reach. The default value is 0.0.

high_value

This parameter sets the maximum value of the curve. It defines the highest point the curve can reach. The default value is 1.0.

invert

This parameter allows you to invert the curve values. If set to "yes," the curve values will be inverted. The available options are "no" and "yes."

power

This parameter controls the power of the curve, affecting its shape. Higher values result in a steeper curve. The default value is 2.0, with a minimum value of 0.25 and a maximum value of 4.

accent_1

This parameter sets the position of the first accent in the measure. Accents are emphasized beats that stand out in the rhythm. The default value is 1, with a minimum value of 1 and a maximum value of 24.

accent_2

This optional parameter sets the position of the second accent in the measure. The default value is 3, with a minimum value of 1 and a maximum value of 24.

accent_3

This optional parameter sets the position of the third accent in the measure. The default value is 0.

accent_4

This optional parameter sets the position of the fourth accent in the measure. The default value is 0.

Beat Curve [Dream] Output Parameters:

FLOAT

This output parameter provides the calculated curve value as a floating-point number. It represents the current value of the curve based on the input parameters and the current frame.

INT

This output parameter provides the calculated curve value as an integer. It is a rounded version of the FLOAT output, useful for scenarios where an integer value is required.

Beat Curve [Dream] Usage Tips:

  • To create a smooth and visually appealing animation, experiment with different BPM values to match the tempo of your music or other rhythmic elements.
  • Use the time_offset parameter to synchronize the curve with other elements in your animation, ensuring a cohesive visual experience.
  • Adjust the power parameter to control the steepness of the curve, allowing for more dramatic or subtle effects depending on your needs.
  • Utilize the accent parameters to emphasize specific beats in the measure, adding dynamic variations to your animation.

Beat Curve [Dream] Common Errors and Solutions:

Invalid BPM value

  • Explanation: The BPM value provided is not a valid floating-point number.
  • Solution: Ensure that the BPM value is a valid floating-point number and within a reasonable range for your animation.

Invalid measure_length value

  • Explanation: The measure_length value is outside the allowed range.
  • Solution: Ensure that the measure_length value is an integer greater than or equal to 1.

Invalid accent position

  • Explanation: One or more accent positions are outside the allowed range.
  • Solution: Ensure that all accent positions are integers within the range of 1 to 24 and appropriate for the measure length.

File not found for time_offset

  • Explanation: The time_offset value is not a valid floating-point number.
  • Solution: Ensure that the time_offset value is a valid floating-point number and within a reasonable range for your animation.

📈 Beat Curve Related Nodes

Go back to the extension to check out more related nodes.
Dream Project Animation Nodes
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.