-
... grace notes p = Pbind ( \note , Pseq (x.notes, 1), #[midinote, delta, sustain], Pfunc ({ |ev| #[freq, dur, length].collect({ |key| ev[ \note ].tryPerform(key) }); }), \instrument , \default , \amp , 0.4 ).play; // apply arbitrary duration w ...
-
... grace notes p = Pbind ( \note , Pseq (x.notes, 1), #[midinote, delta, sustain], Pfunc ({ |ev| #[freq, dur, length].collect({ |key| ev[ \note ].tryPerform(key) }); }), \instrument , \default , \amp , 0.4 ).play; // apply arbitrary duration w ...
-
... Pn(Pshuf([\bd, \hh, \cp, \imp], 5)), \begin, Pn(Pseries(0, 0.002, 20)), \bandf, Pfunc { exprand(130, 10000) }, \dur, 0.1, \legato, Pwhite(0.01, 0.4) ) ).play; ) // if you want to simplify it a little // and keep with supercollider standards ...
-
... Pclutch_PbindFx( Pevent(fxPatI <> Pbind(\cleanupDelay, defaultFxCleanupDelay)), Pfunc { |e| e.fxOrder.miSC_getClutch(i+1) }, 0 ) }); fxPat = Pbind( \fxDataSize, fxData.size, \defaultFxOrder, [0], [\fxOrder, \fxPredecessors, \fxSuccessors], ...
-
... d( \instrument, defname, \type, Pseq([\on]), \dur, offset, \group, g, \cleanup, Pfunc { |e| cleanup.addFunction(e, { g.release }) } ), Ptpar(setPatternPairs.collect { |p, j| var pairs, keys = p.select { |x,i| i.even }, keysAfterDur; keysAft ...
-
... 20) /*, Pseq([0.5], 1)*/ ], inf ), nil , // use durations as lengths [ \ffreq , Pfunc ({ f.map(0.5.rand + 0.5)}), \pan , Pfunc ({ 1.0.rand2 })] ); ) // make rq gui-adjustable c = v.mapGlobal( \rq , nil , 0.783, [0.05, 1]); v.gui; q.insp; q. ...
-
... 20) /*, Pseq([0.5], 1)*/ ], inf ), nil , // use durations as lengths [ \ffreq , Pfunc ({ f.map(0.5.rand + 0.5)}), \pan , Pfunc ({ 1.0.rand2 })] ); ) // make rq gui-adjustable c = v.mapGlobal( \rq , nil , 0.783, [0.05, 1]); v.gui; q.insp; q. ...
-
... eat { |minDelta = 0| ^Penvir((delta: Pdiff(Ptime(inf)).asStream), Pclutch(this, Pfunc { ~delta.next > minDelta }), true) } } + Pseries { *fromEndpoints { |start, end, length = 2| (length >= 2 and: { length != inf }).if({ length = length.asI ...
-
... eat { |minDelta = 0| ^Penvir((delta: Pdiff(Ptime(inf)).asStream), Pclutch(this, Pfunc { ~delta.next > minDelta }), true) } } + Pseries { *fromEndpoints { |start, end, length = 2| (length >= 2 and: { length != inf }).if({ length = length.asI ...
-
... stream) is returned if "iftrue" or "iffalse" return nil at any time. p = Pif ( Pfunc ({ 0.3.coin }), Pwhite (0, 9, inf ), Pwhite (100, 109, inf )).asStream; p.nextN(20); [ 105, 107, 107, 8, 100, 3, 105, 5, 107, 106, 1, 104, 8, 102, 102, 4, ...