1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
class:: InterplXYC
summary:: envelope specification
related:: Classes/InterplEnv
categories:: Control, Envelopes
description::
Takes sets of x, y and curve values and returns a new instance of InterplEnv.
x values can be negative (for use in indexing with negative values or signals).
See link::Classes/InterplEnv:: Help for more info.
Examples::
code::
a = InterplXYC([0, 0, \lin], [1, 2, \sin], [2, 0]);
a.plot;
a = InterplXYC([[-1, 1, \sin], [0, 2, \lin], [1, 0]]);
a.plot;
a.at(-0.5);
a.at(0.2);
::
|