2022-08-24 13:53:18 +00:00
|
|
|
#lang scribble/manual
|
|
|
|
@(require (for-label racket))
|
|
|
|
|
2022-08-28 10:27:01 +00:00
|
|
|
@title{free}
|
|
|
|
|
|
|
|
|
|
|
|
@racketblock[
|
2022-08-24 13:53:18 +00:00
|
|
|
(withSc3
|
|
|
|
(lambda (fd)
|
|
|
|
(sendSynth fd "a" (Out 0 (Mul (SinOsc 800 0) 0.1)))
|
|
|
|
(sendSynth fd "b" (Mrg2 (Out 1 (Mul (PinkNoise) 0.1)) (Free (Dust 6) 1001)))
|
|
|
|
(sendMessage fd (s_new0 "a" 1001 0 0))
|
|
|
|
(sendMessage fd (s_new0 "b" -1 0 0))))
|
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[
|
|
|
|
(withSc3 reset)
|
|
|
|
]
|
2022-08-24 13:53:18 +00:00
|
|
|
|
|
|
|
|