Magicolo / uPD

A relatively complete alternative to Unity's audio engine using Pure Data and LibPD.
MIT License
72 stars 6 forks source link

Framerate independent event #7

Open ATHellboy opened 7 years ago

ATHellboy commented 7 years ago

I receive bang from pure data with LibPD.Bang event then I play the sound by FMOD.

The problem is I receive bang frequently, for example each 500 ms but event doesn't trigger in specific length of frame. Usually length change 1 frame less or more.

Now I want to know any solution for this problem ? For example framerate independent event.

Because there i tempo for play each sound and just 1 frame ruins rhythm.

I need to sync sounds for playing by each separate bang.