Easy Linux Audio hack

Moderator: Forum moderators

Post Reply
User avatar
trawglodyte
Posts: 257
Joined: Mon Dec 11, 2023 11:32 am
Location: my cave
Has thanked: 234 times
Been thanked: 77 times

Easy Linux Audio hack

Post 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
Last edited by trawglodyte on Tue Jan 23, 2024 3:57 pm, edited 2 times in total.

low-bar learner

User avatar
Jasper
Posts: 2067
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 854 times
Been thanked: 480 times

Re: Easy Linux Audio hack

Post 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

Post Reply

Return to “Sounds”