Re: MX-17.1/MX-18.1: Replacing PulseAudio by ALSA's sound server – implications?
Posted: Fri Oct 25, 2019 5:16 am
Just a general request, your posts are a LOT more pleasant to read when you leave all the boldings out. 

Support for MX and antiX Linux distros
http://www.forum.mxlinux.org/
Code: Select all
15 files = 1003M ~ >$cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf7130000 irq 29
1 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf7080000 irq 17
2 [US2x2 ]: USB-Audio - US-2x2
TEAC Corporation US-2x2 at usb-0000:00:14.0-10, high speed
Code: Select all
# v4.0
# Requires alsa-utils libasound2-plugin-equal
# ***** Defaults *******************************************************
# Audio card/chip and device to use and control
# In most cases these settings should remain commented (#)
# When commented, card and device 0 are usually automatically selected
# When uncommented, the item corresponding to the number is selected
defaults.pcm.card 2
defaults.ctl.card 2
#defaults.pcm.device 0
# ***** Reset **********************************************************
# override the existing definition of the default device
pcm.!default
{
type plug
# point output to the equalizer device
slave.pcm plugequal
}
# ***** Equalizer ******************************************************
# set up the control interface of the equalizer device
ctl.equalizer
{
type equal
}
# set up the equalizer device
pcm.plugequal
{
type equal
# point output to device named preamp
slave.pcm "plug:preamp"
}
# ***** Pre-Amp ********************************************************
# set up the preamp device
pcm.preamp
{
type softvol
# name of slider control to display in alsamixer interface
control.name Pre-Amp
# minimum dB when slider is at 0%
min_dB -5.0
# maximum dB when slider is at 100%
max_dB 40.0
# point output to device named duplex
slave.pcm "duplex"
}
# ***** Playback and Capture *******************************************
# set up the playback/capture device
pcm.duplex
{
type asym
# point playback output to use dmix
playback.pcm "dmix"
# point capture input record to use dsnoop
capture.pcm "dsnoop"
}
Eadwine Rose wrote: Fri Oct 25, 2019 5:16 am Just a general request, your posts are a LOT more pleasant to read when you leave all the boldings out.![]()
As for the pre-amp , I simply have this in my /etc/asound.conf, not exactly sure about the syntax for this - I copied this from some guy on the web who seemed to know what he was doing !!MX-16_fan wrote: Thu Oct 24, 2019 8:40 pm @rs55:
Very interesting, @rs55. Thank you for sharing your test results with us.
I.e. set up the way that @dreamer and I have worked it out so far, with great help from @dolphin_oracle. As to your report, this has now worked in another (in any case: third,) setup (as once, before the degradation of Debian, it did with no issues whatsoever out-of-the-box.). Superb !rs55 wrote: Sun Oct 20, 2019 4:17 pm - I uninstalled pulse and pavu and all pulse associated things.
(@rs55:) That is ugly.rs55 wrote: Sun Oct 20, 2019 4:17 pm - Important: libcanberra0 and libcanberra-GTK3-* programs seem to be necessary - so I had to reinstall those.
@dolphin_oracle: Is there anything that could be done about those remaining libcanberra* dependencies?
Sounds like a good idea, but could you (or someone else) tell us more about the connection between PulseAudio, apulse, and potential security- and general implications regarding further development architecture? Would be interesting to know what the price for that compatibility is.rs55 wrote: Sun Oct 20, 2019 4:17 pm - I installed apulse
- changed call to firefox as follows: apulse firefox , chrome works as is, deadbeef works, VLC works.
Sounds like an excellent idea. However, you might wish to try and run a "sudo rm /var/lib/alsa/asound.state" (at your own risk), and reboot after that, and maybe (chance of 30% would be my estimation) you won't need the pre-amp afterwards any more.rs55 wrote: Sun Oct 20, 2019 4:17 pm - installed a pre-amp for alsa ( took some fiddling, this is optional but can raise the volume quite high on my thinkpad with the preamp)
Tẃo questions regading that very same thing:rs55 wrote: Sun Oct 20, 2019 4:17 pm - installed a pre-amp for alsa ( took some fiddling, this is optional but can raise the volume quite high on my thinkpad with the preamp)
- What pre-amping application did you use for that?
- Would you know how to increase the volume generated by any Firefox-based browser simply via about:config?
Please see above. Thanks to dolphin_oracle's repackaging, there's no need to loose the system sounds any more. You might wish to try the new package.rs55 wrote: Sun Oct 20, 2019 4:17 pm Consequences: MX System Sounds was uninstalled in the process. I never use system sounds anyway - so no loss.
Sounds good.
Great! As with you, according to quite a few people, sound generally becomes great again once you remove PulseAudio.rs55 wrote: Sun Oct 20, 2019 4:17 pm - Run my music player on pure alsa without any processing, sounds great.
Fully correct, IMHO.rs55 wrote: Sun Oct 20, 2019 4:17 pm I dont like software that tries to be too clever - and Pulse falls in that category - too much fiddling with setups, and if you set the volume to 150% , then use the hardware keys to reduce it a bit - it falls to 100% and then cannot raise it back etc etc. Too many idiosyncrasies for something simple.
A vast majority of Linux-on-a-Desktop users is likely to fully agree agree with you.rs55 wrote: Sun Oct 20, 2019 4:17 pm All I need is sound in the browser and sound for my music player - through the speakers of through my DAC. Thats it. And with Alsa - everything now Just Works.
We'll keep working on documenting potential implications here in this thread, and try to remove roadblocks. Please stay stuned. Further input from you would most certainly be greatly appreciated.rs55 wrote: Sun Oct 20, 2019 4:17 pm I dont have any complex sound setups or bluetooth etc - so other beware that this drastic surgery may affect you if you have other sound devices.
In case you'd like to use Bluetooth, please have a look at this separate thread: viewtopic.php?f=134&t=51892.
Best wishes,
and a nice weekend to all of you,
Joe
Very interesting. My impression is that ever since PulseAudio entered the stage, the aspect of sound quality has been disregarded. So it's great to see that there are people still working on this topic.KoO wrote: Sun Oct 27, 2019 8:05 am @rs55
You want to know about alsa and your dac or audio cards plus more check these links out.
https://lacocina.nl/detect-alsa-output-capabilities
https://lacocina.nl/audiophile-mpd
https://lacocina.nl/bitperfect-audio