[pulseaudio-discuss] pulseaudio equalizer
I guess the equalizer must be third party software not developed by pulseaudio. As is on a clean stretch install with pulseaudio working, pulseaudio equalizer fails. I install root$ apt install pulseaudio-equalizer After which i execute from a user terminal user$ qpaeq johhnycrash@Tango:~$ qpaeq Which gives error: There was an error connecting to pulseaudio, please make sure you have the pulseaudio dbus module loaded, exiting... Ok fair I do what it requires. $ pactl load-module module-dbus-protocol 25 I then execute user$ qpaeq Then it throws a popup with error message pa_stream_writable_size() failed: Connection terminated and a terminal error: It seems that running pulseaudio does not support equalizer features and loading module-equalizer-sink module failed. Exiting... Whats up with this ? The Equalizer is included in Debian stretch, but it seems severely broken. It would be nice to have the equalizer working with pulseaudio as there is a boatload of applications for that. ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Pulseaudio-equalizer module crackling with libao
On Fri, May 02, 2014 at 01:08:49AM -0700, Jason Newton wrote: > Hi Sean, > > I'll add libao to the list of things to investigate down the line, > flash is another thing that can exhibit this crackling characteristic. > It probably has to do with buffering and how often how much audio a > client is willing to give to pulse within the period of time > pulse/equalizer asks for the audio before the render calls starts > filling in zeros but that is just a starting point of investigation. Thanks for the reply. It would seem that way, given that the buffer actually does absorb ~20 seconds of audio before blocking. It seems to be post-EQ, but I need to double-check that. > If the problem is indeed like flash, currently one thing you can do is > see if changing toggling tsched helps but that's just a work around at > best. Another less-than-work-around is just to not use the equalizer > for that particular client - pavucontrol lets you accomplish this. I've tried tsched, it doesn't change anything. And yeah, I currectly route those apps straight to the card sink manually. Less than ideal. (My workaround for my desktop is a couple of vintage hardware equalizers. Nice, but not exactly a laptop-able solution. =P ) > Unfortunately I don't really have time to work on the equalizer for a > few more months due to some project deadlines and I really can't be > missing those :-). I will remember to look into libao though. If you > want to look into the guts of the equalizer, it's fairly self > contained in the src/modules/module-equalizer-sink.c , however I think > to debug this interaction you may want to get familiar with the core > libraries, and source/sinks. I might (if I'm feeling adventurous) take a dive into the code this summer. I also don't have much free time now, either. Thanks for the pointers. --Sean ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Pulseaudio-equalizer module crackling with libao
Hi Sean, I'll add libao to the list of things to investigate down the line, flash is another thing that can exhibit this crackling characteristic. It probably has to do with buffering and how often how much audio a client is willing to give to pulse within the period of time pulse/equalizer asks for the audio before the render calls starts filling in zeros but that is just a starting point of investigation. If the problem is indeed like flash, currently one thing you can do is see if changing toggling tsched helps but that's just a work around at best. Another less-than-work-around is just to not use the equalizer for that particular client - pavucontrol lets you accomplish this. Unfortunately I don't really have time to work on the equalizer for a few more months due to some project deadlines and I really can't be missing those :-). I will remember to look into libao though. If you want to look into the guts of the equalizer, it's fairly self contained in the src/modules/module-equalizer-sink.c , however I think to debug this interaction you may want to get familiar with the core libraries, and source/sinks. On Tue, Apr 29, 2014 at 8:41 PM, Sean Greenslade wrote: > Hi, folks. I've been trying to track down the source of a rather odd > problem I'm having. I've been using the pulseaudio-equalizer module, but > it seems to have some issues when using it via libao. > > My hardware: > - Asus eeePC 1015PEM > - Intel Corporation NM10/ICH7 Family High Definition Audio Controller > (on motherboard) > - FiiO E10 USB DAC > > My software: > - Linux wheatley 3.14.1-1-ARCH #1 SMP PREEMPT Mon Apr 14 20:40:47 CEST > 2014 x86_64 GNU/Linux > - pulseaudio 5.0 > - libao 1.2.0 > - alsa-lib 1.0.27.2 > > To enable the EQ, I've added the following to my default.pa: > load-module module-dbus-protocol > load-module module-equalizer-sink > > The issue: When running [libao_sound_source] -> equalizer -> Audio card, > the audio becomes sparse crackles. When running the same > [libao_sound_source] -> Audio card, the audio comes through unmolested. > > But the equalizer is not broken. [S]Mplayer can feed its audio through > the equalizer no problem, as can mpg123. > > Here is where things get a bit...bizarre, though. After playing with > libao's settings, I discovered that if I set buffer_time to any value > between 49 and 97 (inclusive), the audio will play through correctly. > Any other value causes the sparse static. But(!) there is another issue. > When playing pianobar (which uses libao), the audio buffers in a > "caterpiller style." It will immediately dump ~20-30 seconds of audio > into the equalizer sink and block, wait until the buffer underruns, then > dump another ~20-30 seconds of audio. > > I realize that this may be an issue with libao (or something else > entirely), but I'm not knowledgeable enough to dig into the > codebases myself. If it's not a pulse issue, please point me in the > right direction. > > Thanks, > > --Sean > > ___ > pulseaudio-discuss mailing list > pulseaudio-discuss@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
[pulseaudio-discuss] Pulseaudio-equalizer module crackling with libao
Hi, folks. I've been trying to track down the source of a rather odd problem I'm having. I've been using the pulseaudio-equalizer module, but it seems to have some issues when using it via libao. My hardware: - Asus eeePC 1015PEM - Intel Corporation NM10/ICH7 Family High Definition Audio Controller (on motherboard) - FiiO E10 USB DAC My software: - Linux wheatley 3.14.1-1-ARCH #1 SMP PREEMPT Mon Apr 14 20:40:47 CEST 2014 x86_64 GNU/Linux - pulseaudio 5.0 - libao 1.2.0 - alsa-lib 1.0.27.2 To enable the EQ, I've added the following to my default.pa: load-module module-dbus-protocol load-module module-equalizer-sink The issue: When running [libao_sound_source] -> equalizer -> Audio card, the audio becomes sparse crackles. When running the same [libao_sound_source] -> Audio card, the audio comes through unmolested. But the equalizer is not broken. [S]Mplayer can feed its audio through the equalizer no problem, as can mpg123. Here is where things get a bit...bizarre, though. After playing with libao's settings, I discovered that if I set buffer_time to any value between 49 and 97 (inclusive), the audio will play through correctly. Any other value causes the sparse static. But(!) there is another issue. When playing pianobar (which uses libao), the audio buffers in a "caterpiller style." It will immediately dump ~20-30 seconds of audio into the equalizer sink and block, wait until the buffer underruns, then dump another ~20-30 seconds of audio. I realize that this may be an issue with libao (or something else entirely), but I'm not knowledgeable enough to dig into the codebases myself. If it's not a pulse issue, please point me in the right direction. Thanks, --Sean ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
[pulseaudio-discuss] Pulseaudio Equalizer
I'm hearing impaired and really need to get the system wide equalizer working. Although I'm not totally deaf I am extremely hard of hearing and being able to shape the sounds on my computer are a great help. For music I have found several music players with EQ built in but when I need to hear something coming across on a web page it becomes a problem. Anyway, I digress. LOL SO I have installed both pulseaudio and pulseaudio-equalizer from git but I can't seem to get a default.pa that works for me. When I startup pulseaudio and then type this; pacmd list-sinks|grep 'name:' I get this; name: I'm getting no sink or something. Maybe my sink is stopped up. :) and if I add the following to the mix: load-module module-equalizer-sink sink_name=equalized master=alsa_output set_default=true set-default-sink equalized it segfaults with;module-equalizer-sink.c: Master sink not found, trying default So any help will be greatly appreciated, thanks ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss