-
... top stream ends. see also: Pstep3add *new(pattern1, pattern2, ... patternN); //examples // comparing PstepNadd and Pstep3add (test) ( x = PstepNadd ( Pseq ([1, 2, 3]), Pseq ([10, 20, 30, 40]), Pseq ([100, 200, 300])).asStream; y = Pstep3ad ...
-
Presented in Living Stereo Okay, but what about our first, unsimplified example? Remember: { [ SinOsc .ar(440, 0, 0.2), SinOsc .ar(442, 0, 0.2)] }.play; This also has two SinOscs, but in a different arrangement, between two square brackets ...
-
... ers being pulled from each array in parallel. The shorter arrays will wrap. for example, the following: Pulse .ar([400, 500, 600],[0.5, 0.1], 0.2) is equivalent to: [ Pulse .ar(400,0.5,0.2), Pulse .ar(500,0.1,0.2), Pulse .ar(600,0.5,0.2) ] ...
-
... ote generating pattern and ends together with that note generating pattern (see example 0 below). A cleanupFunction that deallocates resources when the pattern ends or is stopped is automatically created. It can be replaced with a user defi ...
-
... ength number of values to return structurally related: Pser see also: Demand // example ( { var a, freq, trig; a = Dser ([1, 3, 2, 7, 8], 8 ); trig = Impulse .kr( MouseX .kr(1, 40, 1)); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOsc .ar(f ...
-
... rom a dictionary superclass: Penvir *new(dict, keyPattern, repeats, default) // example SynthDescLib .read; ( e = ( a: Pbind ( \dur , 0.1, \degree , Pseq ([0, 5, 4, 3, 2])), b: Pbind ( \dur , 0.06, \degree , Pseq ([7, 8, 7, 8])), c: Pbind ( ...
-
... g->sp - inNumArgsPushed + 1 is the receiver and where the result goes. In this example, the numArgsPushed will be 2 (as specified in definePrimitive) int prGetPathsDialog( struct VMGlobals *g, int numArgsPushed); int prGetPathsDialog( stru ...
-
... iod is evaluated. *era number of times CmdPeriod has been called since startup. Examples ( f = { "foo" .postln }; g = { "bar" .postln }; CmdPeriod .add(f); CmdPeriod .add(g); ) // Now press Cmd-. CmdPeriod .remove(g); // Now press Cmd-. Onl ...
-
... { Silent .ar(8)}.play //now with offset { Silent .ar + 0.5 }.play; //For these examples, you might want to boot the internal server Server .default =s = Server .internal; s.boot; s.scope
-
... buffer can be reallocated at any time, using .ir will not track the changes. // example s.sendMsg( "/b_allocRead" , 0, "sounds/a11wlk01.wav" ); { BufRd .ar(1, 0, Sweep .ar( Impulse .ar( BufDur .kr(0).reciprocal), BufSampleRate .kr(0))) }.pl ...