-
... stln; }); // print 5 values from the stream ) Prout is a Pattern that returns a Routine. The same function argument is supplied as is supplied to Routine. ( var a, b, c; a = Prout .new({ 3.do({ arg i; 3.rand.yield; }) }); // make two stream ...
-
... Splay.ar(sig, 0.8) * env * \mul.kr(0.5, 3); Out.ar(0, sig); }).add; ) ( Routine({ var fakeTHX = Synth(\fakeTHX); 10.wait; fakeTHX.set(\meander, 0); fakeTHX.set(\freq, ~bigChord.(30, 5)); 10.wait; fakeTHX.set(\g ...
-
... rue o false: Si el sintetizador está activo o pausado var <outVol = 1; var pauseRoutine; // Rutina de pausado del Synth var resumeRoutine; classvar lag; // Tiempo que dura la transición en los cambios de parámetros en el Synth classvar sett ...
-
... uded, indeed h = Sinusoider .new(b) ; p = GraphParser (a, b) ; // the following routine uses a GraphParser to control Graph and Runner ( var i = 0, dur, label, n = 600 ; Routine .new({ n.do({ dur = 0.5.rand+0.5 ; label = "s" ++(60+(i*0.1)) ...
-
... utComb1({ exprand(100, 200).reciprocal }, 0.5)]), BBCutProc11()).play(2.5); r = Routine({ loop { [48, 55, 62, 65].scramble.midicps.reciprocal.do(_.yield) } }); BBCut2(CutGroup([CutBuf3(~buf, 0.3), CutComb1(r, 0.5)]), BBCutProc11()).play(2.5 ...
-
... al| "filter cutoff frequency ratio: %".format(val).postln}; //--read loop task= Routine({ this.setSamplingRate(rate); this.setFilterCutoff(cutoff); data= {1024.rand}!4; //fill with random data inf.do{ if(mute.not, { data= (data+({0.gauss(10 ...
-
... 4, inf ); c = Pswitch1 ([a, b, 75], Pseq ([2, 2, 0, 1], inf )); x = c.asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , x.next.midicps]); 0.18.wait; }) }).play; )
-
... e // environment around it (`outer`), so code behaves exactly as without it. // Routines started inside it inherit it, so a command's later steps // (waiting for the server, for example) keep their source. // // It is deliberately not an En ...
-
... 0, env)) }).add; ) ( a = Pser([Pser(#[60, 61, 63, 65, 72], 3)], inf).asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, a.next.midicps]); 0.2.wait; }) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes ...
-
... ue, 0.05) }); // knows it was in control EZSlider(w, 340@30, \knowsLast, \freq, Routine { |sl| var newVal, lastVal; loop { newVal = sl.value; Ndef(\test).softSet(\freq, newVal, 0.05, lastVal: lastVal); lastVal = newVal; \dummy.yield; } }); ...