-
... is by carefully considering which indices to use, but Bus allows for this to be done automatically. Each Server object has a bus allocator, and when you make a Bus object, it reserves those private indices, and will not give them out again ...
-
... , ampOsc); }.play; ) Try this. (Again, use Cmd-. to stop the sound.) What we've done here is plugged the first SinOsc (a control rate one!) into the mul arg of the second one. So its output is being multiplied by the output of the second on ...
-
... nd-argument functions will be inlined. If you use && or ||, no inlining will be done and performance will be slower. a = 1; a == 1 and: { "second condition" .postln; [ true , false ].choose } second condition true a == 1 or: { "second condi ...
-
... in the client app without immediately creating a group node on the server. Once done one can call methods which create messages to add to a bundle, which when sent to the server will instantiate the group or perform other operations. (See C ...
-
... a tree of nodes that define an order of execution. Patching between modules is done through global audio and control buses. All commands are received via TCP or UDP using a simplified version of Open Sound Control (OSC). The synth server a ...
-
... (bufnum), 0, start); sig = sig * amp * EnvGen .kr( Env .linen(0.01, dur, 0.01), doneAction: 2); Out .ar(out, sig ! 2) }).add; ) ( TempoClock .default.tempo = 1; p = Pfset ({ ~buf = Buffer .read(s, "sounds/a11wlk01.wav" ); 0.2.yield; // sync ...
-
... Help" .unixCmd; "echo one; sleep 1; echo two; sleep 1" .unixCmd { |res, pid| [\done, res, pid].postln }; unixCmdGetStdOut Similar to unixCmd except that the stdout of the process is returned (synchronously) rather than sent to the post win ...
-
... // this is a mixture of three oscillators env = Linen .kr(gate, susLevel: amp , doneAction: 2); // envelope deletes the synt when done audio = audio * env; OffsetOut .ar(0, audio ); }).add ); Within an event, arrayed arguments of this sort ...