0
0

Hello,

I have been working on a Guitar Hero knockoff via C#/XNA that requires up to four audio tracks being played at a single time. On most (more than 50%) of the time I load up a song containing all 4 tracks, they all start and remain in sync for the whole song. Of course, there are instances where one or two of the tracks will start slightly later than the rest, which then requires a restart of the song.

I’m assuming this happens when the PC is under load prior to starting the 4 tracks. To combat this, I started the tracks as paused, slept the program for a second, then unpaused them all immediately after. Sadly, the problem still persists.

I can probably get around this with some hackey usage of set position, but I’d like to know if there is any snazzy way to ensure a set of audio streams will always remain in sync.

Thanks for reading!
-Melonman67

  • You must to post comments
0
0

The most common approach is to bundle all of the tracks as a multichannel file. Search for multichannel wav here in the forums and you’ll find lots of talk about how to do it.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.