-
... recLevel=1 , preLevel=0 , fade=0.01 ; var sig; sig = SoundIn.ar(0); sig = sig * Env.linen(fade, (4.0-(fade*2)), fade, 1, 'sin').kr; RecordBuf.ar(sig, ~buffer0.bufnum, 0, recLevel, preLevel, loop: 0); }); == radpostcont == (none) >> lt 1 == ...
-
... ratestep=\pitchstep.kr(0); var reverse=((1-\reverse.kr(0))*2)-1; var envtime; var input, buffer, playhead, output, loopOutput; var recTrig, recTime, playTrig, bufferEnd, isLooping; var fixedTimeGate, fixedTimeEnd; ...
-
... tors is great ( { var my= MouseY.kr(0.0,0.99); Limiter.ar(NTube.ar(PinkNoise.ar*EnvGen.ar(Env.perc(0.01,0.05),MouseX.kr(0.0,1.0)>0.5),my,`(Array.rand(49,0.0,1.0)),`(Array.rand(50,0.0001,0.01)) ),0.99,0.01).min(1.0).max(-1.0) }.play ) //1-D ...
-
... s you can also directly use gnuplot on the array: [0,2,3,2,1,0.4].gnuplot; *plotenv(env) Plot an envelope. Note, you can call .gnuplot directly on an Env to plot it with this method Env .perc.gnuplot; Env .perc(0.1, 1.5).gnuplot; Env .adsr. ...
-
... s you can also directly use gnuplot on the array: [0,2,3,2,1,0.4].gnuplot; *plotenv(env) Plot an envelope. Note, you can call .gnuplot directly on an Env to plot it with this method Env .perc.gnuplot; Env .perc(0.1, 1.5).gnuplot; Env .adsr. ...
-
... al } // not properly part of a pattern, but I need to install hooks to load the environment // then you can do e.g. \loadCl.eval *initClass { Class.initClassTree(AbstractChuckArray); Class.initClassTree(Library); Library.put(\cl, \path, thi ...
-
... it is alive ~test = { |freq=250, intv=19, timescale=1, curve=0, loopnode=0| var env = EnvGen .kr( Env ({ 1.0.rand2 }!11, {1.0.rand}!10, curve, releaseNode: 9, loopNode: loopnode), timeScale: timescale); var pitch = (env * [1, 0.33, -1] * in ...
-
// test //-- INIT SynthDef(\sinmore, { OffsetOut.ar(0, Env.perc(0.001, 0.1, \amp.kr(0.1)).ar(doneAction: 2) * SinOsc.ar(\freq.kr * [1, 1.1])) }).add; s.sync; //-- PLAY ( ~xmore.stop; // for live coding, stop any old one. ~xmore = Task { var ...
-
... in, { | out = 0, gate = 1, in1=0.11, in2=0.63, in3=0.18, amdb= -10 | var menv = EnvGen.kr(Env.new([0,1,1,0],[in1, in2, in3], curve:'lin'), gate, doneAction:Done.freeSelf); var noise = White ...
-
... , {|out= 0, amp= 1, rate= 1000| var numBits= 8; var buf= LocalBuf(1).clear; var env= EnvGen.ar(Env(#[1, 1, 0], [16/rate, 0]), doneAction:2); var data= Control.names([\data]).ir(Array.fill(numBits, 0)); var src= Duty.ar(1/rate, 0, Dswitch1([ ...