2022-08-24 13:53:18 +00:00
|
|
|
#lang scribble/manual
|
|
|
|
@(require (for-label racket))
|
|
|
|
|
|
|
|
@title{(line rate start end dur doneAction)}
|
|
|
|
|
2022-08-28 10:27:01 +00:00
|
|
|
|
2022-08-24 13:53:18 +00:00
|
|
|
Generates a line from the start value to the end value.
|
|
|
|
|
|
|
|
start - starting value
|
|
|
|
end - ending value
|
|
|
|
dur - duration in seconds
|
|
|
|
|
|
|
|
Note: The SC3 UGen reorders the mul and add inputs to precede the
|
|
|
|
doneAction input.
|
|
|
|
|
2022-08-28 10:27:01 +00:00
|
|
|
|
|
|
|
@racketblock[
|
2022-08-24 13:53:18 +00:00
|
|
|
(let ((f (line kr 200 17000 5 remove-synth)))
|
|
|
|
(audition (out 0 (mul (sin-osc ar f 0) 0.1))))
|
2022-08-28 10:27:01 +00:00
|
|
|
]
|
|
|
|
|
2022-08-24 13:53:18 +00:00
|
|
|
|