-
... stop; // EventPatternProxy can be used in multiple patterns ( x = Ppar([ Pbindf(Pn(a, inf), \gtranspose, Pdup(8, Pseq(#[0, 2, 0, 3], inf)) ), Pbindf(Pn(a, inf), \gtranspose, Pdup(8, Pseq(#[7, 4, 0, 3], inf)), \dur, 0.6 ), Pbindf(Pn(a, inf), ...
-
... Pswitch( [ \rest, \note ], Pkey( \onOff ) ), \pluck0, 0, \pluck1, Pn(Pbrown(0.04, 0.2, 0.008)) * Pkey(\loose), \pluck2, Pn(Pbrown(0, 0.2, 0.01)) * Pkey(\loose), \pluck3, Pn(Pbrown(0, 0.2, 0.012)) * Pkey(\loose), ...
-
... , x, \dur, 1/3) ]) ).play; ) x.source = Prand([0, 3, [1s, 4]], inf); x.source = Pn(Pshuf([0, 3, 2, 7, 6], 2), inf); // if quant is set, the update is done at the next beat or whatever is specified: x.quant = 4; x.source = Pn(Pseries(0, 1, 8 ...
-
... {|path| var deepPathMatch, syms, tree; var dir= path.dirname; deepPathMatch= {|pn| var arr= []; pn.pathMatch.do{|x| if(x.last.isPathSeparator, { arr= arr++deepPathMatch.value(PathName(x++"*")); }, { arr= arr++PathName(x); }) }; arr }; syms ...
-
... Event stream; this can even be done inside a Pbind. q = Pbind(\freq, 300, \dur, Pn(0.3, 2)); q.trace.play; // Sound-wise ineffective modification of the incoming stream p = Pbind(\degree, 6) <> q; p.trace.play; // Instead p = Pbind(\degree, ...
-
... eam.all; dur = exprand(2.5, 6.0); sp.par(Pbind( \instrument, \default, \degree, Pn(Pshuf(notes, 1), inf), \pan, sin(Ptime() * rrand(0.8, 1.5) + rrand(0, 2pi)), \dur, PwarpDur( 1 / rrand(18, 30), cycleDur: 1, curve: rrand(1.5, 2.2) * #[-1, 1 ...
-
... Stream, deltas; ~compactPatterns.if({ deltas = Array.new(~amps.size); dStream = Pn(~divCycle.asPattern, inf).asStream; thisDelta = totalDelta = 0; ~amps.do({ |step, i| (step > 0).if({ // there's a note here (thisDelta > 0).if({ deltas.add(t ...
-
... re 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; in ...
-
... the knowledge you have about how for example SinOsc works. Generators PBlip PClipNoise PCuspN PDC PDust PDust2 PExpRand PFBSineN PFSinOsc PGbmanN PHenonN PImpulse PIRand PLatoocarfianN PLFClipNoise PLFNoise0 PLFNoise1 PLFNoise2 PLFPulse PLF ...
-
... degree , 7.rand); Pbindef ( \x , \degree , Pseq ([0, 7, 3, 7, 4], inf ), \dur , Pn ( Pseries (0.2, -0.02, 10))); Pbindef ( \x , \stretch , 2);