Codebox Operators smoothstep

smoothstep

Smoothed fade of inputs

smoothstep(x, y, a): out1

Arguments:

Arguments

NameTypeDefaultDescription
xnumber

The value of the left edge is the starting value of the fade. The fade transition of the left edge begins when a = x, or when the left edge (x) is equal to the value of the signal input (a).

ynumber

The value of the left edge is the end value of the fade transition. The transition of the left edge ends when a = y, or when the left edge (y) is equal to the value of the signal input (a).

anumber

The phase input to be smoothed. When the value of the left the (x) is less that (y), a fade transition will start with the left edge value being 1 and fall to the right edge value of . When the value of the left edge the (x) is greater that the right edge (y), a fade transition will start with the right edge value being 0 and rise to the right edge value of 1.

Returns

NameTypeDescription
out1number