OutFox icon indicating copy to clipboard operation
OutFox copied to clipboard

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

Open teleshoes opened this issue 1 year ago • 4 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and none matched.

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

  • open editor, select a song and difficulty, edit existing
  • play a song to see the rate
  • change playback Rate in the Options menu from 1.0 to 0.5
  • start playing song again. rate is FASTER, AND the pitch is higher. (pitch adjusting used to work correctly)
  • arrow timing is now unrelated to the song playback, though both are faster than they were before
  • without changing the rate, select a region of arrows, and start playing again. rate is faster again, and pitch is even higher (interestingly, by about a semitone)

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

teleshoes avatar Jan 25 '24 16:01 teleshoes

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

JoseVarelaP avatar Jan 27 '24 05:01 JoseVarelaP

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 avatar Jan 27 '24 23:01 teleshoes

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 avatar Jan 28 '24 06:01 teleshoes

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)

teleshoes avatar Jan 28 '24 17:01 teleshoes