From 4558806912df07a0445d1d4f447d633ca83b9f6f Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Wed, 21 Oct 2015 14:30:23 -0400 Subject: [PATCH] More fun with SuperCollider --- sclang-play/tutorial.sc | 48 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/sclang-play/tutorial.sc b/sclang-play/tutorial.sc index 083b8b5..b87f65d 100644 --- a/sclang-play/tutorial.sc +++ b/sclang-play/tutorial.sc @@ -73,3 +73,51 @@ }); }.play; ) + +( + { + PinkNoise.ar(0.2) + SinOsc.ar(440, 0, 0.2) + Saw.ar(660, 0.2) + }.plot; +) + +( + { + PinkNoise.ar(0.2) + SinOsc.ar(440, 0, 0.2) + Saw.ar(660, 0.2) + }.plot(1); +) + +( + { + PinkNoise.ar(0.2) + SinOsc.ar(440, 0, 0.2) + Saw.ar(660, 0.2) + }.scope; +) + +( + { + [ + SinOsc.ar(440, 0, 0.2), + SinOsc.ar(442, 0, 0.2) + ] + }.scope; +) + +( + { + [ + SinOsc.ar(440, 0, 0.2), + SinOsc.ar(442, 0, 0.2) + ] + }.scope(zoom: 10); +) + +( + s.scope; +) + +( + s.boot; +) + +( + s.kill; +)