-
... de, except that the step and len arguments need not be constants. If you supply patterns or streams for these arguments, they will be evaluated once per segment so that step and len can be variable. p = Pslide ((1..10), inf , 3, 1, 0).asStr ...
-
( Alga.boot({ //Pattern to modify a = AP(( def: { SinOsc.ar * EnvPerc.ar(release: 0.1) * 0.1 }, dur: 0.5 )).play(chans:2); //Metronome b = AP(( def: { EnvPerc.ar(release: SampleDur.ir); Impulse.ar(0) }, dur: 1 )).play(chans:2); }) ) //Using ...
-
Peuclid : Pattern { var <>numHits, <>numBeats, <>repeats; *new { |numHits = 7, numBeats = 12, repeats = 1| ^super.newCopyArgs(numHits, numBeats, repeats) } embedInStream { |inval| var currval = 0, lastval = -1; var repStream = repeats.asStr ...
-
+ Pattern { endless { arg default; ^if(default.isNil) { Prout { arg inval; var outval, stream, previous; stream = this.asStream; loop { outval = stream.next(inval); if(outval.notNil) { previous = outval } {Êoutval = previous }; inval = outv ...
-
... irt.set(\notFound, { autoLoad.(~s) }); ) // try it out: while playing any tidal pattern, now remove all samples: ~dirt.freeSoundFiles // they should automatically come back.
-
... ).asStream; b = a.nextN(200); b.plot; b.histo(100,0,1.0).plot; */ Pbernoulli2 : Pattern { var <>n, <>weight, <>length; *new { arg n=3, weight=0.5, length=inf; ^super.newCopyArgs(n, weight, length) } storeArgs { ^[n, weight,length] } embedIn ...
-
... \testBus, { \in.ar(0).poll(label:"testBus") * DC.ar(0); }).add; s.sync; a = AlgaPattern(( def: \test, dur: 1, freq: 440 )).play; /* a = AlgaPattern(( def: \testImpulse, dur: 1, amp: 1 )).play; */ b = AN({ SinOsc.ar([100, 200]) }); c = AN({ ...
-
... on. A CV's value can be read with the 'value' message. CV can also be used as a Pattern (in Pbind) or in combination with other Streams. */ CV : Stream { classvar <>viewDictionary; var <value, <spec; *initClass { StartUp.add ({ CV.buildView ...
-
... ----------------------------// // Add custom event types to control Reaper with patterns *addEventTypes{ /* // \reaperTrack // Example: ( r = ReaperControl.start(9292); Pdef(\r, Pbind( \type, \reaperTrack, \reaperControl, r, \reaperTrack, 1 ...
-
/* \p_line Creates an pattern UMap making a line steps between two values over time. New values are generated each time the chain is started, or in a UPattern for each of the generated events. a: the start value b: the end value curve: a cu ...