expsegbaSignal Generators:Linear and Exponential Generatorsexpsegbaexpsegba
An exponential segment generator operating at a-rate with
absolute times.
Description
An exponential segment generator operating at a-rate. This unit
is almost identical to expsegb, but
more precise when defining segments with very short durations
(i.e., in a percussive attack phase) at audio rate.
Syntaxares expsegba ia, itim1, ib [, itim2] [, ic] [...]Initializationia -- starting value. Zero is illegal.
ib, ic, etc. -- value after itim1 seconds, etc. must be non-zero and must agree in sign with ia.
itim1 -- time in seconds at end of first segment.
itim2, itim3, etc. --
time in seconds at the end of subsequent segments.
Performance
This unit generate audio signals whose values can pass through
two or more specified points. The final 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
defined segment to continue on in the same direction.
Examples
Here is an example of the expsegba opcode. It uses the file expsegba.csd.
Example of the expsegba 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;June 2011New in Csound 5.14