vexpsegVectorial:Envelopesvexpsegvexpseg
Vectorial envelope generator
Description
Generate exponential vectorial segments
Syntaxvexpseg ifnout, ielements, ifn1, idur1, ifn2 [, idur2, ifn3 [...]]Initializationifnout - number of table hosting output vectorial signal
ifn1 - starting vector
ifn2, ifn3,etc. - vector after idurx seconds
idur1 - duration in seconds of first segment.
idur2, idur3, etc. - duration in seconds of subsequent segments.
ielements - number of elements of vectors.
Performance
These opcodes are similar to linseg and expseg, but operate with vectorial signals instead of with scalar signals.
Output is a vectorial control signal hosted by ifnout (that must be previously allocated), while each break-point of the envelope is actually a vector of values. All break-points must contain the same number of elements (ielements).
All these operators are designed to be used together with other opcodes that operate with vectorial signals such as>, vcella, adsynt, adsynt2, etc.
Example
Here is an example of the vexpseg opcode. It uses the files vexpseg.csd.
Example of the vexpseg opcode.See alsoVectorial Envelope GeneratorsCreditsWritten by Gabriel Maldonado.Example by Andres Cabrera.New in Csound 5 (Previously available only on CsoundAV)