-
... SinOsc.ar([freq * 0.995, freq * 1.005], 0, env * amp)) }).add; // Create task t = Task({ // Set attributes of each node // [freq, dur, [[next_state, weighted_random],…]] var node_list = [ [60, 1, [[1, 2]]], [62, 0.5, [[0 ...
-
... , i.mod(size).linlin(0,4,-1,1), amp/(size.squared * 2) ) }).play }); ~task = Routine( { var t = 0; var sz = 0; loop { t = t + 45; sz = sz + ((t/250).sin.abs * 5); ~sliders.do({ |i,n| i.background = 0.5.coin.if({ Color.ra ...
-
... ~eu.value(9,4), len = 0, shift, cnt = 0, shread = 0, sh = [0,5,-3,3,7]; ~t = Task({ inf.do({ cnt = cnt + 1 % 102; if(cnt == 101, {shread = shread + 1 % sh.size}); pitch = ~mthue.value(count,16,8); if(pitch > scale.size, ...
-
... var len, buff, sel, size, count, st_size, pitch, sh = Synth(\p_shift); ~fX = Task({ inf.do({ if(rrand(0,10) > 8,{pitch = [-50,50].choose}, {pitch = 10}); if(rrand(0,10) < 4, {buff = p[rrand(0,p.size - 1)]}, {buff = b}); co ...
-
Just for fun and a demonstration of gui/2Darrays/synths/tasks in less than 30 lines. SynthDef(\peep,{|freq=100| var snd = SinOsc.ar(freq); snd = snd * EnvGen.ar(Env.perc(0.001,0.25), doneAction:2); Out.ar(0, snd ! 2); }).add; w = Wi ...
-
... e postWindow a=["m","x","f","k","d","p"]; x=Array; y=x.newClear(6); ~mxfkdp=Task({ inf.do({y.put(x.series(6,0,1).choose,a.scramble).postln; 0.03.wait;})}).play; m=fork({inf.do({ "array num:".postcln; if(y[x.series(6,0,1).choose ...
-
wiard noise ring variation using a ringbuffer instead of bitshifting, language implementation (task-based) by lfsaw (LFSaw) Code
wiard noise ring variation using a ringbuffer instead of bitshifting. Reimplemented according to Julian Parker's m4l patch. q = (); q.registerSize = 16; q.rbuf = RingBuffer(q.registerSize); // parameters, can be changed while playin ...
-
... 73, 59, 66, 83, 75, 59, 66, 82, 73, 59, 66, 83, 75, 66]; var count = 0; ~t = Task({ seq.size.do({ postln(count); for(0, ~particles, {arg i; Synth(\fm, [\freq, (seq[count] - 24).midicps * i, \lfo_rate, 0.5, \dur, 12, \l_shift, ~pa ...
-
... g-style processing, and evolving pads reminiscent of Boards of Canada SynthDef("task_efef68ae-1aef-4dc3-9bc3-274765c62cb1", { arg out=0, gate=1, freq=220, amp=0.3, tempo=1.0; var env, warmPad, vocalSim, tapeSat, analogFilt, wo ...
-
... AINT! //select all and compile var point, red, green, blue, win, view, colorTask; var redChange, greenChange, blueChange; //rate of change of each color component //mess around with these values for fun //zero results in no color ...