rsc3/doc/help/ugen/oscillators/f-sin-osc.help.scrbl

33 lines
545 B
Text
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
2022-08-28 10:27:01 +00:00
@title{SC2: Note extra iphase argument.}
2022-08-24 13:53:18 +00:00
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(import (rsc3))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(audition (out 0 (mul (f-sin-osc ar (mce2 440 550) 0) 0.05)))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(let ((f (x-line kr 200 4000 1 remove-synth)))
2022-08-28 10:27:01 +00:00
(audition (out 0 (mul (f-sin-osc ar f 0) 0.25))))
]
2022-08-24 13:53:18 +00:00
Loses amplitude towards the end
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(let ((f (mul-add (f-sin-osc ar (x-line kr 4 401 8 remove-synth) 0)
200
800)))
(audition (out 0 (mul (f-sin-osc ar f 0) 0.25))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00