Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX] Chart Editor/Gameplay: Fixes countdown and audio artifacts with offsets #3384

Merged
merged 4 commits into from
Sep 30, 2024

Conversation

Kade-github
Copy link
Contributor

Does this PR close any issues? If so, link them below.

Don't think anyone uses these so no.

Briefly describe the issue(s) fixed.

Fixes an issue with offsets that would cause it to mass resync vocals, or go forward in time and back really quickly. Causing a lot of artifacts, lagging the game, and being unpleasant.

This also fixes the song starting before the countdown (due to the offset).

Include any relevant screenshots or videos.

This shows blammed at +1 second of instrumental offset.

https://github.com/user-attachments/assets/021e5b06-f67c-491a-8e17-d77bddf9c8be
(2nd clip is accidently the normal version of blammed instead of hard, but the point stands)

@Kade-github Kade-github marked this pull request as draft September 19, 2024 07:28
@Kade-github
Copy link
Contributor Author

Draft rn as i'm still fixing some weird stuff

@EliteMasterEric EliteMasterEric added the status: pending triage The bug or PR has not been reviewed yet. label Sep 19, 2024
@Kade-github Kade-github marked this pull request as ready for review September 19, 2024 08:20
use the new bool to tell if we should start the song

add a public static bool to countdown: finished
redundant trace removal
Fix a tiny little issue with vocal resync @ start
@Kade-github
Copy link
Contributor Author

squashed a bunch of commits to make it less spammy on commits

@Kade-github
Copy link
Contributor Author

The last commit was to kind of fix a nasty bug with offsets that causes vocals to be desynced, to fix this i made the tolerance for resyncVocals 5 instead of 100. Didn't seem to affect me that harshly, but it might on lower end devices. I tested on HTML5 and it went well so be aware.

@EliteMasterEric EliteMasterEric added status: accepted Approved for contribution. If it's not already merged, it may be merged on a private branch. and removed status: pending triage The bug or PR has not been reviewed yet. labels Sep 22, 2024
@EliteMasterEric EliteMasterEric added this to the 0.5.1 milestone Sep 22, 2024
@EliteMasterEric EliteMasterEric self-assigned this Sep 22, 2024
@EliteMasterEric EliteMasterEric added the type: minor bug Involves a minor bug or issue. label Sep 22, 2024
@EliteMasterEric EliteMasterEric changed the base branch from main to develop September 25, 2024 12:56
@Burgerballs
Copy link
Contributor

i find it funny how my sync fix also fucks with the audio, epic pr tho!

@ninjamuffin99 ninjamuffin99 merged commit f9186b6 into FunkinCrew:develop Sep 30, 2024
@Kade-github Kade-github deleted the offset-fixer branch October 1, 2024 22:19
@Kade-github Kade-github restored the offset-fixer branch October 1, 2024 22:19
@Kade-github Kade-github deleted the offset-fixer branch October 1, 2024 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: accepted Approved for contribution. If it's not already merged, it may be merged on a private branch. type: minor bug Involves a minor bug or issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants