-
... Out .ar(out, Pan2 .ar( SinOsc .ar(freq, 0, env), pan)) }).store; ) Pdef ( \x , Pbind ( \dur , Pn (0.25, 3), \instrument , \gpdef )); Pdef ( \y , Pchain ( Pbind ( \degree , Prand ([5, 9, 0], inf ), \legato , Pseq ([0.3, 2.2], inf )), Pdef ( ...
-
... allows you to access one key in another Pattern, i.e. PatternProxy (e.g. Pdef), Pbind and Pchain. Example s.boot; Pdef ( \one , Pbind ( \degree , Pseq ( (1..7), inf ), \dur , 1, \pan ,-1 ) ); Pdef ( \two , Pbind ( \degree , Pdef ( \one ).at ...
-
... ns and transformation Padd, Pmul, Pset, Pstretch Paddp, Pmulp, Psetp, Pstretchp Pbindf Tutorials | Tutorials > Streams-Patterns-Events'>Streams-Patterns-Events Understanding Streams, Patterns and Events - Part 6 Parallel Patterns See also: ...
-
... on for future reference in arbitrary Environments p = PLswitch1(\a, \w); // run Pbind in current Environment // take PLseq as they already default to repeats = inf ( ~a = [PLseq((85..80)), PLseq((65..70))]; ~w = PLseq([0, 1]); x = Pbind(\mi ...
-
... , Pn (a).trace).play;\ \ Pdef ( \ ).set( \ , nil );\ Pdef ( \ ).set( \ , (pat1: Pbind ( \ , Pseq ([0, 4, 3], 2))));\ Pdef ( \ ).set( \ , (pat1: Pbind ( \ , Pseq ([0, [3, 4], 3], 2), \ , \ )));\ \ (\ Pdef ( \ ).set( \ , (pat1: Ppar ([ \ Pbin ...
-
... a very simple Pattern directly playable: ( // an endless sequence of middle Cs Pbind .new.play ) By adding other bindings, you can override the defaults in the protoEvent. ( // duration 0.25 beats (16th notes) Pbind ( \dur , 0.25 ).play ) ...
-
Pbind: Filter: Description Class methods new Inherited class methods Instance methods patternpairs embedInStream Inherited instance methods Examples SynthDef and Event Rests The Play Method Realtime Control with EventStreamPlayer Additional ...
-
... ts ( // use EventShortcuts EventShortcuts .on; EventShortcuts .postAll; // base Pbind ~x = Pbind ( \d , 0.1, \i , \sin ); // chars for the string, event patterns or events ~a = Pbind ( \m , Pseries (60, 2, 4)) <> ~x ; ~b = Pbind ( \m , Pser ...
-
... select a chord and duration and repeat it for a random time interval p = Pstep( Pbind( \ctranspose, [0, 4, 7], \note, Pwhite(0, 12), \dur, Prand([0.2, 0.4, 0.8], inf) ), Prand([1, 2, 4], inf)/4 ); Ppar([p, p]).play; ) // change degree indep ...
-
... ronment ( ~a = (60, 64..102); ~step = 1; ~start = 70; ~dir = -1; ) // run ( x = Pbind ( \midinote , p + [0, 3], \dur , 0.1, \legato , 1.2 ).play; ) // replace with Patterns // PLx ListPatterns default to repeats = inf ~step = PLrand ([1, 2] ...