Studio Yotsuba
Back to Node List

Automation Curve

automation_curve

Makes the 'shape' that moves pitch or volume over time. Pick a preset, or choose Json and draw the curve directly on the canvas, then wire it into an oscillator's Pitch/Gain Curve input

Reviewed
Guide available

Output Ports

NameTypeDescription
Curve
curve
AutomationCurve
Time-domain control curve

Parameters

NameTypeDefaultRangeDescription / Options
Duration
duration
Float
0.350.01–5 / step 0.01

Length in seconds. Short SFX are usually 0.1-1.0s. Keep an oscillator and the curves feeding it at the same duration - past the end of a shorter curve its effect stops (gain snaps back to full volume)

Samples
samples
Int
2562–4096

Curve resolution: how many points record the shape. Values in between are connected smoothly, so the default is almost always fine. Lower it only if fine detail may be lost is acceptable; it does NOT change the sound's length or pitch

Preset
preset
Enum
Rise—

The curve's shape. Flat = no change / Rise & Fall = steady up or down / AttackDecay = quick hit then fade (the go-to volume shape for percussive SFX) / Wobble = periodic wave (vibrato) / Json = draw it yourself on the canvas

  • flatFlat
  • riseRise
  • fallFall
  • attack_decayAttackDecay
  • wobbleWobble
  • jsonJson
JSON Samples
json_samples
CustomData
{"version":1,"samples":[0,1]}—

The drawn curve data itself (0..1 values). Dragging on the canvas above updates this automatically, so you normally never edit the JSON by hand. Repeating the same value makes flat steps - handy for arpeggios

Output Min
output_min
Float
0-96–96 / step 0.1

What the BOTTOM of the curve means as a real value. Example: for a pitch curve, min 0 / max 12 turns the curve into a 0..+12 semitone sweep; min -30 / max 0 makes it a falling pitch. For gain curves keep 0..1

Output Max
output_max
Float
1-96–96 / step 0.1

What the TOP of the curve means as a real value. Works as a pair with Output Min - together they decide the range the curve actually moves through

Overview

Creates a free-form "time → value" curve (AutomationCurve). Define arbitrary motion shapes that standard waveform nodes such as sine cannot express—for example, a hold followed by a sudden start and a gradual stop—using presets or a JSON sample sequence.

Usage tips

  • Start with a preset for the quickest setup. Supply a JSON sample sequence when you need more elaborate motion.
  • If the nine options in ease_in_out are enough, that node is simpler. Use this node when you want to design the shape of the curve itself.
  • Connect it to a compatible node with a curve input to drive a parameter over time.

Generates an AutomationCurve from a preset or JSON samples.

Ports

Direction Port Type Description
Output curve AutomationCurve Generated control curve

Parameters

  • duration: Duration of the curve
  • samples: Number of output samples
  • preset: Flat / Rise / Fall / AttackDecay / Wobble / Json
  • json_samples: A JSON array of values from 0 to 1, shown only for preset=Json
  • output_min: Output value when the curve value is 0
  • output_max: Output value when the curve value is 1

Notes

Version 2 supports presets and JSON input. Known legacy lowercase values remain accepted for compatibility, but any other unknown value is an error instead of silently selecting a default. Invalid JSON is also reported as an evaluation error without replacing the entered text. A dedicated CurveEditor UI remains a future extension.

Related nodes

  • ease_in_out — nine standard easing modes (check whether this is enough first)
  • keyframe_clip — keyframes for shapes and poses rather than values
  • image_to_automation / path_to_automation — create curves from images or paths
Back to Node List