-
... mpo = 84/60; p = Pbind ( \scale , #[0, 2, 3, 5, 7, 8, 10], \root , 2, \degree , Pseq (#[rest, 4, 3, 4, 2, 4, 1, 4, 0, 4, -0.9, 4, 0, 4, 1, 4, 2, 4, -3, 4, -1.9, 4, -0.9, 4, 0, 4, -0.9, 4, 0, 4, 1, 4, 2], 1), \dur , 0.25 ).play; ) ( p = Pbin ...
-
... .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); // to do : flop! ////// ...
-
... ot visible to the outside world as a pattern in itself; only its values appear. Pseq ([ Pwhite (0, 9, 5), Pwhite (10, 19, 5)], 1).asStream.all; When using Pspawn, a sub pattern must be returned directly into the event. To accomplish this, e ...
-
... esn't go above 4.0 p = Pn ( Pbind ( // always a low C on the downbeat \degree , Pseq ([-7, Pwhite (0, 11, inf )], 1), \dur , Pconst (4, Pwhite (1, 4, inf ) * 0.25) ), inf ).play; p.stop; p = Pn ( Pfindur (4, Pbind ( \degree , Pseq ([-7, Pwh ...
-
... hose parameters we'll be setting \freq , Pwhite (100, 1000), \dur , 0.2, \amp , Pseq ((1,0.99 .. 0.1), inf ) ).play; ) p.stop x.free SynthDef variant support SynthDefs allow alternate sets of default values to be defined (see "Variants" in ...
-
... , 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 , { arg out=0, maxdtime=0.2, dtime=0.2, decay=2, gate=1; var env, in; env = Line ...
-
... none are given, all instance variables are tested (see also: instVarHash ) a = Pseq ([1, 2, 3], inf ); b = Pseq ([100, 200, 300], inf ); a.compareObject(b, [ \repeats ]); // true a.compareObject(b, [ \list ]); // false hash Answer a code u ...
-
... { MouseX .kr(100, 5500, 1) }; ( b.source = Pbind ( \instrument , \who , \freq , Pseq ([600, 350, 300], inf ), \legato , 0.1, \ffreq , Pseq ([c, 100, c, 100, 300, 600], inf ), // use proxy in a pattern \dur , Pseq ([1, 0.5, 0.75, 0.25] * 0.4 ...
-
... 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 ...
-
... ample operations on lists of notes which contain 'rest's to preserve the rests. Pseq ([1, 3, \rest , 2, 4] + 8); applyTo(firstArg ... args) Use the symbol as a method selector and perform the message on firstArg , with args as arguments. Th ...