0
0

What is the best way to set FMOD up so that clips from a bank of ~30 looping song stems can be played, stopped, and kept in sync. They all have the same BPM. I am looking to have an interface similar to how the Ableton Live clip view works, except in code. I’ve looked into Designer, but I do not want to have to use the Designer software. What I am building should be able to be easily loaded with clips by other people, not just the bank I’m using now. Note that I want to be able to play all 30 at once, I don’t just want to be able to play one at a time.

Any ideas would be greatly appreciated.

Thanks,
Scott

  • You must to post comments
0
0

Hi Scott welcome to the FMOD Forum.

The best way to do sample accurate sequencing with FMOD is by using Channel::setDelay. This function lets you set the exact sample when the sound should start so you can make all of them start together. That is the most robust solution.

An alternative is to just use System::lockDSP and System::unlockDSP around the playSound calls, this will make sure they all start at exactly the same time, the only downside is if you lock the mixer for too long any sounds which are currently playing will stutter.

  • You must to post comments
0
0

Thanks, Peter. I will try out those functions.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.