1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-05-20 10:53:23 -07:00

add soft compression to filter chain

This commit is contained in:
Connor Olding 2016-04-13 09:29:58 -07:00
parent b60627e169
commit 54febfd449

View File

@ -10,6 +10,7 @@ _M_PRE_EMPH='equalizer=f=50.0:g=-10:width_type=o:w=4,equalizer=f=5000:g=+05:widt
_M_POST_EMPH='equalizer=f=50.0:g=+10:width_type=o:w=4,equalizer=f=5000:g=-05:width_type=o:w=4'
_M_COMPRESS='compand=0.001|0.001:0.25|0.25:-42/-42|0/-21:6:18:-30:0.001'
_M_LIMIT='compand=0.000|0.000:0.10|0.10:-9/-9|0/-6.:3:4.5:-9'
_M_COMPRESS_SOFT='acompressor=threshold=0.01:ratio=1.667:attack=50:release=4000:makeup=6.7:knee=8:mix=0.67'
_M_KILL="$_M_STEREO,$_M_PRE_EMPH,$_M_COMPRESS,$_M_POST_EMPH"
getladspa() {
@ -27,7 +28,7 @@ _M_LEVEL="$REPLY"
_nn="$(uname -n | tr A-Z a-z)"
if [[ "$_nn" == "spectre" ]]; then
_M_PROCESS="$_M_KILL,alimiter=level_out=0.7071"
_M_PROCESS="$_M_PRE_EMPH,$_M_COMPRESS_SOFT,$_M_POST_EMPH,alimiter=level_out=0.7071"
fi
if [[ "$_nn" == "banshee" ]]; then
_M_PROCESS="$_M_LEVEL,$_M_SPEAKERS,alimiter=level_in=0.5"