Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate customizable waveforms for animations with various parameters like frequency, amplitude, and phase.
The Wave Generator
node is designed to produce various waveforms such as sine, square, or sawtooth waves with customizable parameters like frequency, amplitude, phase, and offset. This node is particularly useful for creating oscillating patterns or controlling animation dynamics in your projects. It generates both continuous floating-point values and integer representations of the waves, making it versatile for different applications. Whether you are looking to add rhythmic motion to your animations or simulate periodic signals, this node provides a flexible and powerful tool to achieve your creative goals.
This parameter allows you to select the type of waveform you want to generate. Options include sine, square, sawtooth, and more. The default value is SIN
. The choice of waveform affects the shape and characteristics of the generated signal.
This parameter sets the frequency of the waveform, which determines how many cycles occur per unit of time. The default value is 1, with a minimum of 0 and a maximum of 10,000,000,000,000,000. Adjusting the frequency changes the speed of the oscillations.
This parameter controls the amplitude of the waveform, which affects the height of the wave peaks. The default value is 1, with a minimum of 0 and a maximum of 10,000,000,000,000,000. Higher amplitude values result in taller waves.
This parameter sets the phase shift of the waveform, which offsets the wave horizontally. The default value is 0, with a range from 0.0 to 1.0. Adjusting the phase can help synchronize or desynchronize the wave with other elements.
This parameter adds a vertical offset to the waveform, shifting it up or down. The default value is 0, with a range from 0.0 to 1.0. This can be useful for positioning the wave within a specific range.
This parameter represents the time variable for the waveform generation. The default value is 0, with a minimum of 0 and a very fine step of 0.000001. It is used to simulate the passage of time in the wave generation process.
This boolean parameter allows you to invert the waveform. The default value is False
. When set to True
, the waveform is flipped upside down, which can be useful for creating inverse patterns.
This output provides the continuous floating-point values of the generated waveform. These values represent the precise amplitude of the wave at each point in time, making them suitable for detailed and smooth animations or signal processing tasks.
This output provides the integer representations of the generated waveform. These values are the rounded versions of the floating-point values and can be useful for applications where discrete steps or levels are needed, such as digital signal processing or creating pixel-based animations.
OFFSET
parameter to position the waveform within a specific range, which can be helpful for aligning it with other elements in your project.FREQ
and AMP
parameters to control the speed and intensity of the oscillations, allowing you to create anything from subtle vibrations to rapid, high-energy movements.WAVE
parameter is set to one of the valid options such as SIN
, SQUARE
, or SAWTOOTH
.FREQ
parameter to be within the range of 0 to 10,000,000,000,000,000.AMP
parameter to be within the range of 0 to 10,000,000,000,000,000.PHASE
parameter to be within the range of 0.0 to 1.0.OFFSET
parameter to be within the range of 0.0 to 1.0.Β© Copyright 2024 RunComfy. All Rights Reserved.