2394425147 / astrodx

931 stars 39 forks source link

Any time warping will cause wrong chart offset #127

Open Gennadiyev opened 4 months ago

Gennadiyev commented 4 months ago

Describe the bug When using Practice mode, despite the chart playback speed and song pitch being scaled by a user-defined factor, apparently there is a major desync between song and chart.

To Reproduce Steps to reproduce the behavior:

  1. Start any chart.
  2. Enter practice mode mid-game.
  3. Set any start pos & end pos & playback rate < 1.
  4. Playback by pressing the top-left button.

Expected behavior Synced playback of both song and chart.

Screenshots

https://github.com/user-attachments/assets/a67409ec-9666-4e40-914e-bef79d0761fd

Device specs

I strongly appreciate the efforts that the developers put into making this mode possible. It's an incredible feature that few rhythm games (and emulators for them) are able to implement and make it a breeze for the users to use. Great job! 👍🏻

2394425147 commented 4 months ago

Will look into this as soon as time allows, thanks!

Gennadiyev commented 4 months ago

Thank you so much for the timely reply. FYI, #122 might be related to this. Basically Time Warp is flawed:

Will keep testing to help identify this issue.