René Nyffenegger's collection of things on the web
René Nyffenegger on Oracle - Most wanted - Feedback -
 

linseg (Csound opcode)

kr      linseg     ia, idur1, ib[, idur2, ic[...]]
ar      linseg     ia, idur1, ib[, idur2, ic[...]]
The output starts with the value of ia and linearly goes to the value of ib which is reached after idur1 seconds. Optionally, further line segments can be appended.
linseg can almost ideally be used to generate envelopes.
While linseg connects the points with straight lines, expseg connects those with exponential curves.

Instruments