-
... // update array ~a = [59, 85]; // update index pattern, used to stop also ~w = Pseq([0, 0, 1], 5); ////////////////////// // placeholder may also get lists of event patterns ( p = PLswitch1(\a, \w); ~a = [ Pbind( \midinote, Pwhite(60, 65), ...
-
... ern Pmono( \pulsedsine, \freq, Pfunc({ |ev| ~animFreq; }), \dur, Pseq([0.1], inf), )); }); )
-
... a.play; a.stop; pattern.play(clock, protoEvent) returns: an EventStreamPlayer ( Pseq ([ Pbind ( \freq , Pn (500, 1)), Pbind ( \dur , Pn (0.1, 1)) ], 2).play; ) Playing single Synths from SynthDefs on the server The following play messages b ...
-
... \decay, 3); r = Pfxb(q, \distort, \pregain, 20, \amp, 0.25); o = Pfxb(r, \wah); Pseq([p, q, r, o], 2).play; ) // test order of effect chain ( SynthDef(\echo, { |out = 0, maxdtime = 0.2, dtime = 0.2, decay = 2, gate = 1| var env, in; env = L ...
-
... ont; // we cannot insert the internal CV in w directly into the Pattern // as a Pseq requires an array. Hence, we split the CV into an array of CVs s.waitForBoot { p = Pbind(\freq, Pseq(w.split, inf)).play }; p.stop; w.close; ⧉ ✔ . size . c ...
-
... nto next , so that Pbind has somewhere to put the values. ( p = Pbind( \degree, Pseq(#[0, 0, 4, 4, 5, 5, 4], 1), \dur, Pseq(#[0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 1], 1) ).asStream; // remember, you have to make a stream out of the pattern before ...
-
... r.convert("1=1="); a = BalunganReader.convert("1'65_3_216."); // play the score Pseq(a).play; // unconvert it back to string b = BalunganReader.unconvert(a); // Above rules can be extended, example // add super-octaves ( // long keys before ...
-
... his tells it which parameters to set \freq, Pwhite(100, 1000), \dur, 0.2, \amp, Pseq((1, 0.99 .. 0.1), inf) ).play; ) p.stop x.free ⧉ ✔ For more details on the \set event type, see its description in Chapter 8, Event Types and Parameters of ...
-
... te (60, 75, 1) + [0, 5, 14, 19, 22], \dur , 0.15 ); ~a[3] = Pbind ( \midinote , Pseq ((90..95)), \dur , 0.05 ); ) // replace whole array ( ~a = [ Pbind ( \midinote , Pwhite (60, 65, 3), \dur , 0.05 ), Pbind ( \midinote , Pwhite (70, 90, 2), ...
-
... ~a.at(\note); ~d.value; ~a = (note: [7.5]); ~d.value; // [7.5] // patterns ~a = Pseq([1, 2, 3]); ~b = Pseq([5, ~a, ~a + 10], inf); ~b.value.asStream.nextN(10); ~a = Prand([100, 200]); ~b.value.asStream.nextN(10); // keyword arguments ~a = { ...