aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2017-10-02 12:25:42 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2017-10-02 12:34:31 +0200
commit5ea48588e548db770bca99930fc11fca33ffa799 (patch)
treee4b354dc31bd9c12cdd3ec9f0ecec97fb4f53d8e
parent3e1da04f148f3c67b1cc1531861765b003bdfdd8 (diff)
AMPS/TACS: Change audio level range
-rw-r--r--src/amps/dsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amps/dsp.c b/src/amps/dsp.c
index efa89f7..95a0c09 100644
--- a/src/amps/dsp.c
+++ b/src/amps/dsp.c
@@ -106,7 +106,7 @@
#define AMPS_DBM0_DEVIATION 2900.0 /* deviation of dBm0 at 1 kHz */
#define AMPS_FSK_DEVIATION (8000.0 / AMPS_DBM0_DEVIATION) /* no emphasis */
#define AMPS_SAT_DEVIATION (2000.0 / AMPS_DBM0_DEVIATION) /* no emphasis */
-#define AMPS_MAX_DISPLAY (8000.0 / AMPS_DBM0_DEVIATION) /* no emphasis */
+#define AMPS_MAX_DISPLAY (10000.0 / AMPS_DBM0_DEVIATION) /* no emphasis */
#define AMPS_BITRATE 10000
/* for some reason, 4000 Hz deviation works better */
#define TACS_DBM0_DEVIATION 4000.0 /* 2300 Hz deviation at 1 kHz (according to panasonic manual) */
@@ -114,7 +114,7 @@
#define TACS_MAX_MODULATION 9500.0 /* (according to panasonic manual) */
#define TACS_FSK_DEVIATION (6400.0 / TACS_DBM0_DEVIATION) /* no emphasis */
#define TACS_SAT_DEVIATION (1700.0 / TACS_DBM0_DEVIATION) /* no emphasis (panasonic / TI) */
-#define TACS_MAX_DISPLAY (6400.0 / TACS_DBM0_DEVIATION) /* no emphasis */
+#define TACS_MAX_DISPLAY (8000.0 / TACS_DBM0_DEVIATION) /* no emphasis */
#define TACS_BITRATE 8000
#define SAT_DURATION 0.05 /* duration of SAT signal measurement */
#define SAT_QUALITY 0.85 /* quality needed to detect SAT signal */