# Help with 3D Sound and Mixer in Video Player

**URL:** https://qa.fmod.com/t/help-with-3d-sound-and-mixer-in-video-player/21126
**Category:** Unity
**Tags:** unity
**Created:** [January 20, 2024, 2:33pm UTC](https://qa.fmod.com/t/help-with-3d-sound-and-mixer-in-video-player/21126 "2024-01-20T14:33:27Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Zych07](https://avatars.discourse-cdn.com/v4/letter/z/3d9bf3/32.png) [@Zych07](https://qa.fmod.com/u/Zych07)
#### Post date: [January 20, 2024, 2:33pm UTC](https://qa.fmod.com/t/help-with-3d-sound-and-mixer-in-video-player/21126/1 "2024-01-20T14:33:27Z")

</div>

Hi everyone,

I’m relatively new to FMOD and could use some help with implementing 3D sound in Unity using FMOD. I’ve successfully integrated sound from a VideoPlayer using example code _(“11. Scripting Examples | Video Playback”)_, but I’m struggling to make it 3D. While I’ve managed to set sound parameters in the “createSound” method, I can’t figure out how to change the sound position; it’s always at (0,0,0).

Additionally, I’m looking to connect the sound source to the mixer in FMOD Studio for volume control, but I’m unsure about the process.

I’m just starting with this plugin, and this is the only part giving me trouble. Any tips or guidance would be greatly appreciated.

Thanks in advance!

---

<div class="post-metadata">

### Author: ![Leah\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/leah_fmod/32/3685_2.png) [@Leah\_FMOD](https://qa.fmod.com/u/Leah_FMOD)
#### Post date: [January 25, 2024, 3:56am UTC](https://qa.fmod.com/t/help-with-3d-sound-and-mixer-in-video-player/21126/2 "2024-01-25T03:56:44Z")

</div>

> [@Zych07](#):
>
> While I’ve managed to set sound parameters in the “createSound” method, I can’t figure out how to change the sound position; it’s always at (0,0,0).

All you should need to do is make sure use the FMOD\_MODE [`FMOD_3D`](https://www.fmod.com/docs/2.02/api/core-api-common.html#fmod_3d) when creating your sound. Then, when the sound is playing on a channel, you can use [`ChannelControl::set3DAttributes`](https://www.fmod.com/docs/2.02/api/core-api-channelcontrol.html#channelcontrol_set3dattributes) to set its position.

> [@Zych07](#):
>
> Additionally, I’m looking to connect the sound source to the mixer in FMOD Studio for volume control, but I’m unsure about the process.

This is where it gets a little more complex. Studio uses the [Studio API](https://www.fmod.com/docs/2.02/api/studio-guide.html), which is the higher level system built on the lower level [Core API](https://www.fmod.com/docs/2.02/api/core-guide.html). It is possible to directly interact with the Core API when using the Studio API, which, is what the Video Player example does, but some Studio API features may not be available to you, especially those that are set up at design time in Studio.

That said, if you’re only wanting to control volume using a Bus, it should be a fairly simple matter of getting the desired bus, getting its underlying ChannelGroup with [`Studio::Bus::getChannelGroup`](https://www.fmod.com/docs/2.02/api/studio-api-bus.html#studio_bus_getchannelgroup), and then playing your video player sound on that channel group. Doing so will route the sound’s signal to that bus, meaning that the bus’ effects and volume should affect the sound as well.

---

<div class="post-metadata">

### Author: ![ninoko](https://avatars.discourse-cdn.com/v4/letter/n/ecb155/32.png) [@ninoko](https://qa.fmod.com/u/ninoko)
#### Post date: [February 17, 2025, 10:47am UTC](https://qa.fmod.com/t/help-with-3d-sound-and-mixer-in-video-player/21126/3 "2025-02-17T10:47:17Z")

</div>

But beaware that you might have to call [`Studio::Bus::lockChannelGroup`](https://www.fmod.com/docs/2.02/api/studio-api-bus.html#studio_bus_lockchannelgroup) and wait for the channel group to become available before calling [`Studio::Bus::getChannelGroup`](https://www.fmod.com/docs/2.02/api/studio-api-bus.html#studio_bus_getchannelgroup) and assigning it to the channel.
