-
... ain=0.1, amp = 0.1, width = 0.1| var sig, env; env = LFGauss.ar(sustain, width, loop:0, doneAction: 2).range; sig = SinOsc.ar(freq, 0.5pi) * env * amp; OffsetOut.ar(out, sig); }).add; ) ( Tdef(\x, { loop { var dt = 0.1; ( instrument: \gabor ...
-
... r mix = all.sum { |x| var d = { 0.01.rand } ! x.size; DelayN.ar(x, d, d) }; var loop = LocalIn.ar(~dirt.numChannels); 5.do { loop = AllpassL.ar(loop, 0.15, { ExpRand(0.03, 0.15) } ! 2, 3) }; mix = loop * reverbFeedback + mix; mix = LeakDC.a ...
-
... (0.1, 0.3)); k.putDown(char, { |char| char; note.play }); }; // make k.rec a KeyLoop: k.makeLoop; g = KeyPlayerGui(k); ) // second player shows up as well; KeyPlayer(\xs); // the keys that have associated actions are shown colored in KeyPla ...
-
... setOut.ar(i_out, src*env*amp); }, #['ir']).add; SynthDef("redSampler-"++(i+1)++"loop", { |i_out= 0, bufnum, amp= 0.7, attack= 0.01, release= 0.1, gate= 1, offset= 0| var src= PlayBuf.ar( i+1, bufnum, BufRateScale.ir(bufnum), 1, BufFrames.ir ...
-
... Stream; numstream = super.asStream.collect({ arg item; this.translate(item) }); loop({ [numstream.next, triplstream.next].yield; }) }) } } AminoacidPattern3 : AminoacidPattern { asStream { ^Routine({ var numstream, namestream; numstream = s ...
-
... fnum = 0, startPos=0, rate = 1, gate = 1, att = 0.01, rel = 0.1, dur=1, tone=1, loop = 0, trimDB=0, amp=1 | var lpassFq, sig, env; tone = abs (tone); tone = tone.clip(0,1); startPos = startPos.clip(0.0, 1.0); lpassFq = 100 + (tone**(0.7) * ...
-
... streampairs[i+1] = pat /*.trace(prefix: key.asString ++ ": ")*/ .asStream; }); loop { if (inevent.isNil) { ^nil.yield }; event = inevent.copy; event.debug("\nSource event"); forBy (0, endval, 2) { arg i; var name = streampairs[i].debug("st ...
-
... streampairs[i+1] = pat /*.trace(prefix: key.asString ++ ": ")*/ .asStream; }); loop { if (inevent.isNil) { ^nil.yield }; event = inevent.copy; event.debug("\nSource event"); forBy (0, endval, 2) { arg i; var name = streampairs[i].debug("st ...
-
... mmh mh mh mh --[mmhf mh mhf mh] --[mmhf mh mhf mh]g --![mmhf mh mhf mh]g fork { loop { 0.2.wait; t.("muxyzxyz".scramble) } }; --[(mhg)(mhf)(mh)]g -- --mxzy --[mihf mif] -- --[(ufhgij)(ufhgi)(=fhgi)]fh[(igf)(igf)] --ugh uhg ughf uug --aaagg ...
-
... iple JITLib-style proxies; see Ndef , Tdef , Pdef , ProxySpace . One can record loops of controller movements that can be modified while played back, e.g. rescaled and inverted in value ranges, with changeable tempo and direction, etc. To u ...