-
... pfile ( SynthDef("pitchFollow1",{ var in, amp, freq, hasFreq, out; in = Mix.new(SoundIn.ar([0,1])); amp = Amplitude.kr(in, 0.05, 0.05); # freq, hasFreq = Qitch.kr(in, b.bufnum, 0.02, 1, d.bufnum, 160, 880); //freq = Lag.kr(freq.cpsmidi.roun ...
-
... ampleRate * 16; // plot 16 blocks var min = -2, max = b.bufnum + 4; // input is SoundIn, but we don't see this signal { FFT(b, SoundIn.ar) }.plot(dt, minval:min, maxval:max).plotMode_(\steps); ) b.free; // free the buffer again ⧉ ✔ Phase Vo ...
-
... ; numBins = 2048; buf = LocalBuf(numBins, 1); buf2 = LocalBuf(numBins, 1); in = SoundIn.ar(0); in = Compander.ar(in, in, thresh: 0.5, slopeBelow: 1, slopeAbove: 0.5, clampTime: 0.01, relaxTime: 0.01 ); //getting the FFT and doing the PV_Con ...
-
... t. in bus to listen to. use s.options.numOutputBusChannels for the mic (same as SoundIn.ar(0) ) thresh internal analyser synth's amplitude threshold (+/-). rq internal analyser synth's bandpass filter bandwidth. addAction a Symbol . NOTE: d ...
-
... like that: ( { var order = 5; var source = WhiteNoise.ar(0.1) ; //var source = SoundIn.ar(0.1) ; var bform = HOASphericalHarmonics.coefN3D(order, MouseX.kr(-pi, pi, 0).poll, MouseY.kr(-0.5pi, 0.5pi, 0).poll ) * source; var binaural = HOABi ...
-
... ds(); width = rect.width; height = rect.height; { var sig, amp; //sig = Mix.new(SoundIn.ar([0,1])); sig = SinOsc .ar(440.0, 0, LFNoise1 .kr(2.0, 0.5, 0.5)); amp = Amplitude .kr(sig); SendReply .kr(amp - 0.5, 'drawTrig' , [ 1.0, SinOsc .ar(0 ...
-
... c.ar(Demand.ar(t,0,Drand((120,145..400),inf)))*ToggleFF.ar(t)+t))} play{BPF.ar(SoundIn.ar(0),Array.geom(16,120,1.5),0.005,2).sum.dup} // kind of EZ resonator / vocoder for the mic #supercollider play{FreeVerb.ar(CombC.ar(SoundIn.ar(0).sof ...
-
... to pipe the source audio to the NRT server's hardware inputs, and read it with SoundIn . The example audio file is not very long, but processing here is almost instantaneous. ( var server, inputFile = SoundFile.openRead(ExampleFiles.child) ...
-
... eive", { |id = 100, in = 0 | // waits for an impulse var trig; trig = Trig1.ar( SoundIn.ar( in ) - 0.001 ); SendTrig.ar( trig, id, BlockOffset.ar( trig ) ); }); } *masterDefs { ^[SynthDef( "sync_master", { |out = 0, amp = 0.1, id = 99| var ...
-
... eive", { |id = 100, in = 0 | // waits for an impulse var trig; trig = Trig1.ar( SoundIn.ar( in ).excess(0.25) - 0.001 ); SendTrig.ar( trig, id, BlockOffset.ar( trig ) ); }); } *masterDefs { ^[SynthDef( "sync_master", { |out = 0, amp = 0.1, ...