Linearly-interpolated envelope, described by a set of [x, y] points.
[x, y]
When t < x0 outputs y0. When t > xn outputs yn.
t < x0
y0
t > xn
yn
/\ / \ _____ / \_____/ \ / \ Copy
/\ / \ _____ / \_____/ \ / \
Array of [x, y] points describing the envelope.
The current time.
The envelope value at time t.
t
Linearly-interpolated envelope, described by a set of
[x, y]points.When
t < x0outputsy0. Whent > xnoutputsyn.