AudioChannelMixer
Combines multiple audio streams into a single, multichannel audio stream.
Memory category | Internal |
---|
Member index 5
Description
AudioChannelMixer mixes multiple audio streams into a single, multichannel stream. It provides one combined Input pin, one Output pin, as well as the following secondary input pins, all of which can be connected to/from by Wires: Left, Right, Center, SurroundLeft, SurroundRight, Sub, BackLeft, BackRight, TopLeft, TopRight, TopBackLeft, and TopBackRight.

History 7
- 667 Change Tags of AudioChannelMixer from [NotBrowsable] to []
- 662 Add GetOutputPins
- 662 Add GetInputPins
- 660 Add WiringChanged
- 660 Add GetConnectedWires
- 660 Add Layout
- 660 Add AudioChannelMixer
Members 5
GetConnectedWires
Parameters (1) | ||
---|---|---|
pin | string | |
Returns (1) | ||
Instances |
Returns an array of Wires that are connected to the specified pin.
Thread safety | Unsafe |
---|
History 1
- 660 Add GetConnectedWires
GetInputPins
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Array |
Returns a table of strings indicating which input pins are available for Wire.TargetName:
"Input"
"Left"
"Right"
"Center"
"SurroundLeft"
"SurroundRight"
"BackLeft"
"BackRight"
"Sub"
"TopLeft"
"TopRight"
"TopBackLeft"
"TopBackRight"
Thread safety | Unsafe |
---|
History 1
- 662 Add GetInputPins
GetOutputPins
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Array |
Returns a table containing one string, "Output"
, indicating the output
pin available for Wire.SourceName.
Thread safety | Unsafe |
---|
History 1
- 662 Add GetOutputPins
Layout
Type | Default | |
---|---|---|
AudioChannelLayout | Stereo |
Controls the output channel layout to be mixed to. The Input pin of
AudioChannelMixer is always forwarded "as-is" to Output, but
depending on the value of Layout
:
- For Mono, the Center pin consumes audio streams.
- For Stereo, the Left and Right pins consume audio streams.
- For Quad, the Left, Right, BackLeft, and BackRight pins consume audio streams.
- Surround_5 is the same as
Quad
, plus Center consumes an audio stream. - Surround_5_1 is the same as
Surround_5
, plus Sub consumes an audio stream. - Surround_7_1 is the same as
Surround_5_1
, plus SurroundLeft and SurroundRight consume audio streams. - For Surround_7_1_4, all secondary input pins consume audio streams.
Thread safety | ReadSafe |
---|---|
Category | State |
Loaded/Saved | true |
WiringChanged
Parameters (4) | |
---|---|
connected | bool |
pin | string |
wire | Wire |
instance | Instance |
Event that fires after a Wire becomes connected or disconnected, and that Wire is now or was previously connected to a pin on the AudioChannelMixer and to some other wirable instance.
Thread safety | Unsafe |
---|
History 1
- 660 Add WiringChanged