SuperCollider CLASSES

AudioIn

Read audio input.
Source: /Applications/SuperCollider/SuperCollider.app/Contents/Resources/SCClassLibrary/Common/Audio/AudioIn.sc
Inherits from: SoundIn : Object

Description

Reads audio from the sound input hardware.

NOTE: 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.

Class Methods

*ar (channel = 0, mul = 1, add = 0)

Arguments:

channel

Input channel number to read. Channel numbers begin at 1.

Inherited class methods

Undocumented class methods

*channelOffset

Instance Methods

Inherited instance methods

Examples

Patching input to output

// patching input to output

// watch the feedback

(
SynthDef("help-AudioIn",{ arg out=0;
	Out.ar(out,
		AudioIn.ar(1)
	)
}).play;
)

Stereo through patching from input to output

// stereo through patching from input to output

// watch the feedback

(
SynthDef("help-AudioIn",{ arg out=0;
	Out.ar(out,
		AudioIn.ar([1,2])
	)
}).play;
)