smoothstep
Smoothed fade of inputs
smoothstep(x, y, a): out1Arguments:
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| x | number | The value of the left edge is the starting point of the fade. The transition begins when a = x, i.e. when the signal input equals the left edge value. | |
| y | number | The value of the right edge is the end point of the fade transition. The output reaches 1 when a = y, or when the right edge (y) equals the signal input (a). | |
| a | number | The input to be smoothed. When x < y, the output fades from 0 to 1 as a moves from x to y. When x > y, the fade is inverted — the output fades from 1 to 0 as a moves from y to x. |
Returns
| Name | Type | Description |
|---|---|---|
| out1 | number |