-
... 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 ...
-
... ventShortcuts .postAll // play an Event with midinote 70 (m: 70).play // play a Pbind ( Pbind ( \m , Pwhite (60, 90, 20) + [0, -7], // midinote \p , Pwhite (-1.0, 1), // pan \l , 3, // legato \s , 0.1, // strum \d , 0.5 // dur ).play ) // d ...
-
... 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 ...
-
... h ( \help_sinegrain , [ \freq , a * 200 + 300].postln); 0.5.wait; } }.fork; ) ( Pbind ( \dur , 0.01, \instrument , \help_sinegrain , \note , Pn ( Punop ( \sqrt , Pseries (0, 1, 12))) ).play; ) // these are the same as: ( var a; a = Pn ( Pse ...
-
... 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 ...
-
(\ t = ClockProxy ( TempoClock .default);\ s.boot;\ );\ \ Pbind ( \ , \ , \ , 0.1, \ , 0.25, \ , 679).play(t);\ \ \ t.clock = TempoClock (2).permanent_( true );\ u = t.clock;\ \ t.clock = TempoClock (0.42).permanent_( true );\ u.stop;
-
... nt ( event , val ) Examples ( var a, b; a = Paddp(\freq, Pseq([2, 3, pi], inf), Pbind(\freq, Pseq([100, 200, 300]))); x = a.asStream; 9.do({ x.next(Event.new).postln }); ) ⧉ ✔ // sound example ( SynthDef(\sinegrain, { |out = 0, freq = 440, ...
-
... ); 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 ...
-
... d class methods Instance Methods Inherited instance methods Examples s.boot; a= Pbind(\dur, 1/3, \legato, 0.4, \freq, PMouseX(400, 800, 1).trace).play a.stop a= Pbind(\dur, 1/6, \legato, 0.2, \amp, PMouseX(0, 0.5, 0).trace).play a.stop ⧉ ✔ ...