r2280 occasional odd sounds

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
Enjay
 
 
Posts: 26938
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

r2280 occasional odd sounds

Post by Enjay »

I'm sorry that this is a bit vague but I thought it was worth reporting in case someone else has noticed the same problem and could, perhaps, shed some more light on it. Unfortunately it's one of those annoying intermittent problems.

Anyway, sometimes one of the sounds in game doesn't sound "right". I guess the way that I would describe it is that sometimes a sound (perhaps not even for the full duration of the sound's length) seems to be louder than it should. eg a distant exploding barrel or a far-off dying or waking enemy sound momentarily as if they are right next to you. I'm not sure if there is any distortion in the sound itself - perhaps a little but not particularly obviously so, so perhaps not.

Sorry, that's all I have. :/
User avatar
Enjay
 
 
Posts: 26938
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: r2280 occasional odd sounds

Post by Enjay »

OK, I think that I have tracked down when this happens. If you are completely stationary, sounds play as if they are right next to you. If you are moving, even a little bit they get played at the correct volume for their distance. If you start moving while a sound is playing, the sound goes from loud to quiet.

This video demonstrates it.

http://www.zen64060.zen.co.uk/soundproblem.wmv

[edit] I can't track it down completely but I just tried GZdoom r766 which is based of of r2272 and it does not show the problem[/edit]

[edit2] r2273 is the first revision that shows the problem. [/edit2]
Last edited by Enjay on Fri Apr 16, 2010 5:45 pm, edited 1 time in total.
User avatar
el zee
Posts: 128
Joined: Sun Aug 15, 2004 8:29 pm
Location: New Zealand
Contact:

Re: r2280 occasional odd sounds

Post by el zee »

I seem to be having a similar problem, distant sounds are always playing, sometimes quiet, sometimes loud depending on where you are in the map.

It is with custom decorate objects, I can post the code if required.
User avatar
Enjay
 
 
Posts: 26938
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: r2280 occasional odd sounds

Post by Enjay »

If you try r2272 from here http://svn.drdteam.org/zdoom/ and the problem goes, then it's the same bug.
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: r2280 occasional odd sounds

Post by NeuralStunner »

Seemingly nothing about sound handling in that revision according to the change log. Just some MUS stuff, although there was someting about FMOD Ex in r2271...
Last edited by NeuralStunner on Fri Apr 16, 2010 6:26 pm, edited 1 time in total.
User avatar
el zee
Posts: 128
Joined: Sun Aug 15, 2004 8:29 pm
Location: New Zealand
Contact:

Re: r2280 occasional odd sounds

Post by el zee »

Enjay wrote:If you try r2272 from here http://svn.drdteam.org/zdoom/ and the problem goes, then it's the same bug.
Yeah definitely the same bug, whenever you stand still the sounds play at full volume from 2273 - 2280. It's all good in 2272.
User avatar
Enjay
 
 
Posts: 26938
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: r2280 occasional odd sounds

Post by Enjay »

NeuralStunner wrote:Seemingly nothing about sound handling in that revision according to the change log. Just some MUS stuff, although there was someting about FMOD Ex in r1771...
Yes, I had a look at the changelog myself. I think the change in that revision was the first of a few to address a problem with a WAD that had its mus lump embedded inside a WAD inside the main WAD (DIESCUM.WAD). I've tried r2272 and it is fine but r2273 isn't. There was a small change to fmodsound.cpp in r2273 so maybe that's where the problem crept in. :?
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: r2280 occasional odd sounds

Post by NeuralStunner »

NeuralStunner wrote:r1771
Crap. I meant 2271. I don't know where the 17 came from (except that it's the first two numbers of the oldest ZDoom revision I have on my HD). :oops:
Enjay wrote:There was a small change to fmodsound.cpp in r2273 so maybe that's where the problem crept in. :?
Could be.

When I tested from the start of MAP01, I fired the pistol and woke the two zombies. The first little bit of their see sounds was at full volume, but it rapidly dropped back to normal. Perhaps because they started moving?
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: r2280 occasional odd sounds

Post by randi »

Enjay wrote:There was a small change to fmodsound.cpp in r2273
Dur hur hur. That's not supposed to be there.
Post Reply

Return to “Closed Bugs [GZDoom]”