-
... t.ar(0, [snd, snd]); }).add; ) ( Pbind( \instrument, "hihat", \dur, Pseq([1/2, Rest(1/4)], inf), \att, 0.03, \rel, Pseq([0.1, 0.1, 0.1, 0.7], inf), \ffreq, 100, \pan, 0, \amp, 0.02 ).play; Pbind( \instrument, ...
-
... }).add; ) //Use it. ( Pbind( \instrument, \helpStkbowed, \dur , 0.25, \degree, Pseq([1,5,7+3], inf), \amp , Pseq([0.9,0.7,0.5],inf), \bowposition , Pseq([10,20,30,40,50,60],inf) ).play; ) //now a instrument that uses waveforms///////////// ...
-
... (2) / 2), \dur, Prand(#[0.2, 0.5, 1.1, 0.25, 0.15], inf) ); b = Pbind( \degree, Pseq(#[0, 2b, 3], 1), \dur, 2, \ctranspose, -7 ); Pseq([Event.silent(1.25), Ppar([a, b])], inf).play; ) // test tempo changes ( var a, b; a = Pbind( \degree, Ps ...
-
... nstance methods . embedInStream ( event ) Examples ( var a, b; a = Psetp(\freq, Pseq([801, 1008], inf), Pbind(\dur, Pseq([0.5, 0.111, 0.22]))); x = a.asStream; 9.do({ x.next(Event.new).postln }); ) // Psetp overrides incoming values: ( var ...
-
... true) { ~tonal_function_just_changed = false; Pseq([~allowed_lead_degrees[0]], 1).asStream.next; } /* else */ { Pwrand(~allowed_lead_degrees, ~allowed_lead_probabilities, inf). ...
-
... Pwhite(750, 1250), \nyquist, Pwhite(5000, 15000), \rq, Pwhite(0.05, 0.2), \dur, Pseq([Pseq([2, 3, 2], 2), 1]) / 6, \amp, 1 );
-
Pbindef( \sosBell, \instrument, "sosBell", \degree, Pseq([5, 3, 4, 0, 0, 4, 5, 3]), \dur, Pseq([1, 1, 1, 3, 1, 1, 1, 1]) / 1.5, \amp, 0.1 );
-
... eturn something instrument: \default, delta: ev.delta/8, amp: Pseq((0.3..0.8).scramble, inf), octave: self.state.next ]) }, state: Pseq((3..6), inf).asStream // i.e. object attribute ), p2: ( // ...
-
... nce methods . filterEvent ( 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, { ...
-
... ne, \dur, 0.1, \amp, boolnet * 0.3 ); pattern.play ) ( // more complex -- has a Pseq for the boolean operation var boolnet, pattern; boolnet = Pboolnet([ 1, Pseq([\xor, \or, \and], inf), 1, Pseq([\and,\xor,\or], inf), 1, \xor, 1, \and, 1, \ ...