-
... or.poll * 4, nil], 1), \amp, amp.poll, \instrument, instr1 ); }; Pseq([ // head Ppar([ makeBass.value(1, bamp), makeHead.value(instr1, 1, jamp), makeHead.value(instr2, 1, mcamp) ]), // john Ppar([ makeBass.value(1, bamp), makeSolo.value(ins ...
-
PparSwitch : Pswitch { var <>accum; *new { arg list, which = 0, accum = false; ^super.new(list, which).accum_(accum) } // a convenient implementation, using Ppar. // could be more effective, but this is easy. embedInStream { arg inval; var ...
-
... ind ( \ , Pseq ([0, [3, 4], 3], 2), \ , \ )));\ \ (\ Pdef ( \ ).set( \ , (pat1: Ppar ([ \ Pbind ( 'degree' , Pseq ([ 0, [ 3, 4 ], 3 ], 2), 'instrument' , 'sine' ), \ Pbind ( 'degree' , Pseq ([ 0, [ 3, 4 ], 3 ], inf ), \ , 0.34, 'instrument' ...
-
... Pbind ( \instrument , \sine , \freq , 440, \dur , 0.2, \amp , boolnet * 0.1 ); Ppar ([ pattern1, pattern2 ]).play ) ( // use a boolnet with a Pmulp and a Paddp to make meoldies and rhythms var boolnet, pattern1, pattern2; boolnet = Pboolne ...
-
... flop[0].indexOf(\instrument)] = newArr; }, { arr = [newArr] ++ arr; }); ^arr; } ppar {arg repeats=inf; ^Ppar(this, repeats); } presetToNdefCS {var key, source, extraArgs; var result; key = this[0]; source = this[1]; if(this.size < 3, { resu ...
-
... you can use numbers from 0-15 ~dirt.audioRoutingBusses.at(7).scope; ( Pdef(\x, Ppar([ Pbind( \type, \dirt, \s, \cr, // play a crash \to, 7, // map it to bus number 7 \pan, 0, \dur, 1/Pseq([1, 3, 2, 1], inf) ), Pbind( \type, \dirt, \s, \imp ...
-
... dex| resultArr[index][0] = item; }; }); }); ^resultArr; } } + Collection { arrToPpar {arg repeats=1, extraArgs; var pbinds, pbindCont; this.do{|item, index| pbindCont = [ instrument: item[0], dur: Pseq( item[1], repeats ), chan: Pseq( item[ ...
-
... 2, 1, 2, 2, 1/2], inf), \room, Pwrand([0, 0.8], [0.9, 0.1], inf), ) ); Pdef(\y, Ppar([Pdef(\x), Pdef(\x)])).play ) ( Pdef(\x, Ppar([ Pbind( \type, \dirt, \s, Pwrand([\hh, \cr, \ho], [2, 1, 1].normalizeSum, inf), \cut, Prand([0, 1, 2], inf), ...
-
... event pattern returns a zero delta. Exercise caution when using PnNilSafe with Ppar or Ptpar, for instance, or to play chords using zero deltas. // early termination example p = Pn ( Plazy ({ Pshuf ((1..4), 1) }), inf ).asStream; p.nextN(1 ...
-
... event pattern returns a zero delta. Exercise caution when using PnNilSafe with Ppar or Ptpar, for instance, or to play chords using zero deltas. // early termination example p = Pn ( Plazy ({ Pshuf ((1..4), 1) }), inf ).asStream; p.nextN(1 ...