Home Contents | # audio.sources | Audio | Core4 Lua Commands

## SYNOPSIS

src = audio.sources()

## DESCRIPTION

Returns a list of recording sources supported by the hardware. Use audio.source() with one of the returned names to select a recording source.

## RETURN VALUE

An array of strings, where each entry is the name of a recording source.

## NOTES

The controllers Teratronik V4 and Teratronik V4½ use a WM9705 AC97 codec. Here is a list of input sources:

Mic | Microphone input.
Line | Line input.
Mix | The output of the internal AC97 mixer.
Mix Mono | Ditto, but mixed down to mono.

## EXAMPLE

>
print(audio.sources())
1 Mic 2 Line 3 Mix 4 Mix Mono

## SEE ALSO

audio.beep, audio.buzz, audio.mix, audio.mixers, audio.play, audio.source, audio.vol