-
... yDigits(16)/10 // a metronome Pbindef(\tmetro, \dur, 1, \legato, 0.01, \note, Pseq([36,30,30,30], inf), \amp, 0.5).play(t, quant:4) // very useful syntax, create a new random rhythm every four bars Pbindef(\z, \buf, Pn(Plazy({Pseq({~buf ...
-
... (\instrument, "hihat", \dur, 0.5,); ~saw= Pbind(\instrument, "sawSynth", \dur, Pseq([1, 2,3,0.5]), \rel, 1,); ~kick= Pbind(\instrument, "kick", \dur, .1); ~snare= Pbind(\instrument, "snare", \dur, 1/2); ~pluck=Pbind(\instrument, "plucki ...
-
... octave: 3, amp: 0.4, dur: 3.0, scale: Scale.minor, degree: Pseq([7, 6, 2, 3, 5], inf), legato: 1.1 ]).play; ) // contributors so far: nathan ho
-
... //play the digits Pbind( \instrument, \digitsplayer, \freq, Pseq(digits.mirror2+60).midicps, \cutoff, 500*(a+1), \dur, 0.1 ).play; 0.8.wait; //play greatest and smallest if (smallest < 15 ...
-
... onthBuf.dopostln; //-----Play----- Pbind(*[instrument: \bufPlay2, bufnum: Pseq(monthBuf), dur: seconds, sustain: Pkey(\dur), amp: 1]).trace.play; //-----Clean Up------ CmdPeriod.doOnce{monthBuf.do{|buf, i| buf.free}}; }.fork )
-
... sampler, \grain_sampler], inf), \scale, Scale.major, \octave, 4, \degree, Pseq([1,2,3,4,5,6,7,8]-1, inf), \amp, Pwhite(0.3, 0.5, inf), \dur, 1, \atk, 0.01, \rel, 0.1, \legato, 1, \out, 0, \pan, Pwhite(-0.2, 0.2, inf) ); ...
-
... ern Pmono( \pulsedsine, \freq, Pfunc({ |ev| ~animFreq; }), \dur, Pseq([0.1], inf), )); }); )
-
... rn in sync with server tempo grid (Pdef(\t, Pbind(*[ degree:Pseries(), delta: Pseq(1!10), dur:1 ])).play(~g.clock, quant:[1,0.5])) // default quant: i.e. on first 1.5 beat Pdef(\t).stop; (Pdef(\tt, Pbind(*[ // grid degree:Pseries() ...
-
... _speed,5,\lfo_amp,0.05]); ( b = Pbind( \instrument,\fm7_timpani, \note, Pseq([48, 55, 60, 67, 72, 79], inf), \sustain,2, \release,0.5, \pan,Pwhite(-1.0,1.0,inf), \lfo_amp,0, \dur, 0.5, \amp, 0.5 ).play; ) b.stop;
-
... [2, 1, 1/2, 1/4, 1/8, 1/16, 1/32, 1/3, 1/6, 1/12].choose*~time, \degree, Pseq(~rseq.value, inf), \octave, [2, 3, 4, 5, 6].choose, \type, Pfunc({[\note, \note, \rest].choose}), \verb, rrand(0.05, 0.8), \rel ...