Ramp
A number from stops: the value at a position, between stops linearly, smoothly (monotone) or held.
Syntax
{ "id": "n1", "op": "ramp", "name": "ramp", "x": 0, "y": 0, "params": {} }
One out of it starts at "sourcePort": "out"; a parameter is set in params (leave out the ones at their default), driven by an edge to par:position, or read elsewhere as ch('ramp/position').
Inputs
This operator has no input ports.
Parameters
| Parameter | Kind | Default | Choices |
|---|---|---|---|
position | float | 0 | |
stops | text | "" |
Outputs
| Port | Type |
|---|---|
out | number |
Details
- Category: Numbers
- Operator:
ramp
Older projects
Projects saved before documents used operator classes. These convert to ramp when they open: RampOp.