-
PstepNadd pattern that returns combinatoric sums superclass: PstepNfunc combines an arbitrary number of patterns by summing (depth first traversal). when a stream ends it is recreated from its pattern until the top stream ends. see also: Ps ...
-
... .add; ) ( Pdef(\x, Pwavesets( Pbind( \name, \a11, \instrument, \ws1848, \start, Pn(Pseries(0, 1, 1848)), \num, 2, \repeats, 10, \rate, 1, \legato, 2.0, \amp, 0.1, \pan, Pbrown(-0.5, 0.5, 0.001) ) ) ).play ) // a synthdef that fills the gaps ...
-
... \one, legato: 0.5), ], inf) ).play; ) ( Pwavesets( Pbind( \name, \one, \start, Pn(Pseries(0, 2, 1000)), \end, Pn(Pseries(0, 2.6, 1000)), \repeats, 3, \legato, 1.0, \amp, 0.1, \pan, Pbrown(-0.5, 0.5, 0.001) ) ).play ) // for easy experiment ...
-
... 2, 1, 0.5, 2, 1, 2, 1, 0.5, 2, 1, 0.5, 2, 4] * 500, inf), clipAmount: Pseq([Pn(0.1, 32), Pn(1, 32)], inf) ]).play; } )
-
... ern cuts off the inner Pbind after 4 beats. This would stop the pattern, except Pn repeats the Pfindur infinitely, placing the accent in the right place every time. The loop actually starts with a half-beat anacrusis, so Ptpar delays the be ...
-
PstepNadd: Filter: Description Class methods Inherited class methods Undocumented class methods new Instance methods Inherited instance methods Examples Classes | Streams-Patterns-Events > Patterns'>Patterns > Patterns>Time'>Time PstepNadd ...
-
... t, SinOsc .ar(freq, 0, env)) }).add; ) ( var a; a = Pif ( Pfunc ({ 0.3.coin }), Pn ( Pseries (0.5, 0.1, 10)), Pn ( Pseries (6, -0.1, 10))).asStream; { loop { Synth ( \help_sinegrain , [ \freq , a.next * 600 + 300]); 0.2.wait; } }.fork; )
-
Pnsym use a pattern of symbols to embed Pdefn's superclass: Psym for event patterns see Psym Overview: JITLib Related: Pdefn Pnsym(pattern) pattern: a pattern that returns symbols or characters. Arrays are converted to parallel patterns ( P ...
-
... ~stubborn = Pbind( \instrument, "grain-asr", \buffer, b, \startPos, Pseq([Pn(0.1, 10), Pn(0.3, 10), Pn(0.8, 5)], inf), // 0.0=beginning of sample, 0.5=half way into sample, 1.0=end of sample \dur, 0.1, \att, 0.001, \rel, 0, \r ...
-
... ns in succession, one by one. (Plazy embeds just one pattern; wrapping Plazy in Pn does it many times.) The logic in this example is a bit more involved: for each measure, start with arrays containing the basic rhythmic pattern for each par ...