Music too fast in Git Builds

Advanced Wolfenstein 3D source port based upon Wolf4SDL and ZDoom.
[Home] [Download] [HG builds (Win)] [HG builds (Mac)] [Wiki] [Repo]

Moderator: Blzut3

User avatar
Enjay
Developer
Developer
Posts: 4723
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Music too fast in Git Builds

Post by Enjay »

I don't see this mentioned anywhere else. For me the music is playing too fast in recent git builds (both x86-190622-1539 and x64-190622-1539).

www.aspectsweb.co.uk/enjay/doom/TestStu ... ooFast.mp3

Official release 1.3.3 is working just fine.

Using RealTek HD Audio on Windows 10. Drivers and Windows up to date.

[edit] Actually, I just realised that the menu sounds in the above MP3 sound too fast as well. Most in game sounds seem to be about right but pickups seem weird as does the pushing against a wall sound. Game speed generally is fine. (longer sound file uploaded)[/edit]
Master O
Posts: 12
Joined: Thu Dec 06, 2018 2:38

Re: Music too fast in Git Builds

Post by Master O »

User avatar
Enjay
Developer
Developer
Posts: 4723
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Music too fast in Git Builds

Post by Enjay »

:lol:
Blzut3
Developer
Developer
Posts: 491
Joined: Sun Jan 24, 2010 22:21

Re: Music too fast in Git Builds

Post by Blzut3 »

What is your audio setup? It's working fine for me with standard 2.0 speakers.
User avatar
Enjay
Developer
Developer
Posts: 4723
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Music too fast in Git Builds

Post by Enjay »

Well, that's apparently where the problem lies. I'm running a 5.1 system. If I change my RealTek preferences so that it is only outputting stereo, music plays normally.
Blzut3
Developer
Developer
Posts: 491
Joined: Sun Jan 24, 2010 22:21

Re: Music too fast in Git Builds

Post by Blzut3 »

User avatar
Enjay
Developer
Developer
Posts: 4723
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Music too fast in Git Builds

Post by Enjay »

Sorry, I didn't notice this post going up. It may, or may not, be fixed. I can't get either 0024 or 0449 to run (in either 32 or 64 bit versions). In 0449 I usually get as far as a message on the title screen that says "Initialisation Complete" and then I just get dropped back to the desktop. 0024 tends to just hang and Windows tells me that it has stopped responding.

I did once get 0449 going further. I got the menu and was able to start a game but there was no sound. I didn't even get as far as being able to move though. As soon as the game svreen appeared, the game hung and I got a Windows "has stopped responding" message (i.e. the message that I usually get with 0024 even though this was 0449).
Blzut3
Developer
Developer
Posts: 491
Joined: Sun Jan 24, 2010 22:21

Re: Music too fast in Git Builds

Post by Blzut3 »

I'll have to play with some settings to see if I can reproduce.

Any chance you still have Visual Studio (any version) installed? If so you should be able to check out the source code. Just feed the project into CMake and it should automatically build all the dependencies for you. See if a debug build points to anything.
User avatar
Enjay
Developer
Developer
Posts: 4723
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Music too fast in Git Builds

Post by Enjay »

Unfortunately, no, I don't. I had some problems with my PC a little while back and had to send it to the factory. It came back with a wiped HD and I haven't got around to setting up a build environment on it (because I don't really need one these days).

FWiW, I just tried x64-190817-0449 again and it did start (with no sound) and i was even able to move. I walked forwards to the first door and pressed [use]. I saw the door start to move and that's when things froze. So, I got a bout a second or so further than I did the last time that I was able to see the play screen.

However, on a second attempt, I just got as far as the "initialization complete" screen and then the game vanished.
Blzut3
Developer
Developer
Posts: 491
Joined: Sun Jan 24, 2010 22:21

Re: Music too fast in Git Builds

Post by Blzut3 »

Found a configuration that reproduces the issue. Will update the thread when I get a chance to fix it.
Blzut3
Developer
Developer
Posts: 491
Joined: Sun Jan 24, 2010 22:21

Re: Music too fast in Git Builds

Post by Blzut3 »

User avatar
Enjay
Developer
Developer
Posts: 4723
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Music too fast in Git Builds

Post by Enjay »

It does indeed seem to be fixed. Thank you for that. :)


While I'm on about sounds though, I have noticed that in ECWolf, when I press the [USE] button (regardless of whether I am next to a wall or not) I get a noise. What's more, the noise repeats rapidly (it almost sounds like gunfire as a result).

There is also a lighter sound - a little bit like someone knocking gently on wood - when I walk against a wall.

I don't seem to have a copy of the original DOS exe handy, but I checked out another couple of Wolf ports and they were silent when pressing the [USE] button and when walking against a wall. So, I was just wondering if the sounds were intentional? It can get a bit annoying to hear the sound every time I press [USE].


You can hear both the [USE] sound and the lighter wall sound here...

http://www.aspectsweb.co.uk/enjay/doom/ ... olfUse.mp3
Blzut3
Developer
Developer
Posts: 491
Joined: Sun Jan 24, 2010 22:21

Re: Music too fast in Git Builds

Post by Blzut3 »

Both of those sounds work like that in vanilla however the repeat rate on it is tied to the frame rate. Eventually that logic will get reworked so that it does something frame rate independent.

Yes, they're annoying, but that's what mods are for. The walking into the wall sound is easy to disable with SNDINFO. Pretty sure I've written how to do that on this forum somewhere.
Post Reply

Return to “ECWolf”