-
... \lin, 0]); Ndef(\fb).addSpec(\lpf, [0.01, 4, \exp, 0]); Ndef(\fb, { // var in = SoundIn.ar([0, 1]) * \gain.kr(0); var in = SoundIn.ar(0) * \gain.kr(0); var rms = RMS.ar(in, \lpf.kr(0.01)); // var rms = Amplitude.ar(in, 2, 2); // var rms = E ...
-
... nce methods Examples s.boot; ( z = { // toy around with boost/cut BLowShelf.ar( SoundIn.ar([0, 1]), MouseX.kr(40, 6000, \exponential), 1.0, // rs MouseY.kr(24.0, -24.0, \linear), 0.5); // mul }.play) z.release; ( z = { // toy around with rs ...
-
... ance methods Examples s.boot; ( z = { // toy around with boost/cut BHiShelf.ar( SoundIn.ar([0, 1]), MouseX.kr(2200, 18000, \exponential), 1.0, // rs MouseY.kr(18.0, -18.0, \linear), 0.5); // mul }.play) z.release; ( z = { // toy around with ...
-
... ance Methods Inherited instance methods Examples ( { var input, kernel; input = SoundIn.ar(0); kernel = Mix.ar(LFSaw.ar([300, 500, 800, 1000] * MouseX.kr(1.0, 2.0), 0, 1.0)); // must have power of two framesize Convolution.ar(input, kernel, ...
-
... / pitch shift input - USE HEADPHONES to prevent feedback. play({ PitchShift.ar( SoundIn.ar([0, 1]), // stereo audio input 0.1, // grain size MouseX.kr(0, 2), // mouse x controls pitch shift ratio 0, // pitch dispersion 0.004 // time dispers ...
-
... kr(100,1000),0,0.1); //in = Mix(SinOsc.ar([440,MouseX.kr(440,880)],0,0.1)); in= SoundIn.ar; fft = FFT(LocalBuf(2048), in); dissonance=SensoryDissonance.kr(fft); dissonance.poll; Out.ar(0,Pan2.ar(0.1*Blip.ar(100,(dissonance.sqrt)*200))); }.p ...
-
... t careful with amplitude of input (see better example below) {Saw.ar(Tartini.kr(SoundIn.ar)[0],0.2)}.play ( a= SynthDef("testtartini",{arg infreq=440; var in, freq, hasFreq, out; in=SinOsc.ar(infreq); # freq, hasFreq = Tartini.kr(in); freq. ...
-
... ee; ⧉ ✔ // next example b = Buffer.read(s, ExampleFiles.child); ( { var input = SoundIn.ar(0); var framesize = 2048; // must have power of two Convolution2L.ar(input, b, 0, 512, 1, 0.5); }.play ) ⧉ ✔ // another example ( // must have power ...
-
... Buffer.sendCollection(s, a, 1); d = Buffer.sendCollection(s, b, 1); ) { LTI.ar(SoundIn.ar([0, 1]), c.bufnum, d.bufnum) }.play // Note- you cannot update buffers during playback unless you stay within the initially allocated sizes ( a = Arr ...
-
... es at 5 Hz, talk through it to modulate from base rate... { Pan2.ar(HairCell.ar(SoundIn.ar,5.0,100),0.0) }.play; //sweeps and beeps { Pan2.ar(HairCell.ar(Saw.ar(MouseX.kr(1,10)),0,MouseY.kr(0,10000)),0.0) }.play; //store can run out of chem ...