doomretro icon indicating copy to clipboard operation
doomretro copied to clipboard

Digital music playback issue

Open vanfanel opened this issue 4 years ago • 4 comments

Hi there again, @bradharding

Along with DoomRetro, I use these digital music packs by Shane: https://forum.zdoom.org/viewtopic.php?f=46&t=24423 (Seriously AWESOME Doom 1 & 2 music covers intended for playing the game, really).

Things is, with DOOM 1 and Ultimate DOOM, I can see these tracks dont loop well: when the tracks loop, the first seconds are re-played. It does NOT happen in other sourceports like Crispy Doom / Chocolate Doom. It does NOT happen in DOOM 2 using the corresponding Shane Doom2 tracks, only in DOOM 1.

So, any idea on why does DR replay these 3 seconds of digital music in DOOM 1 only?

I am sharing a ready-to-use WAD with the music files ready to test: https://www.dropbox.com/s/0jkbjiclfzbqn3a/doom1mus.wad

Thanks!

vanfanel avatar Apr 13 '20 16:04 vanfanel

Thanks @vanfanel. I'll look into this when I can.

bradharding avatar Apr 15 '20 06:04 bradharding

Thanks to you! I wonder why it only happens on Doom 1... I have looked at the playback code and I dont see anything different between Doom 1 and 2.

vanfanel avatar Apr 15 '20 11:04 vanfanel

LOOP_START & LOOP_END metadata related perhaps? I tested with @vanfanel provided music WAD and coudn't detect anything odd in E1M1 music loop in a fresh doomretro-3.5.4-win64 install.

garoto avatar Apr 15 '20 21:04 garoto

LOOP_START & LOOP_END metadata related perhaps? I tested with @vanfanel provided music WAD and coudn't detect anything odd in E1M1 music loop in a fresh doomretro-3.5.4-win64 install.

Thats puzzling. I use my own 3.5.4 builds here and there IS that 3-seconds repeat on loop. Windows uses SDL_Mixer for music playback, too. Strange... What could be the difference bewteen Windows and Linux in this regard?

vanfanel avatar Apr 16 '20 13:04 vanfanel