-
... nstance methods . embedInStream ( event ) Examples ( var a, b; a = Psetp(\freq, Pseq([801, 1008], inf), Pbind(\dur, Pseq([0.5, 0.111, 0.22]))); x = a.asStream; 9.do({ x.next(Event.new).postln }); ) // Psetp overrides incoming values: ( var ...
-
... nce methods . filterEvent ( event , val ) Examples ( var a, b; a = Paddp(\freq, Pseq([2, 3, pi], inf), Pbind(\freq, Pseq([100, 200, 300]))); x = a.asStream; 9.do({ x.next(Event.new).postln }); ) ⧉ ✔ // sound example ( SynthDef(\sinegrain, { ...
-
... ne, \dur, 0.1, \amp, boolnet * 0.3 ); pattern.play ) ( // more complex -- has a Pseq for the boolean operation var boolnet, pattern; boolnet = Pboolnet([ 1, Pseq([\xor, \or, \and], inf), 1, Pseq([\and,\xor,\or], inf), 1, \xor, 1, \and, 1, \ ...
-
... e methods Examples s.boot; a= Pbind(\dur, 1/3, \legato, 0.4, \midinote, PInRect(Pseq([0, 2, 4, 5], inf), Pseq([0, 1, 2], inf), Rect(2, 2, 4, 4)).trace*5+50).play a.stop a= Pbind(\dur, 1/6, \legato, 0.2, \amp, PInRect(5, 5, Pseq([Rect(0, 0, ...
-
... nce methods . filterEvent ( event , val ) Examples ( var a, b; a = Pmulp(\freq, Pseq([2, 3, pi], inf), Pbind(\freq, Pseq([100, 200, 300]))); x = a.asStream; 9.do({ x.next(Event.new).postln }); ) ⧉ ✔ // sound example ( SynthDef(\sinegrain, { ...
-
... 10, 11]), "Custom" ); Pbind( \instrument, \help_dwgplucked, \scale ,a, \delta , Pseq([1,0.5,0.5,0.5,0.5,0.5,0.5,1,0.5,0.5,1,1]*0.25,inf), \dur , 2, \degree, Pseq([1,8,8,8,8,8,8,-6,Prand([9,10,11],1),1,7,8]-8, inf), \amp , Pwhite(0.2,0.8), \ ...
-
... .03, 2); OffsetOut.ar(out, Pan2.ar(z, pan, amp)); }, [\ir]).add; ) Pdefn(\mind, Pseq([1, 0, 1, 1, 0, 1], inf)); ( Pdef(\x, Pbind( \amp, Pmindread(Pdefn(\mind)) * 0.1, \note, -1, \dur, 0.2 ) ).play ) ( Pdef(\y, Pbind( \amp, Pmindread(Pdefn(\ ...
-
... proportion = value Examples // divide 1 into various proportions ( a = Prorate(Pseq([0.35, 0.5, 0.8]), 1); x = a.asStream; x.nextN(8) ) // divide a pattern into various proportions ( a = Prorate(Pseq([0.35, 0.5, 0.8]), Prand([20, 1], inf)) ...
-
... mpoClock(140/60); RedMst.quant= 8; RedMstGUI(20); RedTrk( \bass, Pbind(\degree, Pseq([0, 5], inf), \octave, 4), #[0, 1, 2, 3] ); RedTrk( \melody, Pbind(\degree, Pseq([0, 5, 2, 3, 3, 1], inf), \dur, Pseq([0.25, 0.25, 0.5], inf)), #[1, 2, 5] ...
-
... ses | Streams-Patterns-Events > Patterns'>Patterns > Patterns>List'>List Pser : Pseq : ListPattern : Pattern : AbstractFunction : Object sequentially embed values in a list Source: ListPatterns.sc See also: Pseq Description is like Pseq , h ...