ComfyUI > Nodes > ComfyUI-Keyframed > KfSinusoidalAdjustAmplitude

ComfyUI Node: KfSinusoidalAdjustAmplitude

Class Name

KfSinusoidalAdjustAmplitude

Category
keyframed/sinusoidal
Author
dmarx (Account age: 4505days)
Extension
ComfyUI-Keyframed
Latest Updated
2024-05-22
Github Stars
0.08K

How to Install ComfyUI-Keyframed

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

KfSinusoidalAdjustAmplitude Description

Modify sinusoidal curve amplitude dynamically for fine-tuning vertical scaling while keeping wavelength and phase constant.

KfSinusoidalAdjustAmplitude:

The KfSinusoidalAdjustAmplitude node is designed to modify the amplitude of an existing sinusoidal curve. This node is particularly useful when you need to dynamically adjust the height of the wave peaks and troughs in your sinusoidal data. By providing an adjustment value, you can increase or decrease the amplitude, allowing for fine-tuning of the curve's vertical scaling. This can be beneficial in various applications, such as animation, signal processing, or any scenario where sinusoidal patterns are utilized. The node ensures that the other properties of the curve, such as wavelength and phase, remain unchanged, focusing solely on the amplitude adjustment.

KfSinusoidalAdjustAmplitude Input Parameters:

curve

This parameter expects a SINUSOIDAL_CURVE input, which represents the sinusoidal curve you wish to adjust. The curve contains properties like wavelength, phase, and amplitude that define its shape. The curve parameter is required and must be provided for the node to function.

adjustment

The adjustment parameter is a FLOAT value that specifies the amount by which the amplitude of the sinusoidal curve should be adjusted. The default value is 0, and it can be incremented or decremented in steps of 0.01. This parameter allows you to fine-tune the amplitude, making the wave taller or shorter as needed.

KfSinusoidalAdjustAmplitude Output Parameters:

KEYFRAMED_CURVE

This output provides the adjusted sinusoidal curve as a KEYFRAMED_CURVE. This type of curve can be used in keyframing applications where the curve's properties change over time.

SINUSOIDAL_CURVE

This output also provides the adjusted sinusoidal curve as a SINUSOIDAL_CURVE. This is the same type as the input curve but with the updated amplitude. It can be used in any context where a sinusoidal curve is required.

KfSinusoidalAdjustAmplitude Usage Tips:

  • To achieve subtle changes in the amplitude, use small adjustment values and increment gradually.
  • Combine this node with other sinusoidal adjustment nodes to create complex waveforms with varying properties.
  • Use the KEYFRAMED_CURVE output for animations where the amplitude needs to change over time.

KfSinusoidalAdjustAmplitude Common Errors and Solutions:

Invalid curve input

  • Explanation: The input provided for the curve parameter is not a valid SINUSOIDAL_CURVE.
  • Solution: Ensure that the input is a properly defined SINUSOIDAL_CURVE object.

Adjustment value out of range

  • Explanation: The adjustment value provided is outside the acceptable range.
  • Solution: Ensure that the adjustment value is within a reasonable range, typically between -1.0 and 1.0 for most applications.

Missing required input

  • Explanation: One or more required input parameters are missing.
  • Solution: Ensure that all required parameters, such as curve and adjustment, are provided before executing the node.

KfSinusoidalAdjustAmplitude Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Keyframed
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.