LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 12-21-2014, 02:29 AM   #16
orasis
Member
 
Registered: Mar 2008
Distribution: Slackware, Free-BSD
Posts: 53

Rep: Reputation: 34

If you're looking for quality audio you came to the wrong neighborhood...
 
Old 12-21-2014, 03:37 AM   #17
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,442
Blog Entries: 7

Rep: Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551
In my experience, this happens if you set the PCM volume at 100%.
 
Old 12-21-2014, 12:06 PM   #18
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Quote:
Originally Posted by orasis View Post
If you're looking for quality audio you came to the wrong neighborhood...
My Slackware box is hooked up to a TEAC A-H01. You'd better believe that I'm getting quality audio in this neighbourhood.

We've had another thread here from someone using a Dragonfly DAC.

Motherboard sound cards tend to be garbage in the first place, and to have their shortcoming amplified if you use ALSA. You don't realize how bad they are until you've tried a good USB DAC, and those always work perfectly with ALSA.

Last edited by dugan; 12-21-2014 at 04:36 PM.
 
Old 12-23-2014, 05:04 AM   #19
chairman.kiel
LQ Newbie
 
Registered: Dec 2014
Location: USA, Missouri
Distribution: SlackWare 14.1
Posts: 22

Original Poster
Rep: Reputation: Disabled
Thank you.

Quote:
Originally Posted by number22 View Post
dmix is software mixer, it might have problem with its default buffer size, and DMA channel conflicts(BIOS/Module option tweaks). There is a wonderful dimxer from above genss provided from archlinux. It solves most poor sound quality problem.

Alien's slackbuild/repsotiory has alsa-plugins package for speexrate.
I just installed the alsa plugin from http://slackbuilds.org/repository/14.../alsa-plugins/
What do I do now?
 
1 members found this post helpful.
Old 12-23-2014, 09:45 AM   #20
genss
Member
 
Registered: Nov 2013
Posts: 741

Rep: Reputation: Disabled
1. open a console and run alsamixer
check if pcm is over 0dB

2. vlc has it's own loudness control, check if it is over 100%

otherwise there is no reason why one source would have better quality then another
 
1 members found this post helpful.
Old 12-23-2014, 10:25 AM   #21
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,089

Rep: Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263
Quote:
Originally Posted by dugan View Post
My Slackware box is hooked up to a TEAC A-H01...
That is a very nice unit!
 
Old 12-23-2014, 12:28 PM   #22
number22
Member
 
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 278
Blog Entries: 7

Rep: Reputation: Disabled
Quote:
Originally Posted by chairman.kiel View Post
I just installed the alsa plugin from http://slackbuilds.org/repository/14.../alsa-plugins/
What do I do now?
open your .asoundrc or /etc/asound.conf; append the following:
Code:
defaults.pcm.rate_converter "speexrate"
you can switch from speexrate to speexrate_medium / speexrate_best depend on your pc resource.
 
1 members found this post helpful.
Old 12-25-2014, 06:09 AM   #23
chairman.kiel
LQ Newbie
 
Registered: Dec 2014
Location: USA, Missouri
Distribution: SlackWare 14.1
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by genss View Post
1. open a console and run alsamixer
check if pcm is over 0dB

2. vlc has it's own loudness control, check if it is over 100%

otherwise there is no reason why one source would have better quality then another
I dont see PCM as an option in alsamixer: there is master, headphone, and speaker; all of which are over 0.
Also, the vlc volume control doesnt work; what ever volume that is set in the KDE mixer will be the sound level I hear; vlc has no control over the sound, unless I set it to 0.

But that doesnt even work any more, since it will just not play sound anymore. Every time I fix the sound problem, it gives me bad sound and then will have no sound after a reboot.
 
Old 12-25-2014, 06:10 AM   #24
chairman.kiel
LQ Newbie
 
Registered: Dec 2014
Location: USA, Missouri
Distribution: SlackWare 14.1
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by number22 View Post
open your .asoundrc or /etc/asound.conf; append the following:
Code:
defaults.pcm.rate_converter "speexrate"
you can switch from speexrate to speexrate_medium / speexrate_best depend on your pc resource.
My files in both look like this now:

defaults.pcm.card 1
defaults.ctl.card 1
defaults.pcm.rate_converter "speexrate"

But vlc or any of my media players wont play sound at all with any video. But my web browser has fantastic sound.
 
Old 12-25-2014, 08:19 AM   #25
number22
Member
 
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 278
Blog Entries: 7

