-
... he Routine to do, so that stream is over; it can only yield nil thereafter. p = Pseries (0, 1, 3).asStream; // this will yield exactly 3 values 4.do { p.next.postln }; // 4th value is nil We saw that list patterns can contain other patterns ...
-
... e - the higher the note, the shorter the length ( p = Pbind ( \degree , Pseq ([ Pseries (-7, 1, 14), Pseries (7, -1, 14)], inf ), \dur , 0.25, // \degree is EARLIER in the Pbind \legato , Pkey ( \degree ).linexp(-7, 7, 2.0, 0.05) ).play; ) ...
-
... to create The arguments can be a number or any other ugen structurally related: Pseries see also: Demand // example ( { var a, freq, trig; a = Dseries (0, 1, 15); trig = Impulse .kr( MouseX .kr(1, 40, 1)); freq = Demand .kr(trig, 0, a) * 30 ...
-
... every time whenever this pattern object plays \degree , Pseed (0x7FFFFFFF.rand, Pseries ({ rrand(-7, 0) }, Pwhite (1, 3, inf ), { rrand(4, 10) })), \dur , 0.25 ); q = p.play; // uses one seed q.stop; r = p.play; // uses the same seed r.stop ...
-
... \dur , Prand ([1, 0.02, 0.2], inf ), \instrument , \help_sinegrain , \degree , Pseries (0, 1, inf ), \octave , 6 ); Pn ( Pfindur (1, c) ).play; )
-
... tor. (default: 1.0) length - number of values produced (default: inf) See also: Pseries // example ( var a; a = Pgeom (1.0, 1.1, inf ); a.asStream.nextN(100).plot; ) // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sus ...
-
... "Give me an infinite series of numbers starting with 0, increasing by 1"? With Pseries , you can. (Here, keyword addressing of the arguments is used for clarity, but 'start', 'step' and 'length' can be omitted.) a = Pseries (start: 0, step ...
-
... " , -1,0,0, \freq , rrand(600, 640)); 0.1.wait; } } ) ( x.source = { var x; x = Pseries (300, 20, 100).loop.asStream; loop { s.sendMsg( "/s_new" , "pdef_grainlet" , -1,0,0, \freq , x.next); 0.05.wait; } } ) ( x.source = { var x; x = Plazy { ...
-
... lnorm Pstatbal PstepNfunc [ PstepNadd ] Pstep3add Pstep2add Pwhite Pbrown Pgeom Pseries Pbind Pevent Pnaryop Pbinop Punop Pfuncn Prout Proutine Pfunc The following lists all the Pattern classes where embedInStream uses the default Pattern-e ...
-
... post time in a playing event stream ( Pbind ( \pfunc , Ptime .new.trace, \dur , Pseries (0.5, 0.5, 5) ).play; ) // change degree independant of number of events that have been playing ( var a, b; a = Pbind ( \degree , Pswitch (#[0, 2b, 3], ...