Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Sound Quality In Linux
Joey
post Jun 24 2003, 12:48 PM
Post #1


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



Has anyone noticed a difference in sound quality in Linux as apposed to playing the same mp3 in windows?

Everything sounds fine in windows but if I use XMMS with RedHat 9 it sounds like shit. I just tried playing the same mp3 with mpg123 in console and the sound quality is similar to windows. Maybe this is related to how X handles sound?

Any ideas or am I just crazy? smile.gif
Go to the top of the page
 
+Quote Post
LinuxHatesMe
post Jun 24 2003, 01:57 PM
Post #2


./configure
***

Group: Members
Posts: 65
Joined: 21-June 03
Member No.: 996



I would think that it would be relevant to the way the program itself initializes and uses sound. I've played the same mp3 in different mp3 players on windows and I noticed a sound quality difference. While it was slight and not a dramatic difference, this fact leads me to believe what I previously stated about programs handling sound quality. I could be wrong. I can't use sound in linux because my lovely sound card manufacturer doesn't seam to support it at this current time. So my statement IS inconclusive and is obviously opinionated due to this fact. smile.gif
Go to the top of the page
 
+Quote Post
Corey
post Jun 25 2003, 12:26 PM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



Overall, the sound quality in Linux is less then satisfactory. This is due to many reasons. First off, Open Sound System, the current standard as of the 2.4.x kernel series cannot handel multiple input to the sound card. For example, you cannot play Quake3 and listen to mp3's at the same time. What happens is that a program like mpg123 will lock /dev/dsp and not let anything else touch it. In X, different desktop environments use different "Sound Servers" which take all incomming sound, mixes it into one and streams it to /dev/dsp. KDE uses aRts, Gnome uses Esound, etc. While using a sound server sounds (pardon the pun) like the optimal idea, in exchange you give up sound quailty and lag. For example, in order to play Quake3 while using aRts, you have to use artsdsp which gives you a delay in sound occurance and when you actually hear it. While a program like XMMS, this wouldn't matter, in games, this is of great annoyance.

As of the 2.5.x development kernel tree, and eventually the 2.6.x stable kernel tree, OSS will be replaced with ALSA, which will (hopefully) give greater results. In the meantime, you can install ALSA for your current sound system if desired.

So, I would conclude that when you use mpg123 in the console and play your mp3, it pipes it directly to your /dev/dsp with no delay and no degregation in quality. While, if you're using KDE or Gnome, the sound gets passed to the sound server for processing causin ga delay and degregation in quality (slightly). XFree86 is currently developing a sound server built specifically for X-windows that may or may not be a better solution to current sound servers.

In the meantime, do what I do, disable all sound servers associated with your Window Manager, and deal with the fact that you only want to hear one sound at one time.

I, by no means, have researched any of the above information, this has been from personal experiences.


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th October 2017 - 02:59 AM