Site Navigation
QuakeOne News
» Latest News
» News Archives
» QuakeOne Movies

QuakeOne Help
» File Downloads
» Quake Help
» Quake Servers

QuakeOne Community
» Forums
» Poll Booth
» Memberlist
» Member Map

» Buy Quake



Visit QuakeOne.com On Facebook!Visit QuakeOne
on Facebook

Sponsors


MultiplayerNation.com
MultiplayerNation.com
Log in
User Name:

Password:

Not a member yet?
Register Now!
Online Users: 180
10 members and 170 guests
ArmOrAttAk, concept, gnounc, MadGypsy, mateor, Mirrorman95, R00k, Rampage, silverjoel
Most users ever online was 647, 03-12-2011 at 05:53 AM.
Go Back Home > Forums > Quake Help > General Help > Crackly sound Search Forums

Reply
 
LinkBack Thread Tools
Old 08-07-2012, 09:53 PM   #1 (permalink)
Axe Man
USER INFO »
Posts: 13
+/-  Reputation: F. B. I. Guy is on a distinguished road
Join Date: Jul 2012
Currently: Offline
Crackly sound

Hi all,
I'm getting very annoying crackly sound from Quake. I tried both ProQuake 4.52 and DirectQ 1.9.0, both have this problem.

Here's a screenshot of the ProQuake start up console:

I suspect it may have to do with that ridiculously low sample rate, but have no idea why it's that low.

Thank You
Reply With Quote
Old 08-07-2012, 10:00 PM   #2 (permalink)
Chthon
Baker's Avatar
USER INFO »
Posts: 9,193
+/-  Reputation: Baker will become famous soon enough
Join Date: Nov 2005
Currently: Offline
My gut instinct:

You have too many tasks running or something eating CPU. Have you tried restart your computer? Anytime I've had that problem in the past, I had something in the background (another game) or was low on memory (press CTRL-ALT-DEL to bring up task manager and then click the processes tab ...)

But first, eliminate your sampling rate thought by trying this:

Start DirectQuake with -sndspeed 44100

Like "c:\Quake\DirectQ.exe" -sndspeed 44100 in the Start->Run box or however is easiest for you to do this.
__________________
Quakeone.com - Being exactly one-half good and one-half evil has advantages. When a portal opens to the antimatter universe, my opposite is just me with a goatee.

So while you guys all have to fight your anti-matter counterparts, me and my evil twin will be drinking a beer laughing at you guys ...
Reply With Quote
Old 08-07-2012, 10:05 PM   #3 (permalink)
Axe Man
USER INFO »
Posts: 13
+/-  Reputation: F. B. I. Guy is on a distinguished road
Join Date: Jul 2012
Currently: Offline
Oh wow, thanks for that very fast reply! That definitely fixed it in DirectQ, but the switch didn't seem to change the sample rate in ProQuake. Is there an equivalent option?
Reply With Quote
Old 08-07-2012, 10:24 PM   #4 (permalink)
Chthon
Baker's Avatar
USER INFO »
Posts: 9,193
+/-  Reputation: Baker will become famous soon enough
Join Date: Nov 2005
Currently: Offline
Originally Posted by F. B. I. Guy View Post
Oh wow, thanks for that very fast reply! That definitely fixed it in DirectQ, but the switch didn't seem to change the sample rate in ProQuake. Is there an equivalent option?
I'm pretty sure there isn't an equivalent option in ProQuake [unless there is some super obscure GLQuake setting inherited.].

DirectQ pretty much does everything ProQuake does, so you should be set.
__________________
Quakeone.com - Being exactly one-half good and one-half evil has advantages. When a portal opens to the antimatter universe, my opposite is just me with a goatee.

So while you guys all have to fight your anti-matter counterparts, me and my evil twin will be drinking a beer laughing at you guys ...
Reply With Quote
Old 08-07-2012, 10:35 PM   #5 (permalink)
Axe Man
USER INFO »
Posts: 13
+/-  Reputation: F. B. I. Guy is on a distinguished road
Join Date: Jul 2012
Currently: Offline
I'm alright with just using DirectQ, and I thank you for helping me with this, but do you have any idea what would cause the sample rate to be so low in ProQuake? I would prefer to use ProQuake as it is cross-platform (although I do mostly use Windows anyway) and I have the option to use OpenGL. I like to use open source software when it is an equal or better alternative to proprietary software (DirectX/Direct3D is closed source, right?). However, if you don't know, it is not a big deal at all.

