-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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] Fixes the Song repeating infinitely due to the Vocals being longer than the Instrumental #3775
base: develop
Are you sure you want to change the base?
[BUGFIX] Fixes the Song repeating infinitely due to the Vocals being longer than the Instrumental #3775
Conversation
* changelog sweep * Resolve a few conflicts * Resolve more conflicts * DadBattle * Re-add @ianharrigan * Add links to 0.5.0 * Add links and contributors to 0.4.1 and 0.4.0 * Add links to 0.3.3 and finishing touches * Add and polish 0.5.3 changes * Make spacing consistent
I wonder if this affects issue #2921 too |
I guess? Since I made it so that the shortest audio is used to determine the end of the song, haven't even seen the issue let alone test it at all lol |
it might be better if you did the longest audio instead of shortest, or just cap them all at the instrumental length, cuz I can imagine a case where a composer cuts one vocal file down in length cuz they stop singing before the end of the song, and then the song ends entirely because that one file is shorter |
Probably, though I am unsure as to how I would go about extending the timer of the audio files without outright making the bug happen again, since longer voice files were the reason the infinite song bug happened in the first place (courtest of NotHyper for finding it out). Flixel already handled the shorter audio files via And no, pausing/stopping the audio did not work. I have tried it already. It triggered |
I remember the original solution was to stop the vocals or just turn the volume to 0 when they ended, like seen in the Week 7 source code, but I don’t know if it truely worked well |
yeah if there's anything too short just stop it so it doesn't loop or anything |
Does this PR close any issues? If so, link them below.
3142 and at least 7 duplicate issues that I wont even bother to list
Briefly describe the issue(s) fixed.
The dastardly
resyncVocals
is at it again! I've simply set theendTime
variable of both Vocals and Inst to the same value, specifically to the lower of the two. That way no song should be repeating infinitely I hope! This was tested on Senpai Erect, which suffered from the issue, and Thorns Erect, which didnt but I wanted to check either wayInclude any relevant screenshots or videos.
2024-10-26.09-59-18.mp4
(ignore me being dogshit at the game)
oh and also i would appreciate more testing on this! it will remain as a draft for a bit since I had only tested it on two songs but feel free to take a gander!