Sound Randomly Slowing Down

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
SPZ1
Posts: 388
Joined: Wed Aug 02, 2017 3:01 pm
Location: Illinois
Contact:

Sound Randomly Slowing Down

Post by SPZ1 »

I'm having an issue with my project where the sound randomly slows down during a cut-scene where the player is supposed to learn an ocarina song. It seems that the sound varies by around 50%-100% of it's normal speed and it is hard to pinpoint. I made an example map from scratch and it didn't happen there. So I made another with the actual level in which it was happening and it is still there.

https://1drv.ms/u/s!Ap4KZFMds2L1hQWKTka ... O?e=7pHKsr

To see this simply destroy the "Stump Demon" and press 'Use' over the song note sheet that is underneath it.

EDIT: I'm having an unknown issue with onedrive, try this instead: https://ufile.io/kucxojza
User avatar
Enjay
 
 
Posts: 27063
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Sound Randomly Slowing Down

Post by Enjay »

You have this in your SNDINFO: $pitchshiftrange 6

Try removing that or putting another entry of $pitchshiftrange 0 just before the sounds that you don't want to alter pitch.
User avatar
SPZ1
Posts: 388
Joined: Wed Aug 02, 2017 3:01 pm
Location: Illinois
Contact:

Re: Sound Randomly Slowing Down

Post by SPZ1 »

It seems to work at a constant tempo although it is still a bit slow. It seems to be faster outside of GZDoom.

The pitch shift name seems to be a bit misleading since it is altering the pitch and the tempo
User avatar
Chris
Posts: 2976
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Re: Sound Randomly Slowing Down

Post by Chris »

SPZ1 wrote:The pitch shift name seems to be a bit misleading since it is altering the pitch and the tempo
Pitch shifts generally also alter tempo, since the most common way to do it is by playing the sound faster or slower. Unless it's something like MIDI, it requires significantly more work to change the pitch while keeping the tempo constant (getting into frequency analysis and such), and that kind of thing will generally be noted when it's the case.
Post Reply

Return to “Closed Bugs [GZDoom]”