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
Sound Randomly Slowing Down
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.
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.
Re: Sound Randomly Slowing Down
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.
Try removing that or putting another entry of $pitchshiftrange 0 just before the sounds that you don't want to alter pitch.
Re: Sound Randomly Slowing Down
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
The pitch shift name seems to be a bit misleading since it is altering the pitch and the tempo
- Chris
- Posts: 2976
- Joined: Thu Jul 17, 2003 12:07 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: Sound Randomly Slowing Down
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.SPZ1 wrote:The pitch shift name seems to be a bit misleading since it is altering the pitch and the tempo