aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2016-05-13 19:23:43 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2016-05-13 19:23:43 +0200
commit60d9a7b496a8df465f848032dbe3d1592ce5f07d (patch)
treebde53d33d6a1d24b1d1256c23ce5d4101152297d /src
parentc2cfce23733b649a9370c73d5d2737596266921c (diff)
C-Netz: Advice about requirement of emphasis done by software
Diffstat (limited to 'src')
-rw-r--r--src/cnetz/main.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/cnetz/main.c b/src/cnetz/main.c
index 87e1ec5..f9ed9bf 100644
--- a/src/cnetz/main.c
+++ b/src/cnetz/main.c
@@ -52,7 +52,7 @@ int auth = 0;
void print_help(const char *arg0)
{
- print_help_common(arg0, "");
+ print_help_common(arg0, "-S <rx ppm>,<tx ppm> -E -e ");
/* - - */
printf(" -t --channel-type <channel type> | list\n");
printf(" Give channel type, use 'list' to get a list. (default = '%s')\n", chan_type_short_name(chan_type[0]));
@@ -265,6 +265,15 @@ int main(int argc, char *argv[])
if (i == num_kanal)
fprintf(stderr, "You did not define any SpK (speech) channel. You will not be able to make any call.\n");
+ if (!do_pre_emphasis || !do_de_emphasis) {
+ fprintf(stderr, "*******************************************************************************\n");
+ fprintf(stderr, "I strongly suggest to let me do pre- and de-emphasis (options -E -e)!\n");
+ fprintf(stderr, "Use a transmitter/receiver without emphasis and let me do that!\n");
+ fprintf(stderr, "Because carrier FSK signalling and scrambled voice (default) does not use\n");
+ fprintf(stderr, "emphasis, I like to control emphasis by myself for best results.\n");
+ fprintf(stderr, "*******************************************************************************\n");
+ }
+
polarity = 0; /* auto */
if (!strcmp(flip_polarity, "no"))
polarity = 1; /* positive */