-
... a pattern // memory is finite (can only go backward so far) // recommend to use Pwrand for stepPattern -- weights can give an overall positive direction Pscratch : FilterPattern { var <>stepPattern, <>memorySize; *new { |pattern, stepPatter ...
-
... h ratio of the pitch set. This array can used as an argument to wchoose or in a Pwrand pattern. Example (first evaluate the code in the previous method): a.calcPolarity(0); // returns an array of equal probabilities a.calcPolarity(1); // ar ...
-
... lue: freq, ratio: 8, decay: 0.03], map: (freq: \value)) }, \dur, 0.25, \legato, Pwrand([0.4, 1.05], [0.25, 0.75], inf) ) ).play; ) p.stop; p = Pmsyn(Pbind(\freq, Pexprand(300, 900, inf), \dur, 0.25)).play; p.stop; // manual retriggering: pr ...
-
... at is returned by CVCenter:use ( Pdef(\hiHat, Pbind(*[ instrument: \hihat, dur: Pwrand([1/4, Pwrand([Pn(1/4, 4), Pn(1/8, 2)], [2, 5].normalizeSum, 1)], [16, 9].normalizeSum, inf), freq: 20000, atk: 0.0001, rel: Pgauss(0.04, Pwhite(0.02, CVC ...
-
... // reset is meaningless for wrand anyway currentEnvironment }; ~patternClass = Pwrand; ~makeStream = { ~seqStream = ~patternClass.new(~pool.asArray, ~weightPattern.(), inf).collect(_.item).asStream; }; ~embedInStream = { |inval| ~patternCl ...
-
... RdPan, \bufnum, Pfuncn {c[\waves][\inhale].choose}, \amp, 0.7, \delta, Pwrand([Pfuncn {v[\breathInhaleTime].next}, Pwhite(2.0, 5.0, 1)], [10, 1].normalizeSum), \rate, Pwhite(0.8, 1.2), ); p[\breathExhale] = Pbind( \in ...
-
... Pfunc{ exprand(~bendRanger.lo.value, ~bendRanger.hi.value)}, \freqCloud, Pwrand([1, 2.pow(1/12), 2.pow(2/12), 2.pow(3/12), 2.pow(4/12), 2.pow(5/12), 2.pow(6/12), 2.pow(7/12), 2.pow(8/12), ...
-
... f doesn't work with SC 3.5 ( Pbindef ( \fx3 , \fx , \wah , [ \resLo , \resHi ], Pwrand ([[200, 300], [1500, 2000]], [0.8, 0.2], inf ), \cutOffMoveFreq , Pseq ([1, 5, 20], inf ), \cleanupDelay , 0.01 ) ) q.stop; // before playing again do Pb ...
-
... n Pbindef doesn't work with SC 3.5 ( Pbindef(\fx3, \fx, \wah, [\resLo, \resHi], Pwrand([[200, 300], [1500, 2000]], [0.8, 0.2], inf), \cutOffMoveFreq, Pseq([1, 5, 20], inf), \cleanupDelay, 0.01 ) ) q.stop; // before playing again do Pbindef ...
-
... s Pwalk - A one-dimensional random walk over a list of values that are embedded Pwrand - embed values randomly chosen from a list Pxrand - embed values randomly chosen from a list PatternProxy - stream reference Pdefn - non event stream ref ...