-
... // measure rms and Peak SendReply .kr(imp, '/levels' , [ Amplitude .kr(colum), K2A .ar( Peak .ar(colum, delimp).lag(0, 3))]); colum; }.play; ) // a window and responder // default style is coloured / solid ( w = Window .new.front; a = SCLe ...
-
... .ar(Env.new([10e-10, 1, 10e-10], [0.01, decay], 'exp' ), t_trig); freq = Lag.ar(K2A.ar(freq), freqLag); // Synthesis sig = Select.ar(waveform, [Saw.ar(freq), Pulse.ar(freq, pulseWidth), LFTri.ar(freq)]) * envGrainAmp * envAmp; sig = RLPF.ar ...
-
... l rate\n", NodeProxy.buildProxy); } { if(rateConstraint === 'audio') { output = K2A.ar(output); rate = 'audio'; postf("%: adopted proxy input to audio rate\n", NodeProxy.buildProxy); } } }; outCtl = Control.names(\out).ir(0) + channelOffset ...
-
... ulseWidth) !2 )* correctionGain * ampScaler; input = LPF.ar(transient, Ramp.ar( K2A.ar (lpFq), 0.005) ); // "mallet" sig = DynKlank.ar(`[ [ (first = LFNoise1.kr(0.5).range(2424, 2444)) + Line.kr(20, 0, 0.5), first + LFNoise1.kr(0.5).range(1 ...
-
... .keep(argNumChannels); }; output = output.collect { |x| if(x.rate !== \audio) { K2A.ar(x) } { x } }; // convert output rate if necessary if(output.size > argNumChannels) { // definitely limit number of channels. // here we could also just k ...
-
... 2).abs == _ * _" -> {n=WhiteNoise.kr; n.pow(2).abs - (n*n) }, // DC scaling and K2A: "DC equivalence" -> {DC.ar(2) - K2A.ar(DC.kr(1)) - 1 }, "sum and rescale ar signal is identity" -> {n=WhiteNoise.ar; [n, n].sum.madd(0.5, 0) - n }, "sum an ...
-
... ias. // Opción B: (permite hard sync) sigPulse = Select.ar(phase<((pulseMod)-1),K2A.ar([1,0]))*pulseLevel; // Opción C: //sigPulse = LFPulse.ar(freq: scaledFreq, width: pulseShape, mul: pulseLevel); // Opción D: //sigPulse=PulseDPW.ar(freq: ...
-
... me index"); BufWr.kr(err.sqrt, ~errorvals, ~traindur-remain); Out.ar(0, Pan2.ar(K2A.ar(val) * 0.01)); }.play ) // Once the training is finished (i.e. once "remain" drops to zero): x.free; // We should be able to look at the 2D data points r ...
-
... = AudioIn.ar(audioInBus).abs - sensitivity; //in.poll; trig = Trig.ar( Trig.ar( K2A.ar(in)>0, dt ), (SampleRate.ir).reciprocal ); SendTrig.ar(trig, trigID, trig); SendTrig.ar(DelayN.ar(trig, 1, dt), trigID, 0); trig!numDOF; }; n; }; } } /// ...
-
... of envelope shouldn't be changed while application latchedTrigRate = Latch .ar( K2A .ar(trigRate), startTrig); latchedStartTrig = Impulse .ar(latchedTrigRate); latchedOverlap = Latch .ar( K2A .ar(overlap), startTrig); latchedOverlap = max(l ...