-
... ernN); //examples // comparing PstepNadd and Pstep3add (test) ( x = PstepNadd ( Pseq ([1, 2, 3]), Pseq ([10, 20, 30, 40]), Pseq ([100, 200, 300])).asStream; y = Pstep3add ( Pseq ([1, 2, 3]), Pseq ([10, 20, 30, 40]), Pseq ([100, 200, 300])). ...
-
... .4, Pfsm ([ #[0, 3, 1], // starting places PmonoArtic ( \sawpulse , \midinote , Pseq ([78, 81, 78, 76, 78, 76, 72, 71, 69, 66], 1), \dur , Pseq (#[0.25, 1.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25], 1), \sustain , Pseq (#[0.3, 1.2, ...
-
... patternList); //examples ( f = { arg vals; vals.postln; }; x = PstepNfunc (f, [ Pseq ([1, 2, 3]), Pseq ([4, 5, 6]), Pseq ([7, 8, 9]) ]).asStream; 50.do({ x.next }); ) ( f = { arg vals; var r; r = vals.copy.removeAt(0); vals.do({ arg item; r ...
-
... when all of its subpatterns are done. ( Ppar ([ Pbind ( \dur , 0.2, \midinote , Pseq ([62, 65, 69, 72], inf )), Pbind ( \dur , 0.4, \midinote , Pseq ([50, 45], inf )) ]).play ) ( // Ppars can be nested Ppar ([ Pbind ( \dur , Prand ([0.2, 0. ...
-
... see also The pitch model below Pbind ( \dur , 0.125, \legato , 0.2, \midinote , Pseq (#[60, 62, 64, 65, 67, 69, 71, 72], inf ) ).play ) ~finish Event.default contains a function bound to the Symbol 'finish' which is called for each new even ...
-
... e meaning varies from subclass to subclass. The default value for repeats is 1. Pseq is a Pattern that cycles over a list of values. The repeats variable gives the number of times to repeat the entire list. ///////////////////////////////// ...
-
Pseq sequentially embed values in a list superclass: ListPattern cycles over a list of values. The repeats variable gives the number of times to repeat the entire list. Pseq(list, repeats, offset) ( var a, b; a = Pseq ([1, 2, 3], 2); // rep ...
-
... ato , 0.1); a.source = Pbind ( \instrument , \Pdefhelp , \dur , 0.25, \degree , Pseq (#[0, 5, 4, 3])); b.source = Pbind ( \instrument , \Pdefhelp , \dur , 0.125, \degree , Pseq (#[7, 8, 7, 8])); c.source = Pbind ( \instrument , \Pdefhelp , ...
-
... negrain ); // this pattern has indetermined length: a = Prand ([ Pbind ( \dur , Pseq ([0.02, 0.002, 0.1, 0.1],2), \degree , Pseq ([9, 7, 5], inf ), \instrument , \help_sinegrain ), Pbind ( \dur , Pseq ([1, 0.35],2), \degree , Pseq ([0, [2b, ...
-
... playing ( Pchain ( Ppar ([ Pbind ( \degree , Pbrown (0, 12, 1), \dur , Pstep ( Pseq ([0.1, 0.2, 0.4, 0.8, 1.6], inf ), 3.2) ), Pbind ( \degree , Pbrown (0, 20, 1), \dur , Pstep ( Pseq ([0.1, 0.2, 0.4, 0.8, 1.6], inf ), 4.5) ) ]), Pbind ( \ ...