-
... s that it makes sense to schedule objects that will take some action . Function Routine Task ⧉ ✔ Routines and Tasks will be covered in the next section, and Functions we have already seen. There are some others, but these are the best start ...
-
... eq([0, 0, 0, 0, 8, 0, 8], inf), Pseries(1, 1, 32) ], inf) + 67; x = c.asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, x.next.midicps, \dur, 0.2]); 0.17.wait; }) }).play; ) // a more complicated example: ( c = Ppatlace([ Pxrand([ P ...
-
... tln; (abc: $x, def: \y, ghi: nil); } { [~bar, zoo, thisProcess.platform]; }; }; Routine { inf.do {|i| ("count"+i).postln; 5.0.rand.wait; }; }.play;
-
... nquishes control, either by yield or wait , or by reaching the end of a playing Routine. In the examples above, the signalOne Routine simply ends, so there is no need to yield anything. In other languages, you may see that condition variabl ...
-
... : 00. Getting Started With SC The previous section demonstrated how to use data routines to generate sequences of synthesis parameters. However, writing a routine with explicit yields is not a very convenient syntax. Since this is an essent ...
-
... arget for this instance of ProcMod. Defaults to 1. function A Function, Task or Routine to be evaluated on the playing of this instance of ProcMod. If a Function is passed in that returns a Task or Routine, the ProcMod will become 're-trigg ...
-
... asses have more capabilities; refer to their help files for specifics. Pspawner(routineFunc) The function is run in a Routine. A Spawner object gets passed into this Routine, and this object is used to add or remove streams to/from the para ...
-
... vance) Pstep(Pseries(0, 1, inf), 1).asStream.nextN(10); // Pull from Pstep in a Routine // Now the clock advances, and so do the values fork { var stream = Pstep(Pseries(0, 1, inf), 1).asStream; 10.do { stream.next.postln; 0.5.wait; } }; // ...
-
... Out: Out.ar(out, SinOsc.ar(freq, 0, env)) }).send(s); ) // these are in sync ( Routine({ loop { s.sendBundle(0.2, ["/s_new", "help-OffsetOut", -1]); 0.01.wait; } }).play; ) // these are less reliably in sync and are placed at multiples of ...
-
... Symbol ). item Some object that responds to play and stop (e.g. Pbind , Tdef , Routine ). sections An array of indices. Special class methods Add functions to the following class variables if you have special classes that can not be contro ...