IMF Music Speed Issue
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.
-
- Posts: 1337
- Joined: Tue Jul 15, 2003 4:18 pm
IMF Music Speed Issue
IMF music seems to play at a very fast tempo at times... Sometimes it's OK, but I can consistently get it to play rapidly when it's played immediately on game load (like when you use +map from the command line).
I've replaced the Doom 2 title screen music with an IMF song from my Wolf3D TC in the attached .pk3. The file was modified from the original Wolf3D data to add a header, according to the IMF wiki article, and has worked fine for many years.
It looks like something changed between 4.3pre 151 and 4.3pre 152 (28-29 September). Some of the initial ZMusic work, maybe?
I've replaced the Doom 2 title screen music with an IMF song from my Wolf3D TC in the attached .pk3. The file was modified from the original Wolf3D data to add a header, according to the IMF wiki article, and has worked fine for many years.
It looks like something changed between 4.3pre 151 and 4.3pre 152 (28-29 September). Some of the initial ZMusic work, maybe?
You do not have the required permissions to view the files attached to this post.
-
- Lead GZDoom+Raze Developer
- Posts: 49142
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: IMF Music Speed Issue
It cannot have happened between these two builds. 152 is one commit ahead of 151 and the only change was a minor fix in the ZScript HUD code.
-
- Lead GZDoom+Raze Developer
- Posts: 49142
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: IMF Music Speed Issue
Tried it several times, but no difference to 3.5.0.
The only thing I noticed is that playback of these formats sounds very broken to me, but this has been the case since the support was added to ZDoom many, many years ago.
The only thing I noticed is that playback of these formats sounds very broken to me, but this has been the case since the support was added to ZDoom many, many years ago.
-
-
- Posts: 26540
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: IMF Music Speed Issue
There was a problem with music play back speed in ECWolf that I reported over at DRD a little while back. Could that be related?
-
- Lead GZDoom+Raze Developer
- Posts: 49142
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: IMF Music Speed Issue
Unlikely if this only changed recently in GZDoom.
I'd really like to get this one sorted out to do a 4.3.2 point release this evening.
I'd really like to get this one sorted out to do a 4.3.2 point release this evening.
-
-
- Posts: 26540
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: IMF Music Speed Issue
I've found the DRD thread. It was back in July, so probably not related but here is it anyway:
https://forum.drdteam.org/viewtopic.php?f=174&t=7773
It has an MP3 of what the Wolf music sounded like on my system.
https://forum.drdteam.org/viewtopic.php?f=174&t=7773
It has an MP3 of what the Wolf music sounded like on my system.
-
-
- Posts: 3816
- Joined: Sun Aug 07, 2011 4:32 am
Re: IMF Music Speed Issue
I reproduced this occasionally. Tried to debug OPL song initialization and playback, but didn't find anything suspicious. I'm not familiar with that code, so I could miss something.
-
-
- Posts: 26540
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: IMF Music Speed Issue
The DRD thread said that part of the problem was due to me having a 5.1 system, but I can't find where to force GZDoom to stereo in the menu to check whether that has an impact.
-
- Lead GZDoom+Raze Developer
- Posts: 49142
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: IMF Music Speed Issue
ECWolf uses a totally different music player, so nothing of this really helps.
I never got it to play too fast even once and like _mental_, the OPL stuff is nearly all Greek to me - if something is wrong on the deeper levels I'll never find it.
The 5.1 thing is not relevant here. ECWolf apparently uses its own sound mixer - GZDoom only allocates a stereo stream from OpenAL and never mixes any sound itself.
I never got it to play too fast even once and like _mental_, the OPL stuff is nearly all Greek to me - if something is wrong on the deeper levels I'll never find it.
The 5.1 thing is not relevant here. ECWolf apparently uses its own sound mixer - GZDoom only allocates a stereo stream from OpenAL and never mixes any sound itself.
-
-
- Posts: 3816
- Joined: Sun Aug 07, 2011 4:32 am
Re: IMF Music Speed Issue
Fixed in c466422.
-
- Lead GZDoom+Raze Developer
- Posts: 49142
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: IMF Music Speed Issue
Thanks, then I can really do the point release today.
-
- Posts: 116
- Joined: Wed Jul 17, 2019 5:55 pm
Re: IMF Music Speed Issue
i have the same issue, it goes very fast on the main menu music and the main game music.
very strange bug. hopefully it gets fixed within the next update.
very strange bug. hopefully it gets fixed within the next update.
-
- Posts: 116
- Joined: Wed Jul 17, 2019 5:55 pm
Re: IMF Music Speed Issue
new bug, after you load a save file game, the main menu music for wolf 3d goes into the level. the song for for that map doesn't play. just the main menu music for the music level like after you play wolf3d episode 1 map 1, you go into secret level, then you save and then you quit then load the main menu music still plays in level 10. can that be fixed?
-
- Posts: 1337
- Joined: Tue Jul 15, 2003 4:18 pm
Re: IMF Music Speed Issue
That's a mod-side bug... Those need to go in the TC thread, please.
Assuming you're playing the newest version from GitHub, the menu code is customized to replicate Wolf3D's menu having its own music, then the level music restarting once you return to the map... Save and Load menus close automatically when you save or load a game, and aren't currently set up to have any special handling to restart the map music.
As a workaround, just open the menu, then select 'Back to Game', and the proper music will play. Or press F1 to bring up the help screen, then Esc out.
Assuming you're playing the newest version from GitHub, the menu code is customized to replicate Wolf3D's menu having its own music, then the level music restarting once you return to the map... Save and Load menus close automatically when you save or load a game, and aren't currently set up to have any special handling to restart the map music.
As a workaround, just open the menu, then select 'Back to Game', and the proper music will play. Or press F1 to bring up the help screen, then Esc out.
-
- Posts: 116
- Joined: Wed Jul 17, 2019 5:55 pm
Re: IMF Music Speed Issue
gotcha. i remember that for next time.AFADoomer wrote:That's a mod-side bug... Those need to go in the TC thread, please.
Assuming you're playing the newest version from GitHub, the menu code is customized to replicate Wolf3D's menu having its own music, then the level music restarting once you return to the map... Save and Load menus close automatically when you save or load a game, and aren't currently set up to have any special handling to restart the map music.
As a workaround, just open the menu, then select 'Back to Game', and the proper music will play. Or press F1 to bring up the help screen, then Esc out.
the latest version i have is 3.0? are there newer versions?
the workaround idea works, thanks.