-
// test //-- INIT ( SynthDef(\sinmore2, { OffsetOut.ar(0, Env.sine(0.1, \amp.kr(0.1)).ar(doneAction: 2) * SinOsc.ar(\freq.kr * [1, 1.2])) }).add ); s.sync; //-- PLAY ( Tdef(\xmoremore, { var dt = 0.04 * { rrand(1, 3) / rrand(3, 7) }.dup.sum ...
-
... 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 == ...
-
... 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 ...
-
// 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 ...
-
... , \FUMA, { format = \FUMA; SynthDef("ambiConverter", { | gate = 1 | var n3dsig, env; n3dsig = In.ar(n3dBus, bFormNumChan); n3dsig = HOAConvert.ar(maxOrder, n3dsig, \ACN_N3D, \FuMa); Out.ar(fumaBus, n3dsig); }).send(server); renderFunc = { | ...
-
... il, FloatArray[ 0.372221, 0.227528, 0.477731, 0.318256, 0.121477, 0.449826 ] ], Enveloper2.ar( Blip.ar(freq,numHarms, 0.006), trig), sfreqScale,sfreqOffset,stimeScale ).squared.fold2(foldAt) * gain },[ nil, [0.01,10], [0,300], [0.01,100], [ ...
-
... erver = Server .local; SynthDef ( "pluck" , { arg dur, amp, freq, pan; var sig, env; env = EnvGen .kr( Env ([ 1, 0 ], [ dur ], 'linear' ), 1, amp, 0, 1, 2); sig = Pluck .ar( WhiteNoise .ar(1.0), Impulse .kr(0), freq.reciprocal, freq.recipro ...
-
... r(LeakDC.ar( BPeakEQ.ar(BPeakEQ.ar(BPeakEQ.ar(BPeakEQ.ar(FreeVerb.ar( CombC.ar( EnvGen.kr(Env.new([0,(0.4/0.999)*1.0,0],[alpha/2,alpha/2]), Impulse.kr(1/(alpha+beta))) * Mix.new([ RHPF.ar( Pulse.ar(gamma), delta, 0.001), RHPF.ar( Pulse.ar(g ...