-
Understanding Streams, Patterns and Events - Part 5 More about the default Event protoEvents The protoEvent contains default values for many useful parameters. The default protoEvent is Event.default. It provides default bindings for durati ...
-
... pulse .ar(~tempo.kr), [501, 500], 1/~tempo.kr) * 0.3 }; p.clock.tempo = 1.3; // patterns and tasks are synchronized: ~out2.play; ~out2 = Pbind ( \dur , 1, \note , Pwhite (0, 7, inf )); p.clock.tempo = 3; p.clock.tempo = 1;
-
Ptime derive relative time superclass: Pattern returns time in beats from moment of embedding in stream Ptime(repeats) ( a = Ptime .new; x = a.asStream; ) x.next; x.next; x.next; // post time in a playing event stream ( Pbind ( \pfunc , Pti ...
-
Pslide slide over a list of values and embed them superclass: ListPatterns Pslide(list, repeats, length, step, start, wrapAtEnd) repeats : number of segments length : length of each segment step : how far to step the start of each segment f ...
-
Pgbrown geometric brownian motion pattern superclass: Pbrown Pgbrown(lo, hi, step, length) Returns a stream that behaves like a geometric brownian motion. lo, hi - lower and upper boundary of values (default: 0.0 and 1.0) step - maximum mul ...
-
Plprand random values that tend toward lo superclass: Pattern Plprand(lo, hi, length) lo, hi lower and upper boundary of values (default: 0.0 and 1.0) length number of values produced (default: inf) // example ( var a, c, w; a = Plprand (0. ...
-
Phprand random values that tend toward hi superclass: Pattern Phprand(lo, hi, length) lo, hi lower and upper boundary of values (default: 0.0 and 1.0) length number of values produced (default: inf) // example ( var a, c, w; a = Phprand (0. ...
-
Pmeanrand random values that tend toward ((lo + hi) / 2) superclass: Pattern Pmeanrand(lo, hi, length) lo, hi lower and upper boundary of values (default: 0.0 and 1.0) length number of values produced (default: inf) // example ( var a, c, w ...
-
Pwhite random values with uniform distribution superclass: Pattern Pwhite(lo, hi, length) lo, hi lower and upper boundary of values (default: 0.0 and 1.0) length number of values produced (default: inf) // example ( var a; a = Pwhite (0.0, ...
-
... 0, 500) } ! b.numFrames); b.getn(0, b.numFrames, { |x| x.postln }) ( { var indexPattern; indexPattern = Dseq ([ Dseq ([0, 3, 5, 0, 3, 7, 0, 5, 9], 3), Dbrown (0, 23, 1, 5)], inf ); SinOsc .ar( Demand .kr( Dust .kr(10), 0, Dbufrd (b, indexPa ...