TeamRizu / OutFox

The Bug Reporting Repository for OutFox LTS 0.4, Alpha V and Steam Early Access Builds
https://projectoutfox.com
Apache License 2.0
178 stars 3 forks source link

[BUG] chart editor playback rate is broken [in 48khz] #720

Open teleshoes opened 5 months ago

teleshoes commented 5 months ago

Is there an existing issue for this?

Operating System

Linux

CPU

No response

GPU

No response

Storage

No response

Game Version

5.0.0-042

Game Mode

I was using the editor!

Theme

No response

Describe the problem

one more thing that might warrant a separate bug report, but is worth mentioning here in case its somehow related. in the editor, the song options menu behaves as if there are two players, and both players must confirm the options before continuing. this confused me for awhile since i dont have bindings set for P2 and couldn't figure out how to even set the options for awhile.

Describe what should happen

rate should match the selected rate, audio playback should be faster but pitch-adjusted so the pitch sounds the same, and arrow timings should be correct.

it is, obviously, important that arrow timings be perfectly accurate (which they are in sm5.0b2 and sm5.1). my main purpose when using this tool is to micro-adjust BPM and timings measure-by-measure in non-edm songs with organic tempos.

Relevant Log output

No response

JoseVarelaP commented 5 months ago

Can you show in video form how this is happening? Or share your Preferences.ini file? I legit cannot recreate this issue on my Mac and another one in the team who runs Linux cannot either after testing every audio driver.

The two player issue has already been reported for a while: https://github.com/TeamRizu/OutFox/issues/467

teleshoes commented 5 months ago

sent on discord. (ah, i didn't search for the 2p bug, thanks!) maybe it's the sample rate? the songs i'm editing are 48k vorbis. i just tried a 44k vorbis and it worked fine (both songs work fine in sm5.1)

working: Stream #0:0: Audio: vorbis, 44099 Hz, stereo, fltp, 196 kb/s broken: Stream #0:0: Audio: vorbis, 48000 Hz, stereo, fltp, 112 kb/s

teleshoes commented 5 months ago

ok, it DOES seem to only be broken for 48khz sample rate songs. i converted my song to 44.1khz and its working fine. (48khz is apparently the default for vorbis audio output in ffmpeg, for whatever reason, so this is why all of the step charts i write have been broken)

teleshoes commented 5 months ago

EDIT: removed this comment. i mixed up global offset while switching prefs back and forth between sm and outfox

=> with songs at 44.1kHz, rate works perfectly in pre042 and sm5.1, as far as i can tell 48kHz songs are still broken in pre042 (and working in sm5.1)