-
... l range exprange curverange unipolar bipolar degrad raddeg clip fold wrap blend lag lag2 lag3 lagud lag2ud lag3ud varlag slew degreeToKey minNyquist snap softRound linlin linexp explin expexp lincurve curvelin bilin prune checkBadValues if ...
-
... g, 0, write); // write on trigger SinOsc.ar( Demand.kr(Impulse.kr(16), 0, read).lag(0.01) * [1, 1.01] ) * 0.1 }.play; ) // write into buffer with mouse clicks ( { var val = MouseY.kr(1000, 200, 1); // cursor y pos controls frequency var pos ...
-
... 0, beat= 1, amp= 1, pan= 0| var z; z= SinOsc.ar(freq+SinOsc.ar(40, 0, beat), 0, Lag.kr(amp, 0.02)); Out.ar(out, Pan2.ar(z, pan)); }).add; s.sync; //--world w= RedWindow("agents test ca2", Rect(128, 64, width, height)).front; wgrav= RedVecto ...
-
... you can simply use ampdb to convert the data. You may also wish to add a slight lag to the values you produce, if your window is short and/or your signal includes strong low frequencies, because the phase of the signal may affect the result ...
-
... }).add; SynthDef("secondNode-filter", { ReplaceOut.ar( 0, LPF.ar( In.ar(0, 2), Lag.kr( LFNoise0.kr([4, 4.001], 500, 1000), 0.1 ) ) ) }).add; ) // "firstNode-source"は最初に実行されなければならない // もし "secondNode-filter"が先に評価されれば、"firstNode-source"はそれを通 ...
-
... mple SynthDef and Synth: ( SynthDef(\blippy, { var snd = Blip.ar( \freq.kr(440).lag(0.1), \numHarmonics.kr(100), \amp.kr(1.0).lag(0.1) ) * 0.5; Out.ar(0, Pan2.ar(snd, \pan.kr(0).lag(0.1) ) ) }).add ); //start the synth by hand first z = Syn ...
-
... um CC number, 0 to 127. spec A Spec, i.e. \freq, \amp, [5, 50], [1, 100, \exp]. lag lag3 time, default is 0.05. Examples // simple example m = CCIn.new; // listen to all midi in ports and all midichannels x = {SinOsc.ar(m.kr(0, 0, \freq), 0 ...
-
... with kr signals ( x = { arg freq = 440; var safeFreq = ReplaceBadValues.kr(freq.lag(0.2), 666).poll; SinOsc.ar(safeFreq, 0, 0.1); }.play; ) // x.set(\freq, inf); // create bad freq value inf -> replaces with 666 x.set(\freq, 330); // and go ...
-
... e=1, loopRel=0, startPos=0, startLoop, endLoop, ipol=2; var env, signal; rate = Lag.kr(rate, glide); env = EnvGen.ar(Env.adsr(0.1,0.2,1,2), gate, doneAction: 2); signal = LoopBuf.ar(1,bufnum, BufRateScale.kr(bufnum) * rate, gate+loopRel, st ...
-
... = Amplitude.kr(input); //threshhold = 0.001; // noise gating threshold //gate = Lag.kr(inputAmp > threshhold, 0.01); //in = input * gate; fft = FFT(LocalBuf(1024, 1), in, wintype:1); output = TPV.ar(fft, 1024, 512, 50, 50, 1.0, 4, 0.2); // ...