-
SoundIn read audio from hardware inputs SoundIn.ar(bus, mul, add) SoundIn is a convenience UGen to read audio from the input of your computer or soundcard. It is a wrapper UGen based on In , which offsets the index such that 0 will always c ...
-
... ble. default: 40 ) // distorts of course - would need scaling { RunningSum .ar( SoundIn .ar) }.play // Running Average over x samples ( { var x = 100; RunningSum .ar( LFSaw .ar, x) * (x.reciprocal) }.play ) // RMS Power ( { var input, numsa ...
-
AudioIn read audio input superclass: SoundIn AudioIn.ar(channel, mul, add) Reads audio from the sound input hardware. This is provided for backwards compatibility with SC2 code . For normal use SoundIn , which has bus numbers beginning at 0 ...
-
... itude - use headphones to prevent feedback. { Pulse .ar(90, 0.3, Amplitude .kr( SoundIn .ar(0))) }.play; ( // use input amplitude to control SinOsc frequency - use headphones to prevent feedback. { SinOsc .ar( Amplitude .kr( SoundIn .ar(0), ...
-
... BLowShelf, BHiShelf, BBandPass, BBandStop s.boot; ( z = { // thru BAllPass .ar( SoundIn .ar([0,1]), MouseX .kr(10,18000, \exponential ), 0.8, // rq 0.5); // mul }.play) z.release; ( z = { // like a bandpass var sig; sig = SoundIn .ar([0,1]) ...
-
... ndPass, BBandStop, BAllPass. s.boot; ( z = { // toy with boost/cut BPeakEQ .ar( SoundIn .ar([0,1]), MouseX .kr(20,20000, \exponential ), 0.8, // rq MouseY .kr(12.0, -12.0, \linear ), 0.5); // mul }.play) z.release; ( z = { // toy with rq BP ...
-
... size - size of FFT frame, must be a power of two ( { var input, kernel; input = SoundIn .ar(0); kernel = Mix .ar( LFSaw .ar([300,500,800,1000]* MouseX .kr(1.0,2.0),0,0.25)); // must have power of two framesize Convolution .ar(input,kernel, ...
-
... BandStop, BAllPass. 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 ...
-
... BBandStop, BAllPass. 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 w ...
-
... 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 ...