AudioIn read audio input

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, as AudioIn may be deprecated and removed at some point in the future.

channel - input channel number to read.

Channel numbers begin at 1.

See also: In, ServerOptions, SoundIn

// watch the feedback

// patching input to output

(

SynthDef("help-AudioIn",{ arg out=0;

Out.ar(out,

AudioIn.ar(1)

)

}).play;

)

// stereo through patching from input to output

(

SynthDef("help-AudioIn",{ arg out=0;

Out.ar(out,

AudioIn.ar([1,2])

)

}).play;

)