-
... ss :) ) glob[\pnotes] = glob[\pnotes].add(glob[\up].choose); // limit pattern to 8 notes. if (glob[\pnotes].size > 9) { glob[\pnotes].pop; }; // always return state at ...
-
... `Psloth([0,1,0], 10)`, for example, instead of declaring a new routine for each pattern. I didn't persist the use cases, as this should be saved as a `.sc` file. Please refer to the ancestor code for usage. Memory/CPU usage will grow ...
-
... , { Pbrown(0,512,16).asStream.nextN(1024).do{ |val, i| f.(i, val) } }, // brown pattern $6, { (Array.fill(1024, { |i| sin(i/1024*2pi) * 200 + 256 }) + Pbrown(0,32,8).asStream.nextN(1024)).do{ |val, i| f.(i, val) } }, // sinewave with bro ...
-
... FreeVerb.ar(in, mix, room, damp); Out.ar(out, Pan2.ar(in)); }).add; ) // PATTERNS ~root = 0; // also try to use 5, 7 and 9 ( ~violins_1st_sus_pattern = Pbind( \instrument, \grain_buffer, \scale, Scale.major, \root, Pfunc ...
-
... ig); }).add; ); ( // sequence Envs // need [] else it is inlined or does pattern multichannel expansion Pdef(\demo, Pbind( \instrument, \sin, \degree, Pseq([0, Pwhite(0,7,1)],inf), \legato, 0.5, \adsr, Pseq([ [ En ...
-
... is the first in the destinations array: m = MIDIOut(0); //playing a simple pattern of midi notes to the hardware synth listening to midi channel 1 // see also the documentation page "Pattern Guide Cookbook 04: Sending MIDI" ( Pbind( ...
-
... 15, 5/4, 4/3, 3/2, 8/5, 15/8, 2, 2*16/15, 2*5/4, 2*4/3, 2*3/2], \patternnotes : [261,245], \customnotes: ["c3_16@numharm[12]","g-3_8@numharm[10]"], // not used. \transpose : -3, \lag: 0.0, \t ...
-
a simple self-playing piece with generative patterning ( /** * SELFSTEP by Alexander Zhagun-Linnik, 2018 * a simple self-playing piece with generative patterning **/ { var scale = Scale.harmonicMinor; var time = 1.5; ...
-
... stead of picking the next note in the scale, it take the next event in an event pattern, much more possibilities, I have fun for hours with that =) ( ~molecular_box = { arg lenpat, quant=16, keep=3, pattern; Prout({ arg ev; var l ...
-
... er Impulses of LFPulse, then filtered by a Band Pass Filter (BPF). 16 different Patterns are created using this basic synth. // ************************************ // Subtractive Synthesis Demo (GUI) // Patch 2 - Patterns of Filtered Noi ...