Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 14 Dec 2017, 09:04
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Audio
I installed Pulseaudio, now what?
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [25 Posts]   Goto page: Previous 1, 2
Author Message
terrapin231

Joined: 21 Mar 2011
Posts: 43
Location: UK

PostPosted: Wed 06 May 2015, 02:58    Post subject:  

mikeb:
Quote:
ah good ...all seems drastic action to get decent volume don't you think...


Yep, I agree. Given that alsa remains the default framework for sound in puppy and given that many people have low vol issues with alsa, it would appear that a pavucontrol clone for alsa would be the best option, short of a wholescale switch to pulse. As mentioned elsewhere, I haven't yet noticed any appreciable 'distortion' creeping into my sounds at 150% in pavucontrol but I've noticed I have to be careful when using individual player controls (e.g via EQ) in addition to this, or instead of, things go bad very quickly Crying or Very sad

mikeb:
Quote:
I reckon this should be turned into a 'HOW TO'


Perhaps if a few people could use this thread to test things out for their setups and report back here it might be worth a 'HOW TO' but I'm not sure I'd feel confident to tidy it up enough to be watertight - for a 'HOW TO'. (Any volunteers ? Smile Please)

I still think it would be best (and easier??) for someone to produce an pavucontrol clone for alsa. I guess there's a reason why something similar can't be incorporated into puppy with alsa (?)
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11080

PostPosted: Wed 06 May 2015, 05:15    Post subject:  

Not sure if you saw this...
http://alien.slackbook.org/blog/adding-an-alsa-software-pre-amp-to-fix-low-sound-levels/
I get the feeling an alsa only method is possible...after all such as VLC can do this.

mike
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 1495
Location: Italy

PostPosted: Wed 06 May 2015, 09:52    Post subject:  

Read:

https://bbs.archlinux.org/viewtopic.php?id=139869

It did not work on my hardware. But with some changes I get it working. My /root/.asoundrc:

Code:
pcm.louder {
    type plug
    slave.pcm "hw:0"
   ttable.0.0 4.0
   ttable.1.1 4.0
}
pcm.!default "louder"


You can change according to your hardware "4.0" to a value >=1.0 which fit for you. Begin for example with "2.0" to avoid damages. Tested with mhwavedit and deadbeaf.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11080

PostPosted: Wed 06 May 2015, 13:16    Post subject:  

yes seems there is not one method that suits all.

Your config works great for deadbeef but vlc did not work... I changed to
Code:
pcm.louder {
    type plug
    slave.pcm "plughw:0"
   ttable.0.0 4.0
   ttable.1.1 4.0
}
pcm.!default "louder"

and both were happy. 4 times is quite a boost ..easy to distort so as suggested perhaps try a conservative 2.
I had to use plughw for simple recorder on the same machine....I don't think it can handle 44100 without resampling which is probably a factor.

mike
Back to top
View user's profile Send private message 
terrapin231

Joined: 21 Mar 2011
Posts: 43
Location: UK

PostPosted: Wed 06 May 2015, 13:50    Post subject:  

Yes, had come across those two pages along the way but couldn't get either to work. The "softvol" plugin solution doesn't play ball for me, producing no preamp slider in alsamixer on my setup. Following some of the reply feedback at http://alien.slackbook.org/blog/adding-an-alsa-software-pre-amp-to-fix-low-sound-levels/ I tried deleting asound.state and renewed with "alsaconf" and as I have Intel pantherpoint HDMI audio combined this with the alternative code suggested by feedback from "d" on that page. It doesn't work for me. There could be a multitude of reasons for this of course, not least that I don't really know what I'm doing : )) and may well have missed doing something obvious/important Embarassed

@watchdog:
I tried your mod and for some odd reason it worked perfectly well for browser flash audio but I couldn't get DeadBeeF or Smplayer to produce sound. The alsa output plugin just wouldn't work - which is bizarre! Probably down to something I didn't do or change following creation of root/.asoundrc

At the moment, pulseaudio mod is still the only solution for me.

Last edited by terrapin231 on Wed 06 May 2015, 13:54; edited 1 time in total
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11080

PostPosted: Wed 06 May 2015, 13:52    Post subject:  

Quote:
I tried your mod and for some odd reason it worked perfectly well for browser flash audio but I couldn't get DeadBeeF or Smplayer to produce sound. The alsa output plugin just wouldn't work - which is bizarre! Probably down to something I didn't do or change following creation of root/.asoundrc

did you try my plughw variation that I had to do?

I never got a slider either...one of those linux myths Very Happy..indeed no sound at all testing that approach.

mike
Back to top
View user's profile Send private message 
terrapin231

Joined: 21 Mar 2011
Posts: 43
Location: UK

PostPosted: Wed 06 May 2015, 14:00    Post subject:  

@mikeb
Only just caught your post after sending mine, sorry. I'll give it a try and let you know but possibly not until tomorrow now. Thanks. All the best.
terrapin231
Back to top
View user's profile Send private message 
terrapin231

Joined: 21 Mar 2011
Posts: 43
Location: UK

PostPosted: Thu 07 May 2015, 02:55    Post subject:  

@mikeb

Sorry for delay. Yes, your "plughw" mod works for me Cool I tested and now have it set to 4.0
At first, I couldn't get DeaDbeeF to play, no matter what output plugin I suggested but as soon as I closed Firefox which I had opened to test on flash (which worked just fine) DeaDbeeF played fine using Alsa output plugin/Default Audio Device.

I'm still having a bit of trouble with Smplayer as mplayer crashes when trying to use the default alsa plugin,even when all else is closed. It works selecting alsa (0.0 - HDA Intel PCH) output driver but unless I'm imagining it, this doesn't appear to come under influence of .asoundrc as volume is much lower and I have to adjust settings in Smplayer to push to a decent level. I will give things a workout over the next few days and see if imagination or reality wins the day. I guess I should also check for anything similar using the pulseaudio mod.

Edit: First indications are that this is down to Smplayer software audio config as I've found that unchecking some of the player-specific options, like "Enable EQ" allows default alsa to work = no mplayer crash.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11080

PostPosted: Thu 07 May 2015, 03:56    Post subject:  

Yes the general picture is it takes some experimentation to get everything working ok. Deadbeef did not get on so well after making vlc happy for example.
mplayer has its own softvol too so might complicate the picture.

Very useful thread and info for anyone with this problem which is pretty common as far as i can see.

If I understand correctly such asound configs could make several entries/outputs which could be used independently on a per app basis...though again its a bit of a black art.

Additional note... hw as apposed to plug(hw) tends to monopolise the sound card which causes one app to lock out others....indeed anything that uses hw including and apps own alsa config.

mike
Back to top
View user's profile Send private message 
Smithy


Joined: 12 Dec 2011
Posts: 798

PostPosted: Sat 08 Aug 2015, 03:00    Post subject:  

There's a test tone generator here:
http://www.audiocheck.net/audiofrequencysignalgenerator_sinetone.php

You can't get higher than 0 DBFS Smile
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [25 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Audio
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0718s ][ Queries: 13 (0.0110s) ][ GZIP on ]