-
... tartPos=0, length=0.1, amp=1.0, rate=1.0, pan=0.0; var playbuf, env,output; env=EnvGen.ar(Env([1,1],[length]),doneAction:2); playbuf=PlayBuf.ar(i+1, bufnum, BufRateScale.kr(bufnum)*rate, 1, startPos, 0)*amp; output= if(i==0,{Pan2.ar(playbuf ...
-
... usly by any arbitrary value (while Envelopes can only be indexed by time, using EnvGen). *****/ var <points, <minX, <maxX, <minY, <maxY, <size; *new { arg ... xyc; /* Takes a list of triples: [x0, y0, curve0], [x1, y1, curve1], ... [xn, yn] ...
-
... eTrig); count = PulseCount.ar(phaseTrig); time = Sweep.ar(Impulse.ar(0)); env = EnvGen.ar( Env.asr(att, 1, rel, curve), (count <= length) * (time <= maxTime), doneAction: doneAction ); // Demand doesn't multichannel expand rateSig = phaseTr ...
-
... , LFSaw.ar([phfreq.lag(lagg) + SinOsc.ar(2.01),phfreq.lag(lagg)], 0, 2pi, 2pi), EnvGen.ar(Env.perc(0.001, dur, 0.5, -8), t_trig)), cut.lag(0.1), 0.2), 50, 4, 1, 0.1, 80, 1, 0.1, 0.1 ,mul: 0.1) }); //storing the state of the top rows of butt ...
-
... e=1, curve=0, loopnode=0, formfact=2, widfact=0.5, spread=1, amp=0.1| var env = EnvGen .kr( Env ( { 1.0.rand2 }!11, {1.0.rand}!10 * timescale, curve, releaseNode: 9, loopNode: loopnode) ); var pitch = (env * [1, 0.33, -1] * intv).midiratio ...
-
... arg i_bufnum=0,gate=1,out=0; Out.ar(out, DiskIn.ar(this.numChannels,i_bufnum) * EnvGen.kr(Env.asr(releaseTime:0.1),gate: gate,doneAction: 2) ) }) } defName { ^this.class.name.asString ++ this.numChannels } synthDefArgs { // first buf to pla ...
-
... i_bufnum=0, gate=1, out=0; Out.ar(out, DiskIn.ar(this.numChannels, i_bufnum) * EnvGen.kr(Env.asr(releaseTime:0.1), gate: gate, doneAction: 2) ) }) } defName { ^this.class.name.asString ++ this.numChannels } synthDefArgs { // first buf to p ...
-
... 1.0, dur = 1.0, tscale = 1.0| var sig = Mix.fill(nBands, { |b| var env = Lag.kr(EnvGen.kr(bandEnvs[b], timeScale: tscale), 0.12 * tscale); // LFNoise1 is SuperCollider's linearly interpolated random signal, // the closest UGen equivalent to ...
-
... , { |out= 0, atk= 0.01, rel= 0.2, gate= 1, freq= 400, pan= 0, amp= 1| var env= EnvGen .kr( Env .asr(atk, amp, rel), gate, doneAction:2); var src= MoogFF .ar( Pulse .ar(freq-(amp-env*50), env*0.25+0.5, env), env.lag(2).exprange(freq*0.5, fr ...
-
... r(1, 3), MouseY .kr(1, 3), 2, 0, 0.8, tMul: 650); Limiter .ar(sig[0..1], 0.3) * EnvGen .ar( Env .asr(0.1, curve: 3)) }.play ) x.release // oscillating force, modulate tMul ( x = { var sig = Fb1_Duffing .ar( SinOsc .ar(3).range(1, 5), 1, 1, ...