-
... }); }; Ndef.all; //list them ) //--start alarms (takes a while) ( ~task.stop; ~task= Task({ ~num.do{|i| Ndef(("alarm"++i).asSymbol).play(fadeTime: ~fadeTime).set(\amp, 7/~num).postln; i.linlin(0, ~num-1, ~fadeTime*2, ~ ...
-
... ers("yourSoundFileFolder/*"); // 1. rund this ( // 2. and then run this t = Task({ ({ var num= b.size.rand; var buf= b[num]; 0.1*Splay.ar(PlayBuf.ar(buf.numChannels, buf, 1, 1, 0, 0)); }.play; ) }); ) ...
-
... t = FreeVerb.ar(out, 0.3,0.3,0.1,amp); Out.ar(0, out); }).send(s); ) /*Task section*/ ( var midiArray = [ [31,38,41,44,48,52] ,[33,38,45,48,51,55],[35,42,44,45,48,52] ]; ...
-
... number of destination ); ( ~cont = 0; ~tiempo = 0.2; ~transpose = 12; t = Task({ e = m.noteSustainEvents(nil, nil); // get notes from track 1 e.do{arg event; a.noteOn(1, e[~cont][4] + ~transpose, e[~cont][5]); e[~ ...
-
... ze*scale)); var uview; var arr, buf, initFunc, iterFunc, startIter, finalize, task, iter; var xPos, yPos; initFunc = { arr = Array.fill2D(xSize,ySize,{ [0, 1, 1, 0, 0].choose }); ~arr = arr; }; uview = UserView.new(win, Re ...
-
This composition uses a task to read an array of durations and pitches. Every certain number of cycles, the functions scrambRand and octRand are called. scrambRand reverses a random sub-segment of the array. octRand randomly transposes a no ...
-
... ale=[0,2,4,5,7,9,11]; //Define pattern proxies which will be modified by the task t below a=PatternProxy(Pxrand([3,3,3,1,3,3],inf)); b=PatternProxy(Pseq([1/2],inf)); r=PatternProxy(Pseq([12],inf)); n=Prand([4,8,16],inf).asStream; ...
-
... istribution = [0.85, 0.15], // tweak it to get more or less dense pattern grid task, resolution, direction, pos = 0, step = 1, border = 1, dims = [16,16]; // tweak dims to change size of grid w = Window("rand-n-step+", Rect(50,250,dims[0] ...
-
... r 5/VII //Frank M Zeidler y André Werner //Realization By Javier Lucas ( t=Task({ {SinOsc.ar([3136,2997.5])}.play;// C# 1.wait; s.freeAll; {SinOsc.ar([3069,2889])}.play;// F# 1.wait; s.freeAll; {SinOsc.ar([3002,2782])}.play;/ ...
-
Binary Shift Register Sequencer by Dario Lozano-Thornton by dario-lozano-thornton (Dario Lozano-Thornton) Code
... mpo = [1,0.7,0.6]; ~flip = [0,1]; //show length ~t_loops = 3.collect{|k| Task({inf.do{|i|{ if(~bits[k][i%8]==1, {if((i%8)>=~length,{~butt[k][i%8].states = [["",Color.black, Color.black]]}, {~butt[k][i%8].states = [["",Col ...