-
... ; 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 ...
-
... 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) ...
-
... ", { SendTrig.kr( Dust.kr(1.0), // trigger could be anything, e.g. Amplitude.kr(SoundIn.ar(0) > 0.5) 0, 0.9 ); }).send(s); ) ( // this receives the trigger on the client side and 'Spawns' a new Synth on the server OSCFunc({ SynthDef("help-E ...
-
... var in, fft, array; // in = PlayBuf.ar(1, d, BufRateScale.kr(d), 1, 0, 1); in = SoundIn.ar(0); fft = FFT(LocalBuf(1024), in); // for sampling rates 44100 and 48000 // fft = FFT(LocalBuf(2048), in); // for sampling rates 88200 and 96000 arra ...
-
... pleRate) } }; ) // record into a 4 second live buffer Ndef(\rec, { RecordBuf.ar(SoundIn.ar([0, 1]), ~liveBuffer, loop:1) }); // hit cmd-period to stop recording, or Ndef(\rec).free; // for restarting the recording, call Ndef(\rec).send; ~an ...
-
... 1).dup}.play //tap on microphone in 16 beat and move mouse around... {(NTube.ar(SoundIn.ar,`[0.97,1.0,1.0,1.0,1.0,0.97],`[0.5,MouseY.kr(-1.0,1.0),0.2,-0.4],`([0.01,0.02,0.01,0.005,0.05]*MouseX.kr(0.001,1.0,'exponential')))*0.5).dup}.play // ...
-
... lue]; }) }); ) ( // create some input signal - play is optional Ndef(\guitar, { SoundIn.ar(0) }).play; ) ( // we use the results of our analyzers to modify the markov // transition matrix to reflect our playing That.freqTime(\thatGuitar, in ...
-
... in(0.01, 1, 0.667, 1.25)}, '/tr'); {SendTrig.kr(Impulse.kr(40), 0, Amplitude.kr(SoundIn.ar, 0.1, 0.4).lagud(0.1, 0.5)); DC.ar(0)}.play; }; ) ⧉ ✔ knots examples by jhr // real knots, finally. ( var width = 500, height = 400, rate = 0.005; va ...