# Dolby Atmos output to home theatre from Unity

**URL:** <https://qa.fmod.com/t/dolby-atmos-output-to-home-theatre-from-unity/19537>\
**Category:** Unity\
**Created:** [November 16, 2022, 10:26am UTC](https://qa.fmod.com/t/dolby-atmos-output-to-home-theatre-from-unity/19537 "2022-11-16T10:26:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomSlater](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/tomslater/32/4233_2.png) [@TomSlater](https://qa.fmod.com/u/TomSlater)\
**Post date:** [November 16, 2022, 10:26am UTC](https://qa.fmod.com/t/dolby-atmos-output-to-home-theatre-from-unity/19537/1 "2022-11-16T10:26:04Z")

</div>

Hi there,  
Hi there,

I’d like to ask the community about outputting Dolby Atmos to a home theatre system from a game built in Unity.

So far I have set everything up in FMOD and Windows - FMOD is outputting 7.1.2 to my AVR. This is all working fine.

However when I run the game Unity only outputs L, R and LFE (channels 1, 2 and 4).

My AVR says it is receiving Dolby Atmos but it clearly isn’t.

I’m fairly confident I have FMOD and Windows set up correctly, but feel I am missing some settings in Unity 3D. Or some build settings in FMOD? A missing Unity plugin maybe?

I haven’t found anything in the Unity documentation about enabling Atmos.

Cheers,

Tom

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [November 17, 2022, 3:04am UTC](https://qa.fmod.com/t/dolby-atmos-output-to-home-theatre-from-unity/19537/2 "2022-11-17T03:04:29Z")

</div>

Hi Tom,

A setting to check would be the `Project Platform` under `Unity Toolbar > FMOD > Edit Settings > Platform Specific > Project Platform` which will set the Speaker mode for the FMOD System:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/a/a8c1a8fb64c15c56ce39ae0d7668eee5fced538e.png)

Could I also grab the `Output Device` you have selected in `Preferences > Audio`, and the `Surround Speaker Mode` you have set for the target platform under `Preferences > Build`

Hope this helps!

---

<div class="post-metadata">

**Author:** ![TomSlater](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/tomslater/32/4233_2.png) [@TomSlater](https://qa.fmod.com/u/TomSlater)\
**Post date:** [November 17, 2022, 5:35pm UTC](https://qa.fmod.com/t/dolby-atmos-output-to-home-theatre-from-unity/19537/3 "2022-11-17T17:35:27Z")

</div>

Hi Connor,

Yes, that’s helped a lot. Thank you. So I’m getting 7.1 out of Unity now instead of stereo which is good progress

Although Unity is still not outputting the full 7.1.4 with hiet channels, but FMOD does output the height channels

THese are the settings I have after following your instruction:

 ![Screenshot 2022-11-17 172819.jpg](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/b/bcff955d4b5dd9a8023e6f4e8a68b1e5ef9dfaad.jpeg) ![Screenshot 2022-11-17 172914.jpg](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/e/ed6f76db2c9b6d52fc5d35ac73a06bcaedbe4906.jpeg) ![Screenshot 2022-11-17 173209.jpg](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/5/51a95971d85437364e9e270a26f99dd70ca0fb74.jpeg)

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [November 21, 2022, 11:15pm UTC](https://qa.fmod.com/t/dolby-atmos-output-to-home-theatre-from-unity/19537/4 "2022-11-21T23:15:01Z")

</div>

Apologies I missed one more setting:

First, will want to add the `Windows` platform by clicking the `+`:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/f/febd1ee9b69012aa67e234a0a19c1fd455e2d52f.png)  
Then set the `Output Mode` to `Windows Sonic`:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/9/9ea342ebc614ba6ebd55ad0affd62f691ca552f2.png)

If that does not help, try this as well:

It might be worth trying [Unity Integration | Connecting Using Live Update](https://fmod.com/docs/2.02/unity/user-guide.html#connecting-using-live-update). You can check that the output is making it back to all the channels. Another test would be to call the following function in `Start()`:

```auto
FMODUnity.RuntimeManager.CoreSystem.getSoftwareFormat(out int sample, out FMOD.SPEAKERMODE speaker, out int num);
Debug.Log(speaker); 

```

This will just confirm that the `CoreSystem` is in the right configuration. Let me know how that goes!

---

<div class="post-metadata">

**Author:** ![TomSlater](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/tomslater/32/4233_2.png) [@TomSlater](https://qa.fmod.com/u/TomSlater)\
**Post date:** [November 22, 2022, 11:26am UTC](https://qa.fmod.com/t/dolby-atmos-output-to-home-theatre-from-unity/19537/5 "2022-11-22T11:26:51Z")

</div>

Thank you Connor,

I can confirm with live update on, we are receiving all 12 channels through the FMOD Master Bus.  
However, we can only monitor in 7.1. We are sure the AVR is set up correctly, because when we play back in FMOD, we can monitor in 7.1.4.

 ![Screenshot_20221122_111051](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/2/2b3256821ceeaf8d203b44917707c5517eaea341.png)

We added Windows in the ‘platform specific’ section of the FMOD Settings in Unity as you suggested, and selected Windows Sonic as the output.

We weren’t entirely sure where to put the function call you suggested - is that a function definition which we should call with input arguments in the Start() function of the Studio Event Emitter script?

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [November 23, 2022, 11:29pm UTC](https://qa.fmod.com/t/dolby-atmos-output-to-home-theatre-from-unity/19537/6 "2022-11-23T23:29:33Z")

</div>

> [@Connor\_FMOD](#):
>
> Another test would be to call the following function in `Start()`:
> 
> ```auto
> FMODUnity.RuntimeManager.CoreSystem.getSoftwareFormat(out int sample, out FMOD.SPEAKERMODE speaker, out int num);
> Debug.Log(speaker); 
> 
> ```
> 
> This will just confirm that the `CoreSystem` is in the right configuration. Let me know how that goes!

This can be called in any `Start()` function connected to a `gameObject` in your scene:

```auto
void Start()
{
    FMOD.SPEAKERMODE speaker = FMOD.SPEAKERMODE.DEFAULT;

	if (FMODUnity.RuntimeManager.IsInitialized)
        FMODUnity.RuntimeManager.CoreSystem.getSoftwareFormat(out int sample, out speaker, out int num);

    Debug.Log("Current Speaker setup: " + speaker);
}

```

Is this only happening in Editor? If you make a build of the project does it output correctly?

---

<div class="post-metadata">

**Author:** ![TomSlater](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/tomslater/32/4233_2.png) [@TomSlater](https://qa.fmod.com/u/TomSlater)\
**Post date:** [November 24, 2022, 10:19am UTC](https://qa.fmod.com/t/dolby-atmos-output-to-home-theatre-from-unity/19537/7 "2022-11-24T10:19:09Z")

</div>

Thanks Connor, I’ll give this code a try and let you know what happens.

Good point about trying a build - I’ve only tried this in the editor so far so maybe it builds correctly - I’ll let you know,

Cheers

---

<div class="post-metadata">

**Author:** ![TomSlater](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/tomslater/32/4233_2.png) [@TomSlater](https://qa.fmod.com/u/TomSlater)\
**Post date:** [November 29, 2022, 2:18pm UTC](https://qa.fmod.com/t/dolby-atmos-output-to-home-theatre-from-unity/19537/8 "2022-11-29T14:18:21Z")

</div>

Hi Connor,

I’ve tried a build of the project and can confirm that is it working fine - all 12 channels working and in the correct 7.1.4 order.

So it seems like I can author the Atmos bed in Reaper, then import this into FMOD and add audio objects as necessary. I just can’t monitor Atmos properly in Unity until I build the project.

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [December 4, 2022, 11:16pm UTC](https://qa.fmod.com/t/dolby-atmos-output-to-home-theatre-from-unity/19537/9 "2022-12-04T23:16:40Z")

</div>

Thank you for letting me know.

That is interesting, I will continue to investigate.
