Class Audio.Input

implements Audio.Source

An audio system input.

Constructors

Input(string name, string connection) create a new system input

Properties

output Audio.Connection outputs as an array

Methods

connect(regex connection) connect any system port whose name matches the given regular expression
connect(string connection) connect a system port with the given name

Constructor Documentation


Input(string name, string connection)

Create a new system input

Parameters

Property Documentation


array output

Audio.Connection outputs as an array. Adding or removing elements to this array has no effect on the underlying audio component.

Method Documentation


void connect(regex connection)

Connect any system port whose name matches the given regular expression

Parameters


void connect(string connection)

Connect a system port with the given name

Parameters



Creative Commons Logo This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.