# Global volume control?

**URL:** https://qa.fmod.com/t/global-volume-control/10786
**Category:** FMOD Studio
**Created:** [May 1, 2013, 10:28pm UTC](https://qa.fmod.com/t/global-volume-control/10786 "2013-05-01T22:28:09Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rippon](https://avatars.discourse-cdn.com/v4/letter/r/bcef8e/32.png) [@rippon](https://qa.fmod.com/u/rippon)
#### Post date: [May 1, 2013, 10:28pm UTC](https://qa.fmod.com/t/global-volume-control/10786/1 "2013-05-01T22:28:09Z")

</div>

Is there a way to adjust master volume globally? I have an in-game volume control for music and sound effects, and I’d like to hook it up to FMOD but I’m not seeing any obvious way to do it. I could track all my in-progress events and change their volumes in theory, but that seems like quite a pain for something that is so common, so I’m guessing I’m just unaware of some easier method?

---

<div class="post-metadata">

### Author: ![brett](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/brett/32/261_2.png) [@brett](https://qa.fmod.com/u/brett)
#### Post date: [May 10, 2013, 1:34am UTC](https://qa.fmod.com/t/global-volume-control/10786/2 "2013-05-10T01:34:49Z")

</div>

Hi rippon,  
Try using System::getMixerStrip and MixerStrip::setFaderLevel

regards,  
Brett

---

<div class="post-metadata">

### Author: ![rippon](https://avatars.discourse-cdn.com/v4/letter/r/bcef8e/32.png) [@rippon](https://qa.fmod.com/u/rippon)
#### Post date: [May 11, 2013, 5:18am UTC](https://qa.fmod.com/t/global-volume-control/10786/3 "2013-05-11T05:18:19Z")

</div>

What should I pass for the ID? And/or will there be any documentation coming with the update on the 17th?

---

<div class="post-metadata">

### Author: ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://qa.fmod.com/u/Guest)
#### Post date: [May 28, 2013, 10:00am UTC](https://qa.fmod.com/t/global-volume-control/10786/4 "2013-05-28T10:00:11Z")

</div>

Unfortunately we don’t currently have a way to get the master bus ID via the UI.

I recommend you load the MasterBank.bank.strings file and the use System::lookupBusID to get the master bus ID, as follows:

```auto
FMOD::Studio::Bank stringsBank;
ERRCHECK( system.loadBank("Master Bank.bank.strings", &stringsBank) );

FMOD::Studio::ID masterBusID;
ERRCHECK( system.lookupBusID("/", &masterBusID) ); // the master bus path is "/"

FMOD::Studio::MixerStrip masterBus;
ERRCHECK( system.getMixerStrip(&masterBusID, FMOD_STUDIO_LOAD_PROHIBITED, &masterBus) );
```

Another way to get the master bus ID is to use the File-\>Export GUIDs… command, and then open the GUIDs-mixer.txt file in your project’s Build directory. This contains a list of bus IDs and paths, which looks like this:

```auto
{1525b2f6-23bd-4aaf-9c65-e38e9b175316} /
{1db01284-1917-4238-b377-ad8e4e39c72f} /Reverb
{b27ba7df-3cde-4196-9847-cb4bfcc3145f} /General Group
{44c7fc4c-a7e2-4e2f-ae97-4570c28ae962} /Dialog Group
{7f639735-fb1b-42fd-af37-1eb6de1cf9e4} /Dialog Group/Radio
{5738c392-1303-4ff5-98cd-22831db17fe2} /Dialog Group/Base Dialog
```

The master bus path is “/”, so the corresponding line in GUIDs-mixer.txt (the first line in the example above) has the master bus ID.
