From dc360d45c3b8eab66b4592ddbcc6a5fc8f1e6e6d Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Tue, 16 Sep 2014 12:50:30 +0100 Subject: [PATCH] Adjust slope of volume control to be a bit faster at the lower end -- diagrams not updated. --- common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.c b/common.c index 303c52f2..b1344834 100644 --- a/common.c +++ b/common.c @@ -401,7 +401,7 @@ double vol2attn(double vol, long max_db, long min_db) { double first_slope = -2500.0; // this is the slope of the attenuation at the high end -- 25dB for the full rotation. if (-range_db>first_slope) first_slope = range_db; - double lines[order][2] = {{0,first_slope},{-5,first_slope-(range_db+first_slope)/2},{-10,-range_db}}; + double lines[order][2] = {{0,first_slope},{-5,first_slope-(range_db+first_slope)/2},{-17,-range_db}}; int i; for (i=0;i