-
... can keep going indefinitely. ( p = Pspawner ({ |sp| // sp = the Spawner object loop { // run a new pattern in parallel // the pattern is finite // after a few events, it stops and the Pspawner forgets about it sp.par( Pbind ( \degree , Pse ...
-
... ecuted. Inputs must refer to constants or previous unit generators. No feedback loops are allowed. Feedback must be accomplished via delay lines or through buses. For greatest efficiency: Unit generators should be listed in an order that pe ...
-
... Env .perc(0.001, 0.03, 0.4), doneAction:2) }; // jittery tone. ( r = Routine { loop { 200.do { arg i; ~x.spawn; (0.005).wait; }; 1.wait; } }.play; ) ProxySynthDef .sampleAccurate = true ; // steady tone, because sample accurate. ~x.rebuild ...
-
... #[-1, 1, -1], #[2, 2], \sin ), \dur , 0.125 ).play; p.stop; The releaseNode and loopNode envelope parameters do not take effect, because they are meaningful only when used in a Synth with a gated EnvGen. When the envelope ends, the stream w ...
-
... ck, doneAction, showProgress) Reads a section of this. soundfile into the view, looping thrugh the frames and updating readProgress . If showProgress is true, a SoundFileViewProgressWindow opens to show the read progress. startframe - An in ...
-
... r( minFreq, maxFreq, recTrig ), 0.4 ); RecordBuf .ar( irSig, i_kernel, recTrig, loop: 0, trigger: recTrig ); convTrig = TDelay .kr( recTrig, BufDur .ir( i_kernel )); // split updates across two triggers. Note that [ 1, 0 ] creates // a Mult ...
-
... //// // scale the duration of the envelope for every new synth ( r = Routine ({ loop({ Synth ( "timeScale" , [ \ts , 0.01.rrand(0.3)]); 0.5.wait; }) }); ) r.play ////////////////////////////////////////////////////////////////////////////// ...
-
... tions without knowing this other object yet. If the calculation fails, due to a loop or a not yet defined object, Maybe returns nil. The name Maybe stems from the programming language Haskell, where it represents a somewhat similar entity. ...
-
... nvirGui ( Tdef ( \text ).envir, 4, parent: w); Tdef ( \text , { |ev| var mydur; loop { mydur = ev.dur; (note: ev.note, dur: mydur, amp: ev.amp, pan: ev.pan).postln.play; mydur.wait; } }).play; ) // or equivalently, use the built-in EnvirGui ...
-
... l run again immediately. And, if the number is always 0, it creates an infinite loop that can lock up SuperCollider. That shouldn't scare you off of scheduling -- this is less likely to happen with Routines and Tasks, which you will use mor ...