[BUG] Speed/Pitch/Haste/HasteRate don't get applied correctly #411
Labels
Branch: Alpha-5
Bugs related to Alpha V mainline (0.5.x)
Engine: Gameplay
Gameplay Related Issues
Engine: Gimmicks & Mods
Affects Gimmicks, Mods, Shaders or Modding Effects
Engine: Sound
Affects sound, sync, playback, music etc
Priority: High
This breaks the game and needs to be worked on ASAP!
Status: Investigating
We are looking into this one!
Status: Not Implemented Yet!
This is a request that has no codepath or is incomplete/not implemented yet in the codebase
Type: Bug
Something is broken in the code
Type: Upstream Bug
Bug inherited from upstream
Please give System Info
OS: Windows 10 Home 64-bit (21H1)
CPU: Intel Core i7 2600 @ 3.40GHz
GPU: ATI Radeon RX 580 Series 8GB
Storage: HDD
Please give your StepMania Info
StepMania Version: Project OutFox 5.3 Alpha 4.9.10
Theme: Soundwaves (alpha 4.9.9-HF4)
Describe the problem
On
SoundUseOldResampler=0
the HasteRate doesn't get applied at all.On
SoundUseOldResampler=1
the HasteRate gets applied, but not correctly (at least in Extended/Marathon/Course Mode):Song 1: Gets Haste applied
Song 2: Gets back to Rate 1.0 with the unapplied HasteRate still at 2.0
Song 3+: From here on out, the HasteRate gets re-applied.
During all of this: The BGAnimations don't get sped up because they don't get the missing HasteRate.
Also for outside of Course Mode: If the BGV is large enough, it doesn't get sped up anymore/fully (?).
This is going to be an adjusted copypaste from Issue #393 since they all still apply here (except for the "inverted pitch" issue that have been fixed already):
Haste Oddities:
44100Hz:
Haste+Speed/Pitch: Does absolutely nothing!
Haste+Speed&Pitch: Acts like Haste+Speed
22050Hz|32000Hz|48000Hz:
Haste+Speed: Acts like Haste+Speed&Pitch
Haste+Pitch: Same as above but with an harsher speedup
Haste+Speed&Pitch: Same as above but with an even harsher speedup
Speed Oddities:
22050Hz|32000Hz|48000Hz:
Speed+Rate: Acts like Speed&Pitch+Rate. But the Rate gets applied double (Rate 2.0 -> Rate 4.0 | Rate 0.5 -> Rate 0.25)?
Speed+Pitch: Same as above but harsher
Speed+Speed&Pitch: Same as above but even harsher
I initially thought that it would matter if
SoundUseOldResampler
is on0
or1
but it didn't.Describe what should happen
I don't know if this was already broken or not, but still:
Fix Speed, Pitch, Speed & Pitch and Haste with consideration of the song's SampleRate.
Logs and Additional context
I don't think this is a log matter but an engine matter.
The text was updated successfully, but these errors were encountered: