8-channel synchronized loop playback with Super WAV Trigger

Hi everyone :smiley: ,

I hope you’re doing well. In the past, I’ve had success using the Tsunami Super WAV Trigger to play short audio clips using methods like trackPlayPoly() or trackPlaySolo(). These methods have worked perfectly for my needs. However, I’m currently facing some challenges when attempting to play multichannel audio in synchronized loops.

My specific goal is to utilize the Tsunami Super WAV Trigger for 8-channel multichannel audio. I’ve implemented the SurroundSound example, and it appears to be functioning correctly. However, I’m running into an issue where I can only get it to play once, and I can’t seem to loop it.

I’ve primarily been using the trackPlayPoly() method to play the audio tracks. While this method works initially, I’ve noticed that the audio synchronization deteriorates after a few repetitions.

I’ve gone through the documentation provided, but I’m wondering if there’s something I might have missed. I would greatly appreciate any suggestions or guidance from the community to help me solve this problem.

Thank you all so much for your time and support. Your assistance means a lot to me.

Josué

The basic idea is to first load the 8 tracks individually, specifying a different output for each track and locking it so that the voice won’t get stolen:

trackLoad(track number, output number, lock = true);

Then set the loop flag for each track:

trackLoop(track number, enable = true);

Once this is done for all 8 tracks, then issue the command:

resumAllInSync();

Now all tracks will start looping in sample sync. In order for them to remain in sync after the first loop, all 8 tracks must be EXACTLY the same length (number of samples.)

Hope this helps.