Thank You
Reply With Quote
Old 08-07-2012, 10:54 PM   #6 (permalink)
Chthon
Baker's Avatar
USER INFO »
Posts: 9,193
+/-  Reputation: Baker will become famous soon enough
Join Date: Nov 2005
Currently: Offline
Originally Posted by F. B. I. Guy View Post
but do you have any idea what would cause the sample rate to be so low in ProQuake?
It is the Quake default. So that is what ProQuake uses.

I like to use open source software when it is an equal or better alternative to proprietary software (DirectX/Direct3D is closed source, right?
The DirectQ engine is open source. Although DirectX/Direct3D is Windows-only, is that any more proprietary than a closed source NVIDIA driver on, say, Linux?

DirectQ is just as open source as ProQuake.

[In fact, there are a number of similarities between DirectQ and ProQuake ... like the ProQuake Direct3D renderer version (dxpro452.exe) ... mp3 support on Windows ... the list goes on ...]

I'm a multi-platform guy myself who prefers open source when all things are equal. MH, the author of DirectQ, is as open source as you can get ... mhquake: Going Public
__________________
Quakeone.com - Being exactly one-half good and one-half evil has advantages. When a portal opens to the antimatter universe, my opposite is just me with a goatee.

So while you guys all have to fight your anti-matter counterparts, me and my evil twin will be drinking a beer laughing at you guys ...
Reply With Quote
Old 08-08-2012, 07:41 AM   #7 (permalink)
Axe Man
USER INFO »
Posts: 13
+/-  Reputation: F. B. I. Guy is on a distinguished road
Join Date: Jul 2012
Currently: Offline
Oh, so does that mean the cracklyness I'm hearing is "normal" then? And I did know that DirectQ was open source, it was just the OpenGL vs. DirectX/Direct3D that I meant originally. It's not that I have a problem with closed source software though, I don't. Like your example, I do use the proprietary nvidia drivers when I use Linux just because the open source drivers can't perform nearly as well in 3d. Thanks for your quick help on this matter, and sorry if this has been asked before, I searched first and didn't find anything.

Last edited by F. B. I. Guy; 08-08-2012 at 10:37 AM..
Reply With Quote
Old 08-08-2012, 09:27 AM   #8 (permalink)
FTEQW Author
USER INFO »
Posts: 434
+/-  Reputation: Spike is on a distinguished road
Join Date: Jul 2010
Currently: Offline
you can try increasing the _snd_mixahead cvar (yes, leading underscore).
it will increase latency but should reduce/stop crackling. too high a value will not work very well though (we're talking seconds here).

the default sample rate is 11025, which is generally very low by modern standards. many devices only actually support 48khz nowadays (rather than 44khz), and upsampling generally requires the driver has access to the audio in advance.
too low a mixahead value will mean your driver reads old data within each audio frame (more likely if you have another process stealing cpu), which can result in constant or periodic crackles.

quake's audio is all a very timing-dependant feature.
Reply With Quote
Old 08-08-2012, 10:49 AM   #9 (permalink)
Axe Man
USER INFO »
Posts: 13
+/-  Reputation: F. B. I. Guy is on a distinguished road
Join Date: Jul 2012
Currently: Offline
I tried setting _snd_mixahead very high and it is still crackling, I have a Realtek ALC888 which I have tested before to find it does not resample. Thank you for the suggestion, though. Since changing the sample rate in DirectQ fixed it, we have to assume it's just the sound sounding bad right? But I'm curious as to how DirectQ is able to change it; If DirectQ is able to change the sample rate to 44,100hz, and it makes a difference, doesn't that mean Quake's sounds are at least higher than 11,025hz? Or does DirectQ have its own sounds at different sample rates?
Reply With Quote
Old 08-08-2012, 04:50 PM   #10 (permalink)
Server Admin
Mindf!3ldzX's Avatar
USER INFO »
Posts: 7,309
+/-  Reputation: Mindf!3ldzX will become famous soon enough
Join Date: Mar 2006
Currently: Offline
Contact:  Send a message via AIM to Mindf!3ldzX Send a message via MSN to Mindf!3ldzX Send a message via Yahoo to Mindf!3ldzX
have you tried changing the frequency from the Operating System side? It has helped me in the past, because the frequency that is being output + the frequency the game is using don't mix well.
__________________






Laissez les bons temps rouler
Respect the 5-0 , Clan Arena X

Need help getting Steam purchased Quake running?

Originally Posted by Mindf!3ldzX
This is dangerous,
Open up your head feel the shell shock!
Reply With Quote
Reply

Bookmarks

Tags
problem, proquake, sound


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 12:07 AM.


eXTReMe Tracker