Easy Linux Audio hack

Moderator: Forum moderators

Post Reply
User avatar
trawglodyte
Posts: 236
Joined: Mon Dec 11, 2023 11:32 am
Location: my cave
Has thanked: 234 times
Been thanked: 72 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.

Like a monkey trying to fly a space-ship. What's this button do?
Like a 12-yr old trying to wire a house. Gonna get zapped!

User avatar
Jasper
Posts: 1597
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 676 times
Been thanked: 359 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”