-
... king the log because real signals vary a lot. ( x = { var in, chain, flux; in = AudioIn .ar([1,2]).mean; chain = FFT (b.bufnum, in); flux = ( FFTFlux .kr(chain, 0.9) * 100).log * 0.2; flux = flux.max(-100); // This is to avoid an infinity c ...
-
... q, 0.99 - ((0..numChans - 1) / numChans) // phase ), 0.0, 0.002 ); // send when audioin triggers SendTrig.ar( Trig1.ar(audIn.abs > threshold, 0.05), 0, phase); // send when each output plays a trigger SendTrig.ar(pulses > 0.03, (1..numChans ...
-
... jam" + bufnum + "recs: ").post; if (in.isNumber, { ("audio" + in).postln; in = AudioIn.ar(in) }, { in.postln; }); in = Limiter.ar(HPF.ar(in, 75) * limGain, 1); // in = Normalizer.ar(in, 1); // Amplitude.kr(in).poll(Impulse.kr(4)); ^[ { Rec ...
-
... tMaxFunc.value; }; } getControlsForUnit { |unit| var ins, outs, mix; ins = unit.audioIns; outs = unit.audioOuts; mix = outs.select({ |item| unit.keys.includes( unit.getIOKey( \out, \audio, item, "lvl" ) ) }); ^[ ins, outs, mix ]; } getHeigh ...
-
... tMaxFunc.value; }; } getControlsForUnit { |unit| var ins, outs, mix; ins = unit.audioIns; outs = unit.audioOuts; mix = outs.select({ |item| unit.keys.includes( unit.getIOKey( \out, \audio, item, "lvl" ) ) }); ^[ ins, outs, mix ]; } getHeigh ...
-
... m1, str2, str3, num2| if((str2 == '<>').and(str3 == 'blk'), { Block.play(num2, \audioin, \nobuf, [\bus, num1]); }); }, "audioin: bus, block"); cW.add(\in, [\str, \num, \num], {|str1, num1, num2| Block.play(num2, \audioin, \nobuf, [\bus, num ...
-
... Buf.ar(2, y.bufnum, 1, 1, 0, 0, y.numFrames), bufnum, 0, 1, 0); // RecordBuf.ar(AudioIn.ar([1,2]), bufnum, 0, 1, 0); // mixes equally with existing data }).play(s,[\out, 0, \bufnum, b.bufnum]); ) a.redraw x = SCWindow.new("aa", Rect(100,100 ...
-
... / a simple view for quick inspections of sound a = Spectrogram .new; a.start; { AudioIn .ar(1)}.play // feedback warning! a.intensity = 15; a.rate = 25; a.color_( Color .red); a.background_( Color .green(alpha:0.1)); // spectrogram in a win ...
-
... it allKeys allValues set prSet get mapSet mapGet release getArgsFor getIOKey setAudioIn setControlIn setAudioOut setControlOut getAudioIn getControlIn getAudioOut getControlOut audioIns controlIns audioOuts controlOuts canFreeSynth shouldPl ...
-
... imple view for quick inspections of sound a = Spectrogram.new; a.start; // x = {AudioIn.ar(1)}.play // feedback warning! x = {LPF.ar(WhiteNoise.ar(1), LFNoise1.kr(1).range(20,12250))}.play; a.intensity = 15; a.rate = 25; a.color_(Color.red) ...