linsegb
Trace a series of line segments between specified absolute points.
Syntax
Initialization
ia -- starting value.
ib, ic, etc. -- value at tim1 seconds, etc.
itim1 -- time in seconds of end of first segment. A zero or negative value will cause all initialization to be skipped.
itim2, itim3, etc. -- time in seconds at the end of subsequent segments. Times must not decrease. Equal times jump to the next value.
Performance
These units generate control or audio signals whose values can pass through 2 or more specified points. The last tim value may or may not equal the instrument's performance time: a shorter performance will truncate the specified pattern, while a longer one will cause the last value to be repeated until the end of the note.
Times round to the nearest whole control period for kres or sample for ares. Points that round to the same step jump to the next value without taking an extra step.
Examples
Here is an example of the linsegb opcode. It uses the file linsegb.csd.
See also
Linear and Exponential Generators
Credits
Author: Victor Lazzarini
June 2011
New in version 5.14