0
0

Hi,
I’m trying to synchronize several samples together for musical purposes.
What is the best way to precisely synchronize several samples with Fmod? Callbacks seem not to be precise enough.
Thanks for your help!

  • You must to post comments
0
0

I would recommend using software mixing (not FSOUND_HW2D or FSOUND_HW3D), then playing the sounds/streams paused, then unpausing them from a DSP callback. That would allow you to get exact synchronization.

In fmod ex it is a bit simpler, you just have to put System::lockDSP and System::unlockDSP around your playsound calls.

  • You must to post comments
0
0

Ok, thank you
Now, what if I want a sample to start playing precisely when another one reaches its end (without hearing any latency…)

  • You must to post comments
0
0

The best way to do that is to use FMOD Ex and see realtimestitching example. FMOD 3 doesnt have the gapless stitching flexibility that FMOD Ex does.
Also for synchronized starts that is easier with simply calling System::lockDSP / unlockDSP.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.