-
... es to random participants: ( Pdef ( \x , Pbind ( \instrument , \xxx , \server , Pfunc { r.servers.choose } .trace, \zzf , Pseq ([8700, 800, 720], inf ), \mod , Pwhite (0.1, 0.7, inf ), \dur , Prand ([0.3, 0.5, Pn (0.04, 5)], inf ) ) ).play ...
-
... , PLseq ([0, 0, 1, 2]), // echo introduces delay, so do delay if no echo \lag , Pfunc { |e| e.fxo.asArray.includes(1).if { 0 }{ 0.2 } }, \a , 0.1, \att , 0.01, \rel , 0.1, \cd , Pkey ( \att )+ Pkey ( \rel ) + 0.001 ); PLbindef ( \echo , \fx ...
-
... t, delta and sustain will have the same value ~sustain = Pkey(\delta); ~synth = Pfunc({ ~objects.keys.choose }); // when you clone, if you need extra preparation, do ~userpreps = ~userpreps.copy.add({ ... }); ~userpreps = List.new; // chuck ...
-
... p Example: Pbind( [\coin, \delta, \dur, \str, \num], Pmini("1 2 3 4"), \degree, Pfunc({ |e| if(e.coin.coin) { e.str.asInteger } { \rest } }), ) */ Pmini { *new { |mini_notation| ^JSMN.pmini(mini_notation) } } // (Pm)ini(b)ind // // example: ...
-
... , \dist, Pseq([0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8], inf), \transFunc, Pfunc({b}); ).collect({arg event; {o.valueAction_(event[\dist])}.defer; event}); }); // end of block
-
... witch1(~drums.collect(_.time), Pkey(\bufIndex)), \instrument, Pdict( ~instrMap, Pfunc { |ev| ev[\bufnum].numChannels }, inf ) ) }, initDrumSelector: { ~drumSelector = Pswitch1( ~drums.collect { |thing| var pd = thing[\postDefaults]; if(pd.n ...
-
... egree, Pseq([0, 1, 2, 3, 4, 5, 6, 7, 6, 5, 4, 3, 2, 1, 0, \rest], inf), \scale, Pfunc({ a }, inf), \dur, 0.25 ); q = p.play; }) ) // change scale a = Scale.phrygian; // change tuning a.tuning_(\just); // can also set tuning at creation time ...
-
... x = 0; starty = 0; baseFreq = 440; Pbind( \instrument, \sine, \amp, 0.3, \freq, Pfunc({ var starts, result; orientation = orientation.not; starts = dia.d2Pivot(startx, starty, orientation); startx = starts.first; starty = starts.last; resul ...
-
... 0, \sustain, Pdefn(\sStream_lvSustain), \scale, Pdefn(\sStream_lvScale), \note, Pfunc({|ev| switch(lvPitchesOnButtonSpec.map(lvPitchesOnButtonElement.value).asInteger, 0, {ev.note.nearestInScale(ev.scale)}, //off 1, {ev.pitches}, //on 2, {[ ...
-
... c and: {cable.outlet.spec.notNil}, { stream = streamable.asStream; streamable = Pfunc({ arg inval; var v; v = stream.next(inval); cable.map(v) }, { stream.reset }); }); jack.source = streamable.debug("set stream"); ~connected = true; }; MxC ...