Page 1 of 1

Easy Linux Audio hack

Posted: Mon Jan 22, 2024 9:26 pm
by trawglodyte

If you have a file /etc/asound.conf copy this and paste it in. If you don't have a file /etc/asound.conf put this in a text editor and save it as /etc/asound.conf then reboot to change system defaults.
Some apps over-ride defaults, others you may hear a difference. Listen to some .mp3's or YouTube videos before and after and let me know how it works for you.

Code: Select all

## Linux usually defaults to "samplerate" but there are better converters
## put one of the following - samplerate samplerate_medium samplerate_best lavcrate 
## lavcrate_high lavcrate_higher speexrate speexrate_medium speexrate_best
## in between " " below to choose rate converter. 
## save file as /etc/asound.conf or copy/paste to existing
## /etc/asound.conf if you have that file already.
defaults.pcm.rate_converter "lavcrate_higher"
## resample quality - Linux defaults to 4
resample.quality = 10

## below sets low and high frequency cutoff. Linux usually defaults to 150/15000
## uncomment "channelmix.lfe-cutoff" to extend low frequencies (more bass if your speakers are capable)
# channelmix.lfe-cutoff = 60
## uncomment "channelmix.fc-cutoff" to extend high frequencies (you may notice a bit more "sparkle" on your audio)
# channelmix.fc-cutoff  = 22000

Re: Easy Linux Audio hack

Posted: Tue Jan 23, 2024 7:47 am
by Jasper

@trawglodyte

I did edit my file and uncommented the additional variables too.

Personally, it made no difference to me ............ tested playing back an online video.

I don't have a MP3 file to hand and used a M4a and Opus track to see if I heard a difference.

Image