-
... lBuses , NumInputBuses , NumOutputBuses , NumRunningSynths , RadiansPerSample , SampleDur , SampleRate , SubsampleOffset … see all Description This is the superclass for the various info ugens. Class Methods Inherited class methods Undocume ...
-
... fset, resampledSignal; in = Impulse .ar(2000, 0, 0.3); // some input. sampDur = SampleDur .ir; // duration of one sample extraSamples = 4; // DelayC needs at least 4 samples buffer sampleOffset = 1 - SubsampleOffset .ir; // balance out subs ...
-
... o. ( { var nse, env, kic; kic = tanh(Ringz.ar(LPF.ar(Trig.ar(Impulse.ar(1.0),SampleDur.ir),1000),30,0.25,7).sin*2); env = Env.perc(0.05, 1, 1, -4); nse = BrownNoise.ar(2) + PinkNoise.ar(0.5) * EnvGen.kr(env,Impulse.kr(1), doneAction ...
-
... clear; prev= Dbufrd(buf); res= prev+((in-prev)/if(in>prev, up, down)); ^Duty.ar(SampleDur.ir, 0, Dbufwr(res, buf)); } *kr {|in, up= 10, down| var buf, prev, res; down= down?up; buf= LocalBuf(1).clear; prev= Dbufrd(buf); res= prev+((in-prev) ...
-
... windowDur= 0.1; var n= 3; dry= In.ar(out, 2); phasors= {|i| Phasor.ar(1, ratio*SampleDur.ir)+(i/n)%1!2}.dup(n).flop; reads= DelayC.ar(dry, windowDur, phasors*windowDur); windows= sin(phasors*pi); wet= [Mix((reads*windows)[0]), Mix((reads*w ...
-
... 1 }, dur: 0.5 )).play(chans:2); //Metronome b = AP(( def: { EnvPerc.ar(release: SampleDur.ir); Impulse.ar(0) }, dur: 1 )).play(chans:2); }) ) //Using Env and resync a.interpDur(0.1, time: 5, shape: Env([0, 1, 0.5, 1], [2, 3, 4])) //No resyn ...
-
... ).clear; prev= Dbufrd(buf); res= in+((prev-in)*if(in>prev, up, down)); ^Duty.ar(SampleDur.ir, 0, Dbufwr(res, buf)); } *kr {|in, up= 0.99, down| var buf, prev, res; down= down?up; buf= LocalBuf(1).clear; prev= Dbufrd(buf); res= in+((prev-in) ...
-
... 1, window2; var windowDur= 0.1; dry= In.ar(out, 2); phasor1= Phasor.ar(1, ratio*SampleDur.ir); phasor2= phasor1+0.5%1; read1= DelayC.ar(dry, windowDur, phasor1*windowDur); read2= DelayC.ar(dry, windowDur, phasor2*windowDur); window1= sin(ph ...
-
... er sample rate. Source: InfoUGens.sc See also: ControlRate , RadiansPerSample , SampleDur , SubsampleOffset Description Returns the current sample rate of the server. Class Methods SampleRate. ir From superclass: InfoUGenBase Inherited clas ...
-
... ons) "Line.ar can match integrated DC" -> {Line.ar(0,1,1) - Integrator.ar(DC.ar(SampleDur.ir))}, "Line.ar can match EnvGen.ar with slope Env" -> {Line.ar - EnvGen.ar(Env([0,1],[1]))}, ////////////////////////////////////////// // Triggers: ...