Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

HOWTO systemwide eq with alsaequal

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Message
Author
ant
Posts: 355
Joined: 2011-11-09 00:15

Re: HOWTO systemwide eq with alsaequal

#31 Post by ant »

ant wrote:Hello.

I tried to get this to work from http://www.thedigitalmachine.net/alsaequal.html and this forum thread. However, its EQ doesn't seem to work for me on my over year old Debian stable box with http://www.thedigitalmachine.net/tools/ ... .6.tar.bz2. I had no problems compiling it though:

# nano /root/.asoundrc
...
The author kindly replied to my e-mail and told me to try local ~/.asoundrc instead. That worked for mpg321 player, but not mpg123:
mpg123 -a hw:equal Rat\ Soufflé\ -\ Doctor\ Who\ \(Howell\ 2010\
Mix\).mp3
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jackdmp 1.9.6
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2010 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
Cannot create thread 1 Operation not permitted
Cannot create thread 1 Operation not permitted
JACK server starting in realtime mode with priority 10
Cannot lock down memory area (Cannot allocate memory)
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ...
hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
Using ALSA driver HDA-Intel running on card 0 - HDA Intel at 0xf7ff8000
irq 22
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2
periods
ALSA: final selected sample format for capture: 32bit integer
little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer
ittle-endian
ALSA: use 2 periods for playback
Cannot use real-time scheduling (RR/10)(1: Operation not permitted)
AcquireSelfRealTime error
Cannot lock down memory area (Cannot allocate memory)
Registered as JACK client mpg123-11097.
Cannot use real-time scheduling (RR/5)(1: Operation not permitted)
AcquireRealTime error
Unknown destination port in attempted (dis)connection src_name
[mpg123-11097:left] dst_name [hw:equal]
[jack.c:125] error: connect_jack_ports(): failed to jack_connect()
ports: -1
JackTemporaryException : now quits...
jack main caught signal 2
[pulse.c:84] error: Failed to open pulse audio output: Invalid argument
[nas.c:222] error: could not open NAS server hw:equal

Released audio card Audio0
audio_reservation_finish
[audio.c:625] error: failed to open audio device
[audio.c:180] error: Unable to find a working output module in this
list: alsa,oss,esd,jack,pulse,nas,arts
[audio.c:527] error: Failed to open audio output module
[mpg123.c:847] error: Failed to initialize output, goodbye.

Weird. It looks like I have to tell each audio player to use Alsa's "equal" hw. Is there a way to force this by default for ALL software for audio? I couldn't figure out how to get my XMMS, Mplayer, web browsers, Gnome v2.23, VLC, etc. to use it by default. Is there a way to do that? :( https://johan.pp.se/2011/02/20/systemwi ... -equalizer says you just restart the software which I did. Does it require a reboot?

andoru
Posts: 272
Joined: 2014-03-14 16:59

Re: HOWTO systemwide eq with alsaequal

#32 Post by andoru »

Sorry for necromancing, but I couldn't find any other better thread for my question.
Just as Job posted earlier, I successfully installed libasound2-plugin-equal, alsamixer -D equal brings up the equalizer as expected, but no matter how I change it, it seems to not change the sound in VLC, it still sounds flat as if there were no equalizer. Any fix for it?

patrick013
Posts: 84
Joined: 2013-02-07 19:08

Re: HOWTO systemwide eq with alsaequal

#33 Post by patrick013 »

I installed the equalizer per this, works fine all around.
Used the libasound2-plugin-equal equalizer plugin for
ALSA in the stable repo.


PCLinuxOS Magazine - Page 11

:D

Polaris96
Posts: 555
Joined: 2009-06-17 18:37

Re: HOWTO systemwide eq with alsaequal

#34 Post by Polaris96 »

TO ALL

Please be advised this HOW TO is pretty deprecated at this point. The most signifigant issue you'll likely encounter is a loss of functionality (or, rather, unpredictable functionality) when you've also got PulseAudiou installed.

ALSA and Pulse conduct a constant tug-o-war over which process gets the stream LAST. because of this, you might have some real issues with using alsaequal on a PA equipped system. I haven't been able to resolve this and don't have the time, right now to dig deeply into

b/r $POLARIS
for as long as the world remains. for as long as time remains. so, too, will I remain. To serve. To help. And to make my contribution. Also, never forget our family at debianuserforums.org If we can't solve your problem, they probably can.

patrick013
Posts: 84
Joined: 2013-02-07 19:08

Re: HOWTO systemwide eq with alsaequal

#35 Post by patrick013 »

Polaris96 wrote:TO ALL
Please be advised this HOW TO is pretty deprecated at this point.
b/r $POLARIS
I ran mine with Pulse and it ran just as good. But, if you have Pulse
you really don't need it and can do some recording, LAN, etc.. a little
better also with Pulse. But to say it is deprecated on an ALSA only
system, I wouldn't go that far. Makes Flash, AlsaPlayer, Totem,
everything soundwise OK with a 3.13.x kernel.

regards,

P

mh0
Posts: 1
Joined: 2014-09-17 20:29

Re: HOWTO systemwide eq with alsaequal

#36 Post by mh0 »

Hi, total Linux noob here and I had some problems with the install specifically:

Code: Select all

~# cd alsaequal
    ~#make clean
    ~#make
Anyway, what I did was is just follow the instructions at this website from the start:
http://science-logbook.blogspot.co.uk/2 ... a-for.html

I noticed that some people could install the equaliser but then it did not affect theur sound at all. I too had this but a restart solved it.
Now however my headphones no longer work :(

Thanks for this guide. Maybe update it but I cant remember the error :p

M_Odes
Posts: 1
Joined: 2013-10-31 04:08

Re: HOWTO systemwide eq with alsaequal

#37 Post by M_Odes »

mh0 wrote:Hi, total Linux noob here and I had some problems with the install specifically:

Code: Select all

~# cd alsaequal
    ~#make clean
    ~#make
Anyway, what I did was is just follow the instructions at this website from the start:
http://science-logbook.blogspot.co.uk/2 ... a-for.html

I noticed that some people could install the equaliser but then it did not affect theur sound at all. I too had this but a restart solved it.
Now however my headphones no longer work :(

Thanks for this guide. Maybe update it but I cant remember the error :p
Hi, I'm the author of that blog, I've made some updates and even changed the blog's URL

The link to the updated post is here

http://dalogbook.blogspot.com/2013/08/s ... a-for.html

I hope you find it useful,

Chers

Post Reply