-
... lay; ) ( Task { 5.do { x.advance(1); 2.0.rand.wait; } }.play; ) x.advance(8.1); Pbind ( \degree , Pseries (0, 2, 8), \dur , 0.25).play(x); ( Task { 5.do { x.advance(0.20); 1.0.wait; } }.play; )
-
... ) }).add; ( instrument: \multi, freq: [ [500, 501, 700] ], sustain: 2).play ) ( Pbind (*[ instrument: \multi , freq: Prand ([ [[100, 141, 103] ], [[100, 310, 190] ], [[100, 100.1, 110] ], ], inf ), dur: 0.2, sustain: 0.3 ]).play; )
-
... .kr(env, gate, doneAction:2)), Rand (-1.0, 1.0)) ) }).add; ) ~out.play; ~out = Pbind ( \instrument , \who , \freq , [600, 601], \ffreq , 800, \legato , 0.02); // embed a control node proxy into an event pattern: // this does not work for i ...
-
... 11, 212, 213, 214, 221, 222, 223, 224, 231, 232, 233, 234, nil ] Sound example: Pbind ( \dur , 0.17, \degree , Pwhite (0, 6) +.x Pseq ([[0, 2, 4], 1, [0, 2], 3])).trace.play
-
... Env as a pattern. Adding values into event patterns (Or, "Pattern Composition") Pbindf(pattern, pairs): Adds new key-value pairs onto a pre-existing Pbind-style pattern. Pchain(patterns): Chains separate Pbind-style patterns together, so th ...
-
... ef ( "Help-SynthDef" , { arg out=0; Out .ar(out, PinkNoise .ar(0.1)) }).play; ) Pbind ( \degree , Pseq ([0, 1, 2, 3], inf )).play; // Pattern Polymorphism allows you to write code that does not assume anything about the implementation of an ...
-
... ave a softSet method, which // forwards softPut to their envirs: Pdef ( \test , Pbind ( \degree , Pseq ((0..7), inf ))).play; Pdef ( \test ).set( \amp , 0.03) Pdef ( \test ).envir.softPut( \amp , 0.06); // no, too big Pdef ( \test ).envir.s ...
-
... q ([1, 1, 1, 0.5, 0.5], inf )); ( Pset ( \instrument , \pdef_grainlet , Ppar ([ Pbind ( \dur , Tdef ( \z ), \note , Pseq ([1, 3, 2, 1, 0], inf ), \x , Pfunc { TempoClock .default.elapsedBeats.postln } // posts the onset times ), Pbind ( \du ...
-
... p Using patterns for sending midi events MIDIClient .init; m = MIDIOut (0); a = Pbind ( \degree , Prand ([1, 2, 3, [0, 5]], inf ), \bend , Pwhite (0, 76, inf )); // chain a midi event into the pattern and play it (see Pchain ) (a <> (type: ...
-
... Ringz .ar( Impulse .ar(~tempo.kr), 600, 0.05).dup }; // impulse uses tempo ~x = Pbind ( \instrument , \default , \freq , Pseq ([300, 400], inf )); // pattern uses tempoclock p.clock.tempo = 1.0; // set the tempo to 1 p.clock.tempo = 2.2; // ...