cossegbSignal Generators:Linear and Exponential Generatorscossegbcossegb
Trace a series of line segments between specified absolute points with
cosine interpolation.
Description
Trace a series of line segments between specified absolute points with
cosine interpolation.
Syntaxares cossegb ia, itim1, ib [, itim2] [, ic] [...]kres cossegb ia, itim1, ib [, itim2] [, ic] [...]Initializationia -- 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.
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.
Examples
Here is an example of the cossegb opcode. It uses the file cossegb.csd.
Example of the cossegb opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoLinear and Exponential GeneratorsCreditsAuthor: &namejohn;Aug 2012 New in version 5.18