Skip to content

Class · inherits Instance

AudioChannelMixer

Official docs ↗

Combines multiple audio streams into a single, multichannel audio stream.

About AudioChannelMixer

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.

Properties 1

  • Layout: AudioChannelLayoutControls the output channel layout to be mixed to.

    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.

Methods 3

Events 1

  • WiringChangedAudioChannelMixer.WiringChanged:Connect(function(connected, pin, wire, instance))Fires when another instance is connected to or disconnected from the AudioChannelMixer via a Wire.

    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.

AudioChannelMixer also has every member of Instance. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.