-
... ~xox = {|str| str.collectAs({|l| switch(l.toLower,$x, {1}, $o, {Rest(1)})}, Array)}; ) ( // sequencing ~tick32 = 0.08823; ~tick16 = ~tick32 * 2; ~p1 = "xxxxxxxxxxxxxxxx"; //click ~p2 = "xxxoxxooxxxooxxo"; //highshort ~p3 = ...
-
... radius when amplitude = 1 var amp_scale = 80; //spectrum is provided as an array containing one or more events //each event represents a sine wave with keys for 'freq', 'amp', and 'phs' //uncomment for examples /*sine (the default ...
-
... 362]}, \windows, {[37,39,40,38]} ); //snake + board are represented as 2D array, //0 = empty space //positive integers = snake body, value represents //number of frames until snake segment disappears //e.g. 6-segment snake heading ...
-
... folder name to load the tracker module // The tracker will work modifying an array of note playing probabilities (i.e. 1 = 100% chance, 0.5 = 50% chance, etc). The size of the array will define the beat number. Here, we'll have three exa ...
-
... same folder as the project file // make buffers ~makeBuffers = { ~buf = Array.new; PathName(~path).entries.do({ arg path; ~buf = ~buf.add(Buffer.read(s, path.fullPath)); }); }; // make buses ~makeBuses = { ~revBus = ...
-
... { var ir, irbuffer, bufsize; var nextmod=100; ir = [0] ++0.dup(100) ++ (Array.fill(lengthinsamples,{|i| if(i% (nextmod)==0,{nextmod= rrand(80,120); 0.3*((i.asFloat/ lengthinsamples).squared)},{0.0}) })); irbuffer = Buffer.loadC ...
-
... etwork.collect { arg layer, lIndex; var baseIndex = lIndex + 1; layer.asArray.collect { arg row, rIndex; var rowIndex = rIndex + 1; row.collect { arg value, vIndex; var valueIndex = vIndex + 1; var freqOffset = ( ...
-
... o use stereo samples ~rate = 2; //Rate of playback ~source = [ // Create an array of your samples. ~media.samples points at my base sample directory and is defined in my startup file. ~media.samples ++ "808/kicks/808 kick 6.wav", ...
-
... nt, \hgh, \dur, Prand([time/8], inf), \scale, scale, \degree, Prand(Array.fill(8, {arg i;i}), inf), \octave, Prand(Array.fill(6, {arg i;i}), inf), \res, Pfunc({(SystemClock.seconds*0.3).sin.abs}), ) ]).play; // ...a ...
-
more fun with patternproxies, feat. a hack to access internals of the EventStreamPlayer by alln4tural (alln4tural) Code
... /getting-at-an-EventStreamPlayer-s-Pbind-tp7586138p7586148.html)) to get at the arrays inside the patternpairs of the patternproxy inside the 'receiver' inside the stream of the player. `z = i.stream.slotAt('receiver');` * The point ...