Rep: Reputation: Disabled
Quote:
Originally Posted by chairman.kiel View Post
My files in both look like this now:

defaults.pcm.card 1
defaults.ctl.card 1
defaults.pcm.rate_converter "speexrate"

But vlc or any of my media players wont play sound at all with any video. But my web browser has fantastic sound.
try comment out first 2 lines.
 
Old 12-25-2014, 11:08 AM   #26
genss
Member
 
Registered: Nov 2013
Posts: 741

Rep: Reputation: Disabled
Quote:
Originally Posted by chairman.kiel View Post
I dont see PCM as an option in alsamixer: there is master, headphone, and speaker; all of which are over 0.
Also, the vlc volume control doesnt work; what ever volume that is set in the KDE mixer will be the sound level I hear; vlc has no control over the sound, unless I set it to 0.

But that doesnt even work any more, since it will just not play sound anymore. Every time I fix the sound problem, it gives me bad sound and then will have no sound after a reboot.
hmm
intel drivers usually have PCM that goes over 0dB
just to be sure check if "Card:" in the top left corner is the right one (F6 to change to another)

anyway, afaik VLC does it's own volume adjust in software (that's why it goes over 100%)
either try setting the proper thingies in tools->settings->sound, or upgrading to VLC from current

a small troubleshooting tip, when all else is murky;
open a terminal and put in
watch cat /proc/asound/card1/pcm0p/sub0/hw_params
(path may vary a bit, here it's for card1 device0)
it will let you see what the card is doing
turn off FF and all players when experimenting, as if the card is open the new settings won't come to affect until it closes
 
Old 12-26-2014, 01:03 AM   #27
chairman.kiel
LQ Newbie
 
Registered: Dec 2014
Location: USA, Missouri
Distribution: SlackWare 14.1
Posts: 22

Original Poster
Rep: Reputation: Disabled
Ok, now something really weird is happening. Suddenly, I can watch videos on my Vlc and media players; which I didnt lift a finger to do anything to allow this. But the flash player has a problem playing web vids, and will cause a loop before it crashes.
 
Old 12-26-2014, 06:55 AM   #28
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,781

Rep: Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431
Quote:
Originally Posted by chairman.kiel View Post
Ok, now something really weird is happening. Suddenly, I can watch videos on my Vlc and media players; which I didnt lift a finger to do anything to allow this. But the flash player has a problem playing web vids, and will cause a loop before it crashes.
This is a Flash problem that just gets worse in Mozilla environments. AFAIK there are no on-stop-shop solid fixes but there are workarounds. One major help is setting up your browser to prefer HTML 5. YouTube has a specific page for this and there are addons for Firefox. Additionally if you setup the Flask plugin to "Ask Me", while it is a bit of a pita for something that "should just work", it does prevent stuttering, stacking resulting in crashes.
 
Old 12-26-2014, 09:07 AM   #29
number22
Member
 
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 278
Blog Entries: 7

Rep: Reputation: Disabled
Quote:
Originally Posted by chairman.kiel View Post
Ok, now something really weird is happening. Suddenly, I can watch videos on my Vlc and media players; which I didnt lift a finger to do anything to allow this. But the flash player has a problem playing web vids, and will cause a loop before it crashes.
Maybe, it's just a software mixing problem, you only can have 1 application to use sound card at one time, you can't have multiple application play sound at same time. Just following the links genss provide and find a software mixer put into your .asoundrc or /etc/asound. And you can still use plugin converter.

Last edited by number22; 12-26-2014 at 09:09 AM.
 
Old 12-27-2014, 09:26 PM   #30
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,089

Rep: Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263
Quote:
Originally Posted by number22 View Post
open your .asoundrc or /etc/asound.conf; append the following:
Code:
defaults.pcm.rate_converter "speexrate"
you can switch from speexrate to speexrate_medium / speexrate_best depend on your pc resource.

That seems like such a simple solution to such a well known problem one has to wonder why it isn't the default?
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Best FLAC player for Slackware regarding sound quality gargamel Slackware 34 12-29-2012 06:18 PM
Horrible Sound Navyblue Linux - Hardware 5 04-09-2007 01:04 PM
Help! Horrible sound quality vodergam Ubuntu 1 02-25-2007 11:55 AM
Horrible sound quality with nforce3 ac'97(intel8x0?) and alsa(?) havrige Slackware 0 12-12-2005 08:19 PM
Horrible sound quality Reefcrazed Linux - Software 3 08-16-2004 09:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration