LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-24-2007, 09:31 PM   #1
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Slackware sans KDE4 (Gnome Slackbuild)
Posts: 454

Rep: Reputation: 35
AC97 and alsa


I have noticed that the sound quality of my music is good in Slackware, but not as good as in windows. I have configured alsa properly (alsaconf). I am quite sensitive to sound quality and the sound in windows just seems more textured (ie: I can hear all the little sounds and subtleties of each instrument), whereas music in Slackware is of good quality, but sounds more like all instruments are meshed into one sound.

I was thinking I should maybe install the proprietary drivers:
http://www.realtek.com.tw/downloads/...&GetDown=false

but it seems that this seems to be just a re-install of alsa. Any ideas?

Thanks
 
Old 10-25-2007, 02:47 PM   #2
dissociative
Member
 
Registered: Jul 2007
Posts: 36

Rep: Reputation: 15
well in my experience I have a VIA8233 AC97 onboard sound, and yeah the sound quality in windows is crisper than in Slackware Linux, the problem with alsa is that with AC97 sound devices everything gets resampled to 48000Hz by alsa before reaching the DAC, and also its said that the 48000Hz resample algorithm used by default in alsa is not very accurate (low quality), also I have tried the AC97 sound with FreeBSD-6.2-Release with OSS and for me the sound quality was even worst than with alsa

Last edited by dissociative; 10-25-2007 at 02:51 PM.
 
Old 10-26-2007, 12:03 PM   #3
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Slackware sans KDE4 (Gnome Slackbuild)
Posts: 454

Original Poster
Rep: Reputation: 35
Interesting. Thanks for your reply. What's DAC?

Also:
Quote:
its said that the 48000Hz resample algorithm used by default in alsa is not very accurate (low quality)
Is there a way to change this? Recompile ALSA?

I have tried doing a search for "improving sound quality alsa" but got back only user specific problems. If you (or anyone) know where to get slightly more technical resources, please let me know. Thanks.
 
Old 10-26-2007, 12:28 PM   #4
digger95
Member
 
Registered: Oct 2007
Location: Indiana, PA
Distribution: Slackware 12.1
Posts: 256

Rep: Reputation: 31
I have the AC'97 onboard sound as well and I definitely have to agree about the audio quality. It isn't outright bad, it's just very 'flat' and bleh. I'd have to say this is one of the few things I really do miss about Windows. Multimedia still has a long way to go on Linux.
 
Old 10-26-2007, 01:00 PM   #5
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,295

Rep: Reputation: Disabled
The alsa-plugins package has a tool to change the sample rate conversion rate. It is available from the alsa web-site and compiles fine with src2pkg. I haven't actually used it myself, so if you try it, please post your experience.

Brian
 
Old 10-26-2007, 01:00 PM   #6
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Posts: 11,388
Blog Entries: 2

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
I've had this problem too (I have an AC'97 controller as well), and what does help is messing with the PCM volume. Typically decreasing the PCM and increasing the Master volume helps a lot.

And, I just remembered that long ago I found out that not all music players are equal, some play audio much better than others. Unfortunately, I forgot which ones were good and which bad. I'm pretty sure most media players (mplayer and xine) don't do too well, but programs oriented specifically towards playing musing are much better (kaboodle, audacity).
 
Old 10-26-2007, 07:10 PM   #7
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Slackware sans KDE4 (Gnome Slackbuild)
Posts: 454

Original Poster
Rep: Reputation: 35
Quote:
Originally Posted by BCarey View Post
The alsa-plugins package has a tool to change the sample rate conversion rate. It is available from the alsa web-site and compiles fine with src2pkg. I haven't actually used it myself, so if you try it, please post your experience.

Brian
Thanks. I'll give it a shot.
 
Old 10-26-2007, 07:16 PM   #8
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Slackware sans KDE4 (Gnome Slackbuild)
Posts: 454

Original Poster
Rep: Reputation: 35
Quote:
Originally Posted by H_TeXMeX_H View Post
I've had this problem too (I have an AC'97 controller as well), and what does help is messing with the PCM volume. Typically decreasing the PCM and increasing the Master volume helps a lot.

And, I just remembered that long ago I found out that not all music players are equal, some play audio much better than others. Unfortunately, I forgot which ones were good and which bad. I'm pretty sure most media players (mplayer and xine) don't do too well, but programs oriented specifically towards playing musing are much better (kaboodle, audacity).
I use Amarok which uses the xine engine. It seems like you could configure it to use a different one, but the drop down list only includes xine... ?
 
