-
... lue_(4) .action_({ arg obj; switch (obj.value, 0, {~riff1.dynamic = Pseq([0.65,0.45], inf)}, 1, {~riff1.dynamic = Pseq([0.65,Pseq([0.45],2)], inf)}, 2, {~riff1.dynamic = Pseq([0.65,Pseq([0.45],3)], inf)}, 3, {~riff1. ...
-
... k.new(90/60).permanent_(true); ( p = Pbind( \instrument, "bassy", \dur, Pseq([ 0.25, Rest(0.5), 0.25, // beat 1 Rest(0.5), 0.25, Rest(0.25), // beat 2 Rest(0.5), 0.5, // beat 3 0.5, 0.5 // beat 4 ], inf), \midinote, ...
-
... ay starts the player ~player = AlgaPatternPlayer(( dur: Pwhite(0.2, 0.7), freq: Pseq([440, 880], inf) )).play; //\dur is not used with a player ~pattern = AP(( def: { SinOsc.ar(\freq.kr + \freq2.kr) * EnvPerc.ar }, freq: ~player[\freq], fre ...
-
... = a.asStream; 9.do({ x.next(Event.new).postln }); ) ( var a, b; a = Pset(\freq, Pseq([401, 801], 2), Pbind(\dur, 0.5)); x = a.asStream; 9.do({ x.next(Event.new).postln }); ) // sound example ( SynthDef(\sinegrain, { |out = 0, freq = 440, su ...
-
... , \default, \scale, Scale.minor, \dur, Pbjorklund2(3, 8) * 0.25, \degree, Pseq([3, 3, 5.1, 4, 4, 6.1, 5.1, 5.1, 7.0, 2.1, 2.1, 2.1], 4), \legato, 0.3 ).play; ~chordtest = Pbind( \instrument, \default, \scale, Scale.minor, ...
-
... ce methods Examples s.boot; a= Pbind(\dur, 1/3, \legato, 0.4, \midinote, PLatch(Pseq([0, 2, 4, 5], inf), Pseq([0, 1, 1, 1, 1], inf)).trace*5+50).play a.stop a= Pbind(\dur, 1/6, \legato, 0.2, \amp, PLatch(PSinOsc(8), PSinOsc(16)).trace*0.5). ...
-
... has been passed down, use Pmul . ( var a, b; a = Pmulpre(\note, 2, Pbind(\note, Pseq([1, 2, 3]))); x = a.asStream; 9.do({ x.next(Event.default).postln }); ) ⧉ ✔ Pmulpre does not override incoming values: ( var a, b; a = Pmulpre(\freq, 801, ...
-
... t(env.levels[0]); ctlpat = Pbind( \instrument, \ctlPoint, \value, Pseq(env.levels[1..],inf), \time, Pseq(env.times,inf) / Pfunc({thisThread.clock.tempo}), \group, Pkey(\busgroup), \outbus, Pfunc { arg ev; ev[bus ...
-
... ount . count = value . embedInStream ( event ) Examples ( var a, b; a = Pfin(5, Pseq(#[1, 2, 3], inf)); b = a.asStream; 9.do({ b.next.postln }); ) // Pfin used as a sequence of pitches ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sus ...
-
... true, any time a rule returns an array of values, the array will be wrapped in Pseq so that the array items are output one by one. This is simply a convenience to avoid writing Pseq(array, 1) in every rule. reuseLevelResults: If true, the ...