# How do I ensure that multiple channels stay in sync?

**URL:** <https://qa.fmod.com/t/how-do-i-ensure-that-multiple-channels-stay-in-sync/22741>\
**Category:** FMOD Engine\
**Tags:** csharp\
**Created:** [March 27, 2025, 6:53pm UTC](https://qa.fmod.com/t/how-do-i-ensure-that-multiple-channels-stay-in-sync/22741 "2025-03-27T18:53:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![11clock](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/11clock/32/8270_2.png) [@11clock](https://qa.fmod.com/u/11clock)\
**Post date:** [March 27, 2025, 6:53pm UTC](https://qa.fmod.com/t/how-do-i-ensure-that-multiple-channels-stay-in-sync/22741/1 "2025-03-27T18:53:25Z")

</div>

My game has a layered soundtrack, and I play each layer in a separate channel. I want to make sure that each channel stays in sync with each other. How do I ensure this?

The track plays throughout the entire duration of the game, and I raise and lower volumes of each channel depending on context.

---

<div class="post-metadata">

**Author:** ![li\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/li_fmod/32/6577_2.png) [@li\_fmod](https://qa.fmod.com/u/li_fmod)\
**Post date:** [April 1, 2025, 4:16am UTC](https://qa.fmod.com/t/how-do-i-ensure-that-multiple-channels-stay-in-sync/22741/2 "2025-04-01T04:16:33Z")

</div>

Hi,

Thank you for sharing the information.

> [@11clock](#):
>
> My game has a layered soundtrack, and I play each layer in a separate channel.

Could I please get some screenshots of how you set up the event in FMOD Studio? So I can better understand your set up?

> [@11clock](#):
>
> I want to make sure that each channel stays in sync with each other. How do I ensure this?

You could consider using [System::createChannelGroup](https://fmod.com/docs/2.02/api/core-api-system.html#system_createchannelgroup) to create a master channel group so that you can organize all your audio channels under a single parent channel group. Then, use [System::playSound](https://fmod.com/docs/2.02/api/core-api-system.html#system_playsound) to assign individual sound to that master channel group.

To play all channels in sync, you could use [ChannelControl::getDSPClock](https://fmod.com/docs/2.02/api/core-api-channelcontrol.html#channelcontrol_getdspclock) to retrieve the current DSP clock and use [ChannelControl::setDelay](https://fmod.com/docs/2.02/api/core-api-channelcontrol.html#channelcontrol_setdelay) to ensure all channels to playback at the same time.

Hope this helps, please let me know if you have any questions.
