Having trouble stopping my music layers go out of sync.
The system works by fading in the next layer of music, whilst fading out the previous layer. Effectively swapping layers. But during the overlapped crossfade, i can hear there’s a slight delay. Please see screenshot.
All assets are non-streaming. I’ve also set the volumes to never dip below -75 which i’ve read could cause this issue.
I also have several parameters that add momentary filters to the music, or increase the wet track automation. Not sure why they would affect the sync but thought it worth mentioning.
Hmm… If you remove the volume automation from the audio tracks in your parent event, do the various tracks play perfectly in sync? Or are they out of sync at certain points in time?
This strongly suggests that the sample data associated with your events is not being loaded in time for the events to play.
Have you enabled the “Preload Sample Data” setting for the event emitter or bank loader, or enabled “Load Bank Sample Data” in FMOD’s initialization settings? Any of these settings can cause the sample data to be loaded into memory in advance, reducing latency when the event instance is played if done with enough advance notice.
Yes, of course! Being able to pick which banks’ content should be loaded is what the bank loader component is for. Indeed, it’s the purpose of banks, themselves.