-
... al.read; // other initialization may take place here too Pbind ( \degree , Pn ( Plazy ({ Pseq ((0..7).scramble, 1) }), inf ), \delta , 0.125, \sustain , 0.16, \instrument , \default ); }; }) => PR ( \simplePbind ); Event .default => PR ( \s ...
-
... 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) ...
-
... \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), ...
-
... 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 ...
-
... if(challenge.isKindOf(String), { challenge = challenge.ascii }); challInds = Pn(Plazy({Pshuf((0..(challenge.size - 1)), 1)}), inf).asStream; this.makeOSCFunc; } makeOSCFunc { challResponseOSCFunc = OSCFunc({|msg, time, addr| var inds; inds ...
-
... 4.361.dbamp, 1.0 // mid bump for mobile speakers ).play(chan); }, postDefaults: Plazy { Pbind( \time, min( BPStream(\maxTime, envir: ~drums[~drumID.indexOf(\deepkick)]), (Pkey(\dur) / Ptempo()) - 0.05 ), \decay, BPStream(\decay, envir: ~dru ...
-
... f be possible to differentiate by defining two further // copy flags. PStream : Plazy { var <>srcPat, <>length, <>lengthStream, <>bufSize, <>copyItems, <>copySets, <>memoRoutine; *new { |srcPat, length = inf, bufSize = 1, copyItems = 0, cop ...
-
... arbitrary number of timed setting streams Part of: miSCellaneous Inherits from: Plazy See also: Pmono , PpolyPar , PbindFx This is similar to Pmono, but allows an arbitrary number of differently timed setting streams in parallel. History: P ...
-
... x, an ascending index list of random length and a random offset // Function for Plazy q = { Pindex (z, Pseq ((0..rrand(10, 20))) + z.size.rand) } Pn ( Plazy (q), 30).asStream.all.plot; // sequencing randomly repeated random segments of rand ...
-
... x, \args , #[freq, amp, otAmps], // must be given explicitely \midinote , Pn ( Plazy { Pseq ((70..50)) / rrand(1, 1.2) }), \amp , 0.3, \otAmps , Pseq (o, 30) ).play ) ( // stop EventStreamPlayer and release Synth p.stop; x.release; ) Ex. 2 ...