-
... ocumented instance methods . embedInStream ( event ) Examples ( a = Psubdivide( Pseq(#[1,1,1,1,1,2,2,2,2,2,0,1,3,4,0], inf), Pseq(#[0.5, 1, 2, 0.25, 0.25], inf) ); x = a.asStream; 100.do({ x.next.postln }); ) ( SynthDef(\help_sinegrain, { | ...
-
... . Pbindef inherits most methods from Pdef . Overview: JITLib Pbindef(\x, \note, Pseq([0, 7, 9]), \dur, 0.2).play; ⧉ ✔ It also supports keyword argument syntax: Pbindef(\x, note: Pseq([0, 7, 9]), dur: 0.2).play; ⧉ ✔ Class Methods Pbindef. ne ...
-
... cTree.sorted(110, 8, 3); RedHarmonicTree.sorted(110, 8, 3); s.boot Pbind(\freq, Pseq(RedHarmonicTree.sorted(110, 8, 3).postln), \dur, 0.125).play Pbind(\freq, Pseq(RedHarmonicTree.sorted(110, 8, 3).postln), \dur, 0.125).play Pbind(\freq, Ps ...
-
... ttern ) Instance Methods Inherited instance methods Examples ( a = PdurStutter( Pseq(#[1,1,1,1,1,2,2,2,2,2,0,1,3,4,0], inf), Pseq(#[0.5, 1, 2, 0.25, 0.25], inf) ); x = a.asStream; 100.do({ x.next.postln }); ) ( SynthDef(\help_sinegrain, { | ...
-
... tream ( inval ) . patterns . patterns = value Examples ( Pchain( Pbind(\detune, Pseq([-30, 0, 40], inf), \dur, Prand([0.2, 0.4], inf)), Pbind(\degree, Pseq([1, 2, 3], inf), \dur, 1) ).trace.play; ) // also events can be used directly: ( Pch ...
-
... _sinegrain ); // this pattern has indetermined length: a = Prand([ Pbind( \dur, Pseq([0.02, 0.002, 0.1, 0.1], 2), \degree, Pseq([9, 7, 5], inf), \instrument, \help_sinegrain ), Pbind( \dur, Pseq([1, 0.35], 2), \degree, Pseq([0, [2b, 5b]], i ...
-
... guments to Pbind are an alternating sequence of keys and patterns. Pbind(\note, Pseq([0, 4, 7]), \amp, 0.1, \dur, 0.2).play ⧉ ✔ The message new converts keyword arguments into key value pairs, so that we can write: Pbind(note: Pseq([0, 4, 7 ...
-
... inval ) . list . list = value . which . which = value Examples ( var a, b; a = Pseq([1, 2, 3], 2); b = Pseq([65, 76]); c = Pswitch([a, b, 800], Pseq([2, 2, 0, 1], inf)); x = c.asStream; 24.do({ x.next.postln }); ) // Pswitch used as a sequ ...
-
... ndocumented instance methods . embedInStream ( inval ) Examples ( var a, b; a = Pseq([1, 2, 3], inf); b = Pseq([65, 76], inf); c = Pswitch1([a, b, 800], Pseq([2, 2, 0, 1], inf)); x = c.asStream; 24.do({ x.next.postln }); ) // Pswitch used a ...
-
... ault is supplied then one will get a runtime error. ( p = Pdfsm( [ ( // state 0 Pseq([\foo, \bar], 2), // foobar signals \foo : [1, Pseq([0, 1], 2)] ), ( // state 1 \bar : [0, 3] ) ], 0, 2 ).asStream; 11.do({ p.next.postln }); ) ( SynthDef( ...