-
... dRect(Rect(x[0], y, 1, 1)); Pen.addRect(Rect(x[1], y, 1, 1)); }; Pen.fill; }; w.play; CmdPeriod.doOnce({w.close}); ~world= world; ) //move left object ~leftObj.loc= RedVector2D[10, 200]; //move right object ~rightObj.loc= RedVector2D[1000, ...
-
//attaching extra parameters to particles (like rotation) and displaying them. //example showing an alternative to subclassing ( var width= 500, height= 500, w, world, n= 50, particles, attractor, font= Font(Font.defaultMonoFace); //--world ...
-
... seq([500, 600, 700], inf), a); a = Psetpre(\legato, Pseq([0.01, 1], inf), a); a.play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Psetpre.schelp link::Classes/Psetpre::
-
... (10.rand + 1)); 0.2.wait; }); s.sendMsg(\n_free, x); s.sendMsg(\n_free, y); }).play; ) s.quit; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/SharedIn.schelp link::Classes/SharedIn::
-
... ; fifo.addFirst(flt.filter(slider.value)); plot.value= fifo; (1/50).wait; }; }).play(AppClock); ) ⧉ ✔ helpfile source: /tmp/scquark_hs/redSys/HelpSource/Classes/RedSmooth.schelp link::Classes/RedSmooth::
-
... ave a look at the code in the GameLoop class. The game loop can be found in the play method. Basics Before we start making sound let's have a look at entities and representations in more detail. As we saw on the quick start guide we first c ...
-
... This is an easy way to transpose a pattern to different levels successively. // Play a major-7th arpeggio, transposed to different scale degrees // Pwhite is the transposer; Pseq is the chord // The chord is like an "inner loop" ( p = Pbind ...
-
... fer.read(s, Platform.resourceDir +/+ "sounds/a11wlk01.wav"); // reference q.buf.play ( Ndef(\a).addSpec( \freq, [0, 2], \jitter, [0, 0.1], \jFreq, [0, 50], \jType, [0, 2, \lin, 1, 1], \pType, [0, 2, \lin, 1, 1] ); Ndef(\a, {|freq| var buf = ...
-
... sample: 1, )!2; sig = DCompressor.ar(sig, ratio: 10); Limiter.ar(sig ) * amp }).play ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/Extensions/MKPlugins/HelpSource/Classes/AnalogVintageDistortion.schelp link::Classes/AnalogVintageDis ...
-
... , steno code is preceded by "--" on a beginning of a line --abc // this program plays a, b, c in series. // but we don't know what a, b, c are. Let's define them one by one and hear how "abc" sounds different: // randomly varying impulses t ...