Sync actions to audio in a rhythm game

Hi,

Thank you for sharing the information.

Could I please grab more info? What version of FMOD Unity integration are you using? How large is the offset that you are observing between the beat and the user input timeline position?

Due to the asynchronous nature of Studio, there’s usually a very slight difference in timing between most commands being called via the API, and being executed by Studio.

Studio also has a default update period of 20ms, which means that the timeline position will update every 20ms instead of constantly. Both of these can contribute to the beat position being slightly offset from the time retrieved from getTimelinePosition.

For more information, you could also have a look at a similar post here:

Hope this helps, let me know if you have any questions.