Old 10-26-2007, 07:38 PM   #9
digger95
Member
 
Registered: Oct 2007
Location: Indiana, PA
Distribution: Slackware 12.1
Posts: 256

Rep: Reputation: 31
mattydee,

I'll be interested in hearing what you find out after trying those suggestions. To be honest, as of right now all my music sounds like it's mono. Please post back and let me (us) know what the results are. Thanks much!

Dig
 
Old 10-26-2007, 11:27 PM   #10
Han Solo
LQ Newbie
 
Registered: Oct 2007
Distribution: Slackware 12.0
Posts: 2

Rep: Reputation: 0
Smile

Hey Slackies, I had the same opinion about the sound quality and I am also quite picky about my sound. I started messing around with the alsa mixer and I discovered that when I turned on the TONE option the sound became instantly crisper.

I put the curser on the Tone 00 and hit M and it came on. I have been using Amarok atm for my music with the equalizer on. I have Creative Sound Blaster Audigy Platinum 2 in my box.

Hope this helps

Han : )
 
Old 10-27-2007, 08:38 AM   #11
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 2,185

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Have any of you tried compiling your kernel enabling the "low-latency" option? In a default Slackware build, the latency option is set to suit the operation of servers rather than a single user desktop. Compiling a kernel with low-latency is necessary to optimise Linux audio and video.
See Alien Bob's wiki for information on compiling kernel and setting latency options.
http://alien.slackbook.org/dokuwiki/...rnel%20compile
 
Old 10-27-2007, 12:49 PM   #12
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Slackware sans KDE4 (Gnome Slackbuild)
Posts: 454

Original Poster
Rep: Reputation: 35
Quote:
Originally Posted by allend View Post
Have any of you tried compiling your kernel enabling the "low-latency" option? In a default Slackware build, the latency option is set to suit the operation of servers rather than a single user desktop. Compiling a kernel with low-latency is necessary to optimise Linux audio and video.
See Alien Bob's wiki for information on compiling kernel and setting latency options.
http://alien.slackbook.org/dokuwiki/...rnel%20compile
Thanks for the tip. I will try that as well. The only thing that concerns me is that there is only one line referring to this in the whole document:
Quote:
enable the “low-latency” kernel if you run a desktop/laptop computer - multimedia apps will run much smoother
(under “Processor type and features” > “Preemption model” > “Preemptible kernel”).
I hope this results in a noticeable difference.
 
Old 10-28-2007, 07:40 AM   #13
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 2,185

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
mattydee,
Just below the "low-latency kernel" paragraph there is also "set a 1000Hz timer ...". I suggest you do this as well.
 
Old 10-28-2007, 01:40 PM   #14
digger95
Member
 
Registered: Oct 2007
Location: Indiana, PA
Distribution: Slackware 12.1
Posts: 256

Rep: Reputation: 31
Woo hoo!

I did my very first kernel compile ever today and it actually booted and ran on the first attempt. I'm so proud of myself.

I made the modifications to latency and timer frequency as per Alien's Wiki. Nice guide by the way. I can't say that my sound quality has improved at all, however my multimedia in general plays MUCH more smoothly. Xine is much better behaved now. Before the compile it wouldn't play vids for me at all but now it runs great.

Thanks for the tips.

Now if I could just resolve the AC'97 sound issue.

Dig

Last edited by digger95; 10-28-2007 at 01:43 PM.
 
Old 10-28-2007, 01:42 PM   #15
digger95
Member
 
Registered: Oct 2007
Location: Indiana, PA
Distribution: Slackware 12.1
Posts: 256

Rep: Reputation: 31
Quote:
Originally Posted by Han Solo View Post
I put the curser on the Tone 00 and hit M and it came on.
Hi Han... don't know if I'm doing something wrong, but I have no 'tone' setting under alsamixer. Dig
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alsa and AC97 chastulsa Debian 15 07-30-2007 09:19 AM
ALSA ignorant of my ac97 greeklegend Linux From Scratch 4 12-01-2006 02:16 AM
AC97 with ALSA 10.1 Bobymc Linux - Hardware 2 04-23-2006 11:51 AM
Alsa problems AC97 etc...help!!! GoinEasy9 Linux - General 10 03-23-2004 01:52 PM
ac97+alsa problems JoNaX Linux - Hardware 0 04-05-2003 07:45 AM


All times are GMT -5. The time now is 06:27 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration