Search Unity

Audio 5.1 surround sound down-mixed to stereo on Mac / OS

Discussion in 'Audio & Video' started by tempostudios, May 1, 2019.

  1. tempostudios

    tempostudios

    Joined:
    Jan 31, 2019
    Posts:
    5
    Hi,

    I have a 5.1 surround sound mix working correctly on Windows. It's set up like this:

    6 Audio sources
    6 Audio Clips - Each clip is a .wav with 6 channels and audio only on one channel. The other 5 are silent.
    1 Audio listener

    On Windows, each AudioSource plays audio on one channel -- (i.g. AudioSource1 plays sound only on channel 1, AudioSource 5 only on channel 5, etc.)

    But ! On mac, the identical setup plays the same .wav files downmixed to stereo (i.g. AudioSource1 plays sounds on channel 1, AudioSource 6 plays audio on channel 2)

    The project audio settings are set to 5.1 Surround. The behaviour seems the same for all build targets.

    Details: Unity 2018.3.5f1

    Thanks.
     
  2. tempostudios

    tempostudios

    Joined:
    Jan 31, 2019
    Posts:
    5
  3. Docaroo

    Docaroo

    Joined:
    Nov 7, 2017
    Posts:
    82
    I know that Unity will change the AudioSpeakerMode based on the actual driver capabilites of the sound deice it's playing through.

    So if your sound device is only set to Stereo then Unity will ignore your "5.1 Surround" setting in project settings and everything will be Stereo.