-
... ithmetic series. ( var a, b; a = Pseries.new(10, 3, 8); // stream starts at 10, steps by 3 and has length 8 b = a.asStream; 9.do({ b.next.postln; }); // print 9 values from stream ) ⧉ ✔ Pgeom is a Pattern that generates a geometric series. ...
-
... ures - `AlgaMonoPattern`: a new class that implements a monophonic interpolated sequencer: ```SuperCollider ( Alga.boot({ //Mono sequencer featuring AlgaTemps modulating at audio rate ~freqSeq = AlgaMonoPattern(( rate: \audio, chans: 2, in: ...
-
... ence ~w .m = { |i| 70 + Pkey ( \n ) + [0, 7, 14] - (i * 12) } ! 3 // manipulate step source ~w .n = Pstutter (3, PLseq ( \midi )) ~w .n = ~w .n + PLseq ([0, 0.5, 1]) ~w .d = [1, 3, 4] / 8 // cleanup after stopping with gui ~w .clear Ex.3b) ...
-
... and List are amongst the most commonly used. Class Methods *series(size, start, step) Fill a SequenceableCollection with an arithmetic series. Array .series(5, 10, 2); *geom(size, start, grow) Fill a SequenceableCollection with a geometric ...
-
... all needed edges g = Graph .new.createRandomCyclic(c); p = Painter (g) ) round (step) Round edges to step. Useful for metric sequencing. step - the rounding step. Default value is 0. ( n = [ "drum" , "snare" , "hihat" , "tom" ] ; g = Graph ...
-
... SinOsc.ar(freq * [1, 1.01]) * 0.1 }.play; ) // short sequence with doneAction, step ( { var freq; freq = DemandEnvGen.kr( Dseq([1300, 500, 800, 300, 400], 1), 0.2, 0, doneAction: Done.freeSelf ); SinOsc.ar(freq * [1, 1.01]) * 0.1 }.play; ) ...
-
... = ~crdStr.collect{ arg crd; crd.collect{|c| ~noteToMidi.(c)}; }; ) // STEP 1: a simple synth ( // Init synth SynthDef(\simpSaw1, {|freq, gate=1| var env = EnvGen.ar(Env.adsr(0.01,0.3,0.5,0.1), gate, doneAction:2); var snd = ...
-
... ast ) Return a new List consisting of the values starting at first , then every step of the distance between first and second , up until last . See SequenceableCollection: Indexing .. ( var y, z; z = List[1, 2, 3, 4, 5, 6]; y = z.copySeries ...
-
... his GUI widget can be useful in various situations such as representing scales, step sequencers, etc. In some cases it might be better to use the class BoxGrid . The grid is basically a graphical representation of 2 dimensional array of col ...
-
... collect({ |n| n.convertGates })).absoluteOnsets_(absoluteOnsets) } transpose { |steps = 0, newName| ^(steps == 0).if({ this.copy.name_(newName ?? { name }) }, { newName.isNil.if({ newName = (name ++ ("%%".format( steps.isPositive.if("+", "" ...