-
... [\play]; // the play button // test asStream method - simple endless lookup p = Pbind(\test, x).trace.play; // switch value while playing, pattern gets current value x.value = 1; x.value = 0; p.stop; // test embedInStream method: ( p = Pbin ...
-
... sigr*env; sigl = sigl*env; Out.ar(out, [sigl,sigr]) }).add; ~getPbind = { arg n, amps, durs, freq; ~nums = ~divisors.value(n); r = Pbind(\instrument,\rootsOfUnitySum, \amp,amps, \dur,durs, \freq,freq, \n,Ps ...
-
... oneAction: Done.freeSelf); ) }).add; SynthDescLib.global.read; Pseq([ Ptpar([ 0,Pbind(\instrument,\pattern_Ex, \out, 20, \dur,Pseq([2],16), \root,[-24,-17], \degree,Pseq([0,3,5,7,9,11,5,1],2), \pan,1,\cut,Pxrand([1000,500,2000,300],16), \re ...
-
... , 10], 12, Tuning.new([0, 0.75, 2, 3.5, 4, 5, 6, 7, 8, 9, 10, 11]), "Custom" ); Pbind( \instrument, \help_dwgpluckedstiff, \scale ,a, \delta , Pseq([1,0.5,0.5,0.5,0.5,0.5,0.5,1,0.5,0.5,1,1]*0.25,inf), \dur , 0.9, \degree, Pseq([1,8,8,8,8,8, ...
-
... t two streams combined by a binary operator Source: Stream.sc See also: Event , Pbind Description An EventStreamPlayer is used by Event based Patterns. The EventStreamPlayer holds a stream which returns a series of Events, and a protoEvent. ...
-
... ng); sig = Pan2.ar(sig, pan); Out.ar(out, env*sig * amp) }).add; ) ( Pdef(':)', Pbind( \instrument, \resonator, \out, 0.0, \pan, Pwhite(-1.0,1.0), \dur, Pseg([1,5], 16, \lin, inf ) * 0.125, \sustain, Pwhite(0,0.25) * Pkey(\dur), \degree, Ps ...
-
... 0.1, LinLin.kr(freq,36.midicps,90.midicps,-0.75,0.75))); }).add; ) //Use it. ( Pbind( \instrument, \help_oteypiano, \delta, 1, \dur, 3, \degree, Pseq([1,3,5], inf), \rho, Pwhite(0.1,3) //comment this line to get standard sound ).play; ) ⧉ ...
-
... honic like is generally possible when one uses a SynthDef as an instrument in a Pbind. The code is rather long, but just because is repetitive. One Ndef produces eight channels of sound. A SynthDef take the sounds from the Ndef as inpu ...
-
... t[\delta], event[\slice] * fps].yield; }); }); // return the pattern Pbind(\instrument, \smplr_m3, [\delta, \startPos], rtn, \buf, buf, \rate, Pfunc({ clock.tempo }) / bps, \amp, amp, \dur, Pfunc({ clock.beatDur }) ...
-
... Proxy.new; x.source = Pseq([0, 3, 2], inf); Pset(\instrument, \Pdefhelp, Ppar([ Pbind(\degree, x), Pbind(\degree, x, \dur, 1/3) ]) ).play; ) x.source = Prand([0, 3, [1s, 4]], inf); x.source = Pn(Pshuf([0, 3, 2, 7, 6], 2), inf); // if quant ...