SuperCollider CLASSES

AudioIn

Read audio input.
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.

mul
add

Inherited class methods

Undocumented class methods

*channelOffset

Instance Methods

Inherited instance methods

Examples

Patching input to output

// patching input to output

// beware of the feedback

(
ServerOptions.inDevices.postln;    //  post available audio input devices
s.meter;    // display level meters for monitoring
SynthDef("help-AudioIn", {
    var input = AudioIn.ar(1); // first input
    // delay output to tame feedback in case of microphones are configured:
    Out.ar(0, CombN.ar(input * -25.dbamp, 0.5, 0.5, 0.001))
}).play
)