-
... e also: Pn Examples // Pn advances Pgate each time its subpattern is repeated ( Pbind ( \degree , Pn ( Pseq ((0..7)), inf , \step ), \mtranspose , Pgate ( Pwhite (0,5), inf , \step ), \dur , 0.2 ).play ) // Two different Pgates advanced at ...
-
... phrases in the next tutorial. Some of the patterns will be demonstrated with a Pbind construct. This is a taste of things to come -- sequencing sonic events using patterns. Don't worry about how Pbind works just yet... all in good time. Le ...
-
Pbindef incremental event pattern reference definition superclass: Pdef Pbindef keeps a reference to a Pbind in which single keys can be replaced, combining PbindProxy and Pdef . It plays on when the old stream ended and a new stream is set ...
-
... tepsPerOctave the number of steps per octave in the scale. The default is 12. ( Pbind ( \note , PdegreeToKey ( Pseq ([1, 2, 3, 2, 5, 4, 3, 4, 2, 1], 2), #[0, 2, 3, 6, 7, 9], 12 ), \dur , 0.25 ).play; ) ( var scales; scales = #[[0, 2, 3, 6, ...
-
... to exactly 4 beats. The Pfindur ("finite duration") pattern cuts off the inner Pbind after 4 beats. This would stop the pattern, except Pn repeats the Pfindur infinitely, placing the accent in the right place every time. The loop actually ...
-
... ction: 1).yield; ~sControl = [ \set , ~synth[ \id ], ~synth[ \msgFunc ] ]; }, [ Pbind (*[ #[type, id, msgFunc], Pkey ( \fControl ), freq: Pseg ([0,1], 10).linexp(0,1, 0.1, 1000), index: Pseg ([0,1], 10).linexp(0,1, 0.1, 100), dur: 0.1, ]), ...
-
... ream until the duration comes close enough to dur . ( var a, b; a = Pfindur (5, Pbind ( \dur , Prand ([1, 2, 0.5, 0.1], inf ))); x = a.asStream; 9.do({ x.next( Event .default).postln; }); ) Pfindur used as a sequence of pitches ( SynthDef ( ...
-
... nds. see also: Pmulp , Padd ( 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 , { arg out=0, freq=440, ...
-
... nds. see also: Pmul , Paddp ( var a, b; a = Pmulp (\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 , { arg out=0, freq=440, ...
-
... = Pseq ([ Pn ( true ,10), Prand ([ true , false ], 10)], inf ).asStream; pat = Pbind ( \freq , Pseq ([200, [300, 302], 400, 450], inf ), \dur , 0.3); clutch = StreamClutch (pat, decicion); clutch.asEventStreamPlayer.play; ) // independant ...