-
... okenspiel ( Pbind( \instrument, \bell, \fs, Pseq( (60..20), inf).midicps, \t60, Pwhite(1, 100), \dur, 1 ).play; ) // xilophone ( Pbind( \instrument, \bell, \fs, Pseq( (80..92), 1).midicps, \t60, 1, \pitchy, 1, \dur, 0.25 ).play; ) // marimb ...
-
... a - data.mean }, argPairs: { |thisVC| Pbind( \ratios, (BPStream(\ratioBase) + ( Pwhite( thisVC.v.globalControls[\pRandWidth].asPattern.neg, thisVC.v.globalControls[\pRandWidth].asPattern, inf ) * Pn(Pgeom.fromEndpoints(0.05, 1, 5), inf) ).c ...
-
... rand ((60..80), inf ) ), bufSize: 10, lookBack: Pseq ([ Pn (0, 7), Pstutter (4, Pwhite (3, 5, 1))], inf ).trace, indices: Pseq ([1!2, { |l| (l-1..0).postln }], inf ).trace ).trace.play ) p.stop Ex. 4a: loopFunc given as Function // a Functi ...
-
... , step, direction, start, cutItems, envir] } } ////////////////////// PLwhite : Pwhite { var <>envir; *new { |lo = 0.0, hi = 1.0, length = inf, envir = \current| ^super.new(PL(lo, 1, inf, envir), PL(hi, 1, inf, envir), PL(length, length, 1, ...
-
... (interval))+1; var nY =(drawRect.height*0.6); var slots = Pseed(randomSeed+119, Pwhite(0, nY, n)).asStream.nextN(n); Pen.width= penWidth; nY.do{|k| x=drawRect.left; n.do{|i| Pen.line(Point(x,y-slots.at(i)),Point(x,y+slots.at(i))); x=x+inter ...
-
... ch or SynthDef ~objects = ( default: (def: \default, args: [ freq: PdegreeToKey(Pwhite(35, 50, inf), #[0, 2, 4, 5, 7, 9, 11], 12).midicps ]) ); // support code follows ~makeSynthDefs = { ~objects = ~objects.value; ~objects.keysValuesDo({ |i ...
-
... ch or SynthDef ~objects = ( default: (def: \default, args: [ freq: PdegreeToKey(Pwhite(35, 50, inf), #[0, 2, 4, 5, 7, 9, 11], 12).midicps ]) ); // support code follows ~makeSynthDefs = { ~objects = ~objects.value; ~objects.keysValuesDo({ |i ...
-
... bounds \rel , Pfunc { ~rel.choose }, // short and long release time \soundMix , Pwhite (0.1, 0.9), \indexLR , PLrand ([0, 1]) ); ) ( // in GUI start control synth before EventStreamPlayer // then try playing with sliders and pausing / resum ...
-
... ver")*/; // generators may now have a {} pair before the arg list // e.g. \ser*{Pwhite(1,4,inf)}(...) ch.notNil and: { allowedBrackets.includes(ch).not } }; // ch.debug("clParseGeneratorBrackets got"); \clParseBracketed.eval(code, ch, true) ...
-
... ) PR(\clGenIns).clone { ~distributions = IdentityDictionary[ \lin -> { |lo, hi| Pwhite(lo, hi, inf) }, \exp -> { |lo, hi| Pexprand(lo, hi, inf) }, // "exponential beta": beta distribution weighted toward low values (for rhythm) \expb -> { | ...