[Not a ZDoom bug] Crasklish...playing MP3s along with ZDoom

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Crasklish sound when playing MP3s along with Zdoom

Postby Curunir » Sun Dec 14, 2003 6:06 am

I'm not sure if this is really a bug and I'd like to say sorry beforehand if it doesn't fit in this category.
The point is, when you play mp3s (in Winamp, in my case) and then start Doom, sound is cracklish and distorted. It may be just a limitation of fmod.dll or something. The strange thing is that the sound is all right when I play an .ogg file in Winamp.
I hate to pester, but I think it would be nice to have clear sound while listening to custom music while playing.
User avatar
Curunir
In heaven everything is fine
 
Joined: 02 Nov 2003
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: ATI/AMD with Vulkan Support

Postby Graf Zahl » Sun Dec 14, 2003 6:11 am

Using WinAmp in parallel to play music for ZDoom is a bad idea. This stuff is almost guaranteed to cause problems. Convert the MP3's and OGG's to a WAD and use them in ZDoom internally that should fix your problem
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Postby HotWax » Sun Dec 14, 2003 6:31 am

This may just be due to a slow CPU trying to do too much at once. MP3's have to be decoded so they can be played, and that takes processor cycles. If you really want to keep doing this, you could try setting Winamp to use a higher thread priority, but that might cause your other programs (including ZDoom) to become sluggish.
User avatar
HotWax
Do what you must, and pay the price later.
 
Joined: 18 Jul 2003
Location: Idaho Falls, ID

Postby Chris » Sun Dec 14, 2003 8:10 am

Also if you set ZDoom's sampling frequency to less than whatever the MP3 is (usually 44khz), the the audio output frequency is changed as well, so anything else playing the audio (like Winamp) will notice a sudden drop in playback frequency.
User avatar
Chris
 
Joined: 17 Jul 2003

Postby randi » Sun Dec 14, 2003 9:27 am

This is all very soundcard dependant. I have never had a problem playing anything in the background with WinAmp while running ZDoom. That is with a Vortex 2, a SoundBlaster Audigy, and nForce2 Audio. (I'd also include the GUS PnP in that list, but I can't remember what it was like anymore.)

But since you can play MP3 and Vorbis with ZDoom anyway, why use WinAmp?
User avatar
randi
Site Admin
 
Joined: 09 Jul 2003

Postby Hirogen2 » Sun Dec 14, 2003 1:05 pm

randy wrote:But since you can play MP3 and Vorbis with ZDoom anyway, why use WinAmp?

To have some music playing even when ZDoom is not active all the time?
BTW, works for me(tm).
User avatar
Hirogen2
 
Joined: 19 Jul 2003
Location: Central Germany
Github ID: jengelh
Operating System: RedHat-like Linux (RHEL, Fedora, CentOS, etc) 64-bit
Graphics Processor: Intel (Modern GZDoom)

Postby Curunir » Sun Dec 14, 2003 3:06 pm

I'd like to have Winamp playing so that I can blow stuff to chunks to the sound of Thyrfing or something :roll:
Anyway, obviously, my sound card = teh poop, since it works for others. It's onboard so, no surprise.
User avatar
Curunir
In heaven everything is fine
 
Joined: 02 Nov 2003
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: ATI/AMD with Vulkan Support

Postby HotWax » Sun Dec 14, 2003 3:20 pm

Try this at the console next time, Cur:

] changemus "c:\my music\Thyrfing's kick-ass song.mp3"

Or, if you'd rather use an entire playlist:

] playlist "c:\my music\playlists\Thyrfing.m3u"

BTW, who the hell is Thyrfing?
User avatar
HotWax
Do what you must, and pay the price later.
 
Joined: 18 Jul 2003
Location: Idaho Falls, ID

Postby Curunir » Mon Dec 15, 2003 2:49 am

First of all, Waxie, thanks a lot for the console advice. Does just what I wanted Winamp to :)
Also, Thyrfing are a "they" :) Here and here.

omg, viking metal, lol
User avatar
Curunir
In heaven everything is fine
 
Joined: 02 Nov 2003
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: ATI/AMD with Vulkan Support


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest