-
... You can now use `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 ...
-
... ) MIDIClient.init; ( ~events = m.midiEvents; ~midiout = MIDIOut(0); ~routine = { var lastTime = 0; ~events.do({ |evt| (evt[1] - lastTime).wait; lastTime = evt[1]; switch( evt[2].post, \noteOn, { ~midiou ...
-
... Splay.ar(sig, 0.8) * env * \mul.kr(0.5, 3); Out.ar(0, sig); }).add; ) ( Routine({ var fakeTHX = Synth(\fakeTHX); 10.wait; fakeTHX.set(\meander, 0); fakeTHX.set(\freq, ~bigChord.(30, 5)); 10.wait; fakeTHX.set(\g ...
-
... *oct + scale.wrapAt(n) + root; degree.yield; } }).asStream; }; r = Routine({ var durStream = ~dur.value(9, 14.5); var noteStream = ~note.value(48); inf.do { var dur = durStream.next(); var note = noteStream.next() ...
-
routine that takes a seed and generates a self-similar sloth canon with it by adding each term to each term, better explained in this blog post: https://www.science20.com/robert_inventor039s_column/blog/self_similar_sloth_canon_number_seque ...
-
... ( //fundamental pitch triad ~notes = [45,55,60].midicps; s.waitForBoot({ Routine{ SynthDef.new(\tone, { arg freq=440, pan=0, rel=0.05; var sig; sig = SinOsc.ar(freq); sig = sig * EnvGen.kr(Env.perc(0.005,rel), do ...
-
... }); }); w.refresh; }; }; //initialize array and put on screen ( Routine{ ~tabel=Array2D(~maxIndex, ~maxIndex); for(0, ~maxIndex-1, { arg v; for(0, ~maxIndex-1, {arg h; ~tabel.put(v, h,0); }); }); t.value; }.pl ...
-
... ile done playing //test2 - looping through samples one after the other ( Routine({ var index= 0; var c= Condition.new; inf.do{ var a= Synth(\sample, [\buf, b[index], \rate, 1]).register; a.onFree{ ("playing index:"+in ...
-
... f), \sustain, 0.1 ) ).quant_([3, 0, 0, 1]); ) ( SystemClock.sched(0, Routine({ a.play; 12.yield; b.play; 12.yield; c.play; 12.yield; c.pause; 6.yield; a.pause; 6.yield; b.pause; a.play; 12.yield; b.play; 12.yield; ...
-
( s.waitForBoot({ Routine({ var duration = 60; // Duration in seconds var filePath = "~/Desktop/360_Soundscape.wav".standardizePath; // 1. Define the Synth for a spatialized sound source SynthDef ...