Equalizer
Posted: Mon Sep 11, 2017 12:36 pm
I don't know if the equalizer can be enabled with all sound cards. My laptop is a Thinkpad T420s and the sound module (I guess it's integrated into the kernel) is SND_HDA.
To enable the equalizer I put in /boot/loader.conf:
Then you can control it with:
Another trick to increase the volume:
You should be cautious with this value, if too low it can generate distortion.
If you want to go further, an small script can be used to modify the equalizer with keys. For example, with xbindkeys.
The script could be like:
and in your ~/.xbindkeysrc:
replacing 'jjess'' with your user, and 'basstreble' with the name of your script. Then you can increase/decrease equalizer values with WindowsKeys + q/a/w/s
BR
Jes
To enable the equalizer I put in /boot/loader.conf:
Code: Select all
dev.pcm.0.play.vchans=4
hint.pcm.0.eq=1
hint.pcm.0.vpc=1
Code: Select all
mixer bass +/-value
mixer treble +/- value
Code: Select all
sysctl hw.snd.vpc_0db=10
If you want to go further, an small script can be used to modify the equalizer with keys. For example, with xbindkeys.
The script could be like:
Code: Select all
#!/bin/sh
WHICH=$1 # bass or treble
VALUE=$2 # +x -x
m=`/usr/sbin/mixer $WHICH $VALUE`
exec /usr/local/bin/notify-send -i "audio-volume-high-symbolic.svg" "${m}" -t 1 &
Code: Select all
"/home/jjess/sbin/basstreble bass +5"
Mod4 + q
"/home/jjess/sbin/basstreble bass -5"
Mod4 + a
"/home/jjess/sbin/basstreble treble +5"
Mod4 + w
"/home/jjess/sbin/basstreble treble -5"
Mod4 + s
BR
Jes