-
... 400]) }; ~f = { MouseX.kr(100, 1000, 1) * LFNoise1.kr(7, 0.1, 1) }; ( ~c = Pbind( \instrument, \lc, \freq, Pseq([1, 3, 19, 2, 45, ~f], inf), \min, 200, \max, 300, \dur, 1/3 ); ) ( ~form = Pbind( \instrume ...
-
... 1])%d); if ((b[i]==1)&&(b[i-1]==0), {d=d+2}); i=i+1; }); d.postln; ) ( Pbind( \instrument, \puls, \out, 0, //array a plays in left channel \dur, 0.1, \freq, Pseq((1+a)*30) //steps of 30Hz ).play; Pbind( \instrumen ...
-
... p1: ( // some object fn: { |self, ev| // recieve self and some args Pbind(*[ // return something instrument: \default, delta: ev.delta/8, amp: Pseq((0.3..0.8).scramble, inf), octave: self.state.next ...
-
... open file for SCMIR b = Buffer.read(Server.default, ~file); // buffer for the Pbind {e.extractFeatures()}.fork; // extract features before creating similarityMatrix m = e.similarityMatrix(unit:10, metric:2); // create similarityMatrix ...
-
... ); sig = sig * env * 2; Out.ar(out, sig); }).add; ); ( Pdef(~name, Pbind( \instrument, ~name, \freq, Pseq([8,4,2,4],inf) * Pwhite(0.9,1.3), \detune, 7, \minBpfHz, 0.01, \maxBpfHz, Pwhite(0.1,76), \minRq, 0.003, \m ...
-
... ternal, channels * bus, out, zoom:1/4).toggleSize }.defer; }, Pspawn( Pbind(*[ // or maybe ppar for independent partition method: \par, tag: Pwrand([\break,\steady,\transit], [1,3,1].normalizeSum, inf), // part tag - Pf ...
-
... sine wave tone { SinOsc.ar(440, 0, 0.2) }.play; // Simple repeating beat ( Pbind( \instrument, \perc, \dur, 0.5, \freq, 200 ).play; )
-
... ; //Basic Patterns var hat = {|beatsPerMeasure = 9, freqArrayMult = 1| Pbind(*[instrument: \Sinusoid, amp: hatAmp, group: sourceGroup, dur: Pseq([bar / beatsPerMeasure], beatsPerMeasure), freqArrayMult: Pxrand((1..12), ...
-
... /////////////////////// // Silly formant synthesis example. // Using Pmono or Pbind to create a voice. // SynthDef is hardwired to bass formants. // Evaluate SynthDef first, then scroll down for examples ( // SynthDef SynthDef("s ...
-
... as soon as you release the keys ~n.table.clear */ } ); right = Pbind( \instrument, \default, \midinote, Pseq(~n.seq( [ 0, 2, 1, 2] ++ (([ 0, 2, 1, 2] + 12)!2).flatten )), \dur, 2*Pseq([1, 1, 1, 1, 0.5, 0.5, ...