minimodem: default confidence = 2.0 for SNR algo #5

This commit is contained in:
Kamal Mostafa 2012-08-18 19:19:22 -07:00
parent cf9ba20ee0
commit 18b1eb7457
2 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ receive mode: decode audio tones
automatically detect mark and space frequences from carrier
.TP
.B \-c, \-\-confidence threshold
set receive confidence threshold (0.0 to 1.0, default 0.6)
set receive confidence (minimum SNR) threshold (default 2.0)
.TP
.B \-8, \-\-ascii
ASCII 8\-N\-1

View File

@ -321,7 +321,7 @@ usage()
" -r, --rx, --receive, --read (default)\n"
" [options]\n"
" -a, --auto-carrier\n"
" -c, --confidence {threshold}\n"
" -c, --confidence {min-snr-threshold}\n"
" -8, --ascii ASCII 8-N-1\n"
" -5, --baudot Baudot 5-N-1\n"
" -f, --file {filename.flac}\n"
@ -360,7 +360,7 @@ main( int argc, char*argv[] )
char *filename = NULL;
float carrier_autodetect_threshold = 0.0;
float bfsk_confidence_threshold = 1.0;
float bfsk_confidence_threshold = 2.0;
sa_backend_t sa_backend = SA_BACKEND_SYSDEFAULT;
sa_format_t sample_format = SA_SAMPLE_FORMAT_S16;