C-Netz: Advice about requirement of emphasis done by software

This commit is contained in:
Andreas Eversberg 2016-05-13 19:23:43 +02:00
parent c2cfce2373
commit 60d9a7b496
1 changed files with 10 additions and 1 deletions

View File

@ -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 */