-
... with gaps and overlays ( x = Pbind ( \instrument , \help_sinegrain , \degree , Pn ( Plazy ({ Prand ([0, 4, 5], 16) + 5.rand })) + Prand (#[0, [0, 3], [0, 7]], inf ), \dur , Prand ([0.25, 0.5, 1.0], inf ), \scale , #[0, 3, 5, 9, 10] ); y = ...
-
... hat modify a stream of values: math operators (which render as Punop, Pbinop or Pnaryop patterns) and certain collection methods (mainly collect, select and reject). Filter pattern classes can do some other surprising and useful things. All ...
-
... tronom ).stop; // Pdef can be used in multiple patterns: ( x = Ppar ([ Pbindf ( Pn ( Pdef ( \a ), inf ), \gtranspose , Pstutter (8, Pseq (#[0, 2, 0, 3], inf )) ), Pbindf ( Pn ( Pdef ( \a ), inf ), \gtranspose , Pstutter (8, Pseq (#[7, 4, 0, ...
-
... Pseq (#[rest, 3, 2, 1, 0, -0.9, 0, 1, 2, -3, -1.9, -0.9, 0, -0.9, 0, 1, 2], 1), Pn (4, 16)], inf ), \dur , 0.25 ).play; ) “Multichannel” expansion In a SynthDef, using an array as the input to a UGen expands the UGen into an array of UGens ...
-
... ( \mtranspose ) + Pstutter (8, Prand ([0,[-3,0,2],[0,2,4,6,8,10]], inf )) ] ), Pn ( Pseq ([p, (type: \rest , dur: 0.4)]) ), Pbind (*[ db: Pstep ( Pseq ([-10, -13, -13, -11, -13, -13], inf ), 0.1) - 10, mtranspose: Pstep ( Pwhite (-7, 7), P ...
-
... [0.5, 0.5, 3], inf ) ) ) ) // play directly, emebdded in stream (see Pdef.help) Pn ( Pdef ( \sweep ), 2).play; Pdef ( \sweep ).fork; // play without changing player state (see Pdef.help) // play within a pattern ( Pbind ( \type , \phrase , ...
-
... It's not typical to have an init method populate the instance variables. E.g., Pn : FilterPattern { var <>repeats; *new { arg pattern, repeats= inf ; // setter method used here for repeats ^ super .new(pattern).repeats_(repeats) } ... } Co ...
-
... ends on \dur and \stretch, but may be overridden by specifying \delta directly. Pn ((dur: 2, freq:8000)).play; next(inval) Combines an event given in the argument with the current event. This is used to enable events to be composed. (a: 6, ...
-
... he result. repeat(repeats) Repeatedly embeds the receiver in the stream using a Pn (may thus be used for patterns and other objects alike) loop Indefinitely embeds the receiver in the stream FunctionList The messages addFunc , addFuncTo , r ...