-
... Pwhite(0.01, 0.4) ) ).play; ) // more samples ( Pdef(\x, Pbind( \instrument, Pn(Plazy { var keys = ~dirt.buffers.keys; Pshuf({ keys.choose } ! 16, 5) }), \begin, Pn(Pseries(0, 0.002, 16 * 5)), \dur, 0.11, \room, Pseq([0, 0, 0.5, 0, 0], inf) ...
-
... ,0],2,inf), \pos, Pstep(Array.series(8, 0, 1),1,inf)/8, \legato, 1, \dur, Pn(Plazy({~rhythm})) ).play; SynthDef(\compressor, { var in,compressed; in = In.ar(0,2); compressed = Compander.ar(in, in, 0.1, 1, 1/8, 0.002, 0.01); R ...
-
... (~n == []) { ~n = nil; }; */ } ); note_getter = { | index | Plazy { if (~n.isNil) { Pseq([Rest(1)]); } { ~n[index] ?? (~n[0] ?? Pseq([Rest(1)])); }; }; }; n0 = note_getter.(0); n1 = note_ ...
-
... neAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) } ).add; a = Pn( Plazy({ Pbind( \instrument, \help_sinegrain, \freq, Pgeom(rrand(200, 600), rrand(1.001, 1.01), rrand(10, 100)).wrap(100, 15000), \dur, Pgeom(rrand(0.2, 0.3), rr ...
-
... \zz] } ), Pbind(\zz, Pseries()) ) }, { |x| Pfindur(2, x).loop }, { |x| Ppar([x, Plazy { x }]) }, { |x| Psym(Pseq([\a, \b], 2), (a: x), (b: Pfin(2, x))) }, { |x| Psym1(Pseq([\a, \b], 2), (a: x), (b: Pfin(2, x))) } ]; var sources = [ (x: 9), ...
-
... grainlet" , -1,0,0, \freq , x.next); 0.05.wait; } } ) ( x.source = { var x; x = Plazy { Pseries (300 + 300.rand, 10 + 30.rand, 10 + 30.rand) }.loop.asStream; loop { s.sendMsg( "/s_new" , "pdef_grainlet" , -1,0,0, \freq , x.next); 0.05.wait; ...
-
... to , 0.3 ).play; p.stop; // using Pfin / Pn // Pn loops the Pbind infinitely // Plazy builds a new Pbind for each iteration // Pfin cuts off the Pbind when it's time for a new value p = Pn ( Plazy { Pbind ( \degree , Pfin (rrand(3, 10), rra ...
-
... ))!2 * 0.5 }.play, \octave, 3, \scale, Scale.minorPentatonic, \degree, Pn(Plazy{Pseq(Pxrand((0..4),inf).asStream.nextN(4),4)}), \dur, 1/4 ).play; // clean up w.onClose_({ b.free; x.stop; }); )
-
... eList; ^super.new(laceList, repeats, offset); } } ////////////////// PmonoPar : Plazy { *new { |setPatternPairs, defname = \default, offset = 1e-6| ^super.new({ var g = Group(), cleanup = EventStreamCleanup.new; Pseq([ Pbind( \instrument, d ...
-
... turns a Stream that returns values from the nextFunc . To return a pattern, see Plazy . Class Methods Pfunc. new ( nextFunc , resetFunc ) Arguments: nextFunc Stream function. In an event stream nextFunc receives the current Event as argumen ...