rsc3/doc/help/ugen/envelopes/x-line.help.scrbl

18 lines
569 B
Racket

#lang scribble/manual
@(require (for-label racket))
@title{(x-line rate start end dur doneAction)}
Exponential line generator. Generates an exponential curve from
the start value to the end value. Both the start and end values
must be non-zero and have the same sign.
start - starting value
end - ending value
dur - duration in seconds
doneAction - a doneAction to be evaluated when the x-line is
completed. See env-gen for details.
(let ((f (x-line kr 200 17000 10 remove-synth)))
(audition (out 0 (mul (sin-osc ar f 0) 0.1))))