ComfyUI  >  Nodes  >  SaltAI_AudioViz >  Keyframe Scheduler (BIG)

ComfyUI Node: Keyframe Scheduler (BIG)

Class Name

SaltKeyframeSchedulerBFN

Category
SALT/AudioViz/Scheduling
Author
SaltAI (Account age: 146 days)
Extension
SaltAI_AudioViz
Latest Updated
6/29/2024
Github Stars
0.0K

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

Keyframe Scheduler (BIG) Description

Facilitates keyframe scheduling for smooth animations with easing functions, aiding in dynamic motion control for AI artists.

Keyframe Scheduler (BIG):

The SaltKeyframeSchedulerBFN node is designed to facilitate the creation of keyframe schedules for animations or other time-based visual effects. This node allows you to define a sequence of keyframes, which are specific points in time where certain values are set, and then interpolate between these keyframes using various easing functions. The primary benefit of this node is its ability to generate smooth transitions and complex animations by leveraging different easing modes, making it a powerful tool for AI artists looking to add dynamic motion to their projects. By providing a flexible and customizable scheduling mechanism, the SaltKeyframeSchedulerBFN node helps you achieve precise control over the timing and progression of your animations.

Keyframe Scheduler (BIG) Input Parameters:

keyframe_schedule

This parameter accepts a string that defines the keyframe schedule. The string should be formatted in a way that specifies the keyframes and their corresponding values. This schedule is the foundation upon which the node generates the animation, and it allows you to outline the critical points in your animation sequence.

easing_mode

This parameter allows you to select the easing function to be used for interpolating between keyframes. Easing functions control the rate of change of a parameter over time, providing various effects such as smooth starts, slow ends, or bouncy transitions. The available options include a list of predefined easing functions, with "None" as the default option if no easing is desired.

end_frame

This optional integer parameter specifies the frame at which the keyframe schedule should end. The minimum value is 0, and if not provided, the schedule will continue until the last keyframe. This parameter helps in defining the duration of the animation.

ndigits

This optional integer parameter determines the number of decimal places to which the generated schedule values should be rounded. The minimum value is 1, the maximum is 12, and the default is 5. This parameter ensures the precision of the output values.

a, b, c, d, e, f, g, h

These optional parameters can accept various types of values, including integers, floats, booleans, or lists. They are used to pass custom variables to the scheduler, allowing for additional customization and control over the generated schedule. Each parameter can be used to influence different aspects of the keyframe scheduling process.

Keyframe Scheduler (BIG) Output Parameters:

schedule_list

This output parameter is a list that contains the generated keyframe schedule. The list includes the interpolated values for each frame based on the provided keyframe schedule and the selected easing mode. This output is essential for driving animations or other time-based effects, as it provides the precise values needed for each frame in the sequence.

Keyframe Scheduler (BIG) Usage Tips:

  • Ensure your keyframe_schedule string is correctly formatted to avoid errors and achieve the desired animation effect.
  • Experiment with different easing modes to find the one that best suits your animation style and requirements.
  • Use the end_frame parameter to control the duration of your animation, especially if you need it to fit within a specific timeframe.
  • Adjust the ndigits parameter to balance between precision and performance, depending on the needs of your project.
  • Utilize the custom variables (a, b, c, d, e, f, g, h) to add more complexity and control to your keyframe schedules.

Keyframe Scheduler (BIG) Common Errors and Solutions:

ValueError: 'a' is not a valid int, float, boolean, or schedule_list

  • Explanation: This error occurs when the value provided for parameter a is not of the expected type.
  • Solution: Ensure that the value for a is an integer, float, boolean, or a list. Double-check the input to confirm it meets these criteria.

ValueError: 'b' is not a valid int, float, boolean, or schedule_list

  • Explanation: This error occurs when the value provided for parameter b is not of the expected type.
  • Solution: Ensure that the value for b is an integer, float, boolean, or a list. Double-check the input to confirm it meets these criteria.

Unsupported cond_keyframes_type: <type>

  • Explanation: This error occurs when an unsupported type is provided for the keyframe conditioning.
  • Solution: Verify that the type provided is one of the supported types such as "linear", "sinus", "sinus_inverted", "half_sinus", or "half_sinus_inverted". Correct the type to one of these supported values.

Keyframe Scheduler (BIG) 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.