lineto
Generate glissandos starting from a control signal.
Syntax
Performance
kres -- Output signal.
ksig -- Input signal.
ktime -- Ramp duration in seconds. Positive durations are rounded up to a whole number of control cycles. Zero or negative durations jump to the new target immediately.
lineto adds linear ramps to a stepped input signal, such as the output of randh or lpshold. It starts at the first value of ksig. When it accepts a new target, it moves linearly to that value over ktime, then holds it until another ramp starts.
When used together with the output of lpshold it emulates the glissando effect of old analog sequencers.
Note
lineto finishes the current ramp before accepting another target or duration. Once the ramp ends, it uses the latest ksig and ktime. Use tlineto to interrupt a ramp with a trigger.
Examples
Here is an example of the lineto opcode. It uses the file lineto.csd.
See also
Standard Filters: Control signal filters
Credits
Author: Gabriel Maldonado
New in Version 4.13