kopia lustrzana https://github.com/rs1729/RS
lms6-403: lower detection threshold due to good performance
rodzic
084145ba65
commit
e3d3d7c7f6
|
@ -948,7 +948,7 @@ int main(int argc, char **argv) {
|
|||
|
||||
int header_found = 0;
|
||||
|
||||
float thres = 0.76;
|
||||
float thres = 0.68;
|
||||
float _mv = 0.0;
|
||||
|
||||
int symlen = 1;
|
||||
|
@ -1195,7 +1195,7 @@ int main(int argc, char **argv) {
|
|||
while ( 1 )
|
||||
{
|
||||
// FM-audio:
|
||||
header_found = find_header(&dsp, thres, 3, bitofs, dsp.opt_dc); // optional 2nd pass: dc=0
|
||||
header_found = find_header(&dsp, thres, 4, bitofs, dsp.opt_dc); // optional 2nd pass: dc=0
|
||||
_mv = dsp.mv;
|
||||
|
||||
if (header_found == EOF) break;
|
||||
|
|
|
@ -967,7 +967,7 @@ int main(int argc, char **argv) {
|
|||
|
||||
int header_found = 0;
|
||||
|
||||
float thres = 0.76;
|
||||
float thres = 0.65;
|
||||
float _mv = 0.0;
|
||||
|
||||
int symlen = 1;
|
||||
|
@ -1135,6 +1135,10 @@ int main(int argc, char **argv) {
|
|||
fprintf(stderr, "error: raw data not IQ\n");
|
||||
return -1;
|
||||
}
|
||||
if (option_iq == 0 && gpx->option.vit == 2) { // FM-demodulated data not recommended
|
||||
gpx->option.vit = 1; // for soft-decoding
|
||||
fprintf(stderr, "info: soft decoding only for IQ\n");
|
||||
}
|
||||
if (option_iq) sel_wavch = 0;
|
||||
|
||||
pcm.sel_ch = sel_wavch;
|
||||
|
@ -1220,7 +1224,7 @@ int main(int argc, char **argv) {
|
|||
while ( 1 )
|
||||
{
|
||||
// FM-audio:
|
||||
header_found = find_header(&dsp, thres, 3, bitofs, dsp.opt_dc); // optional 2nd pass: dc=0
|
||||
header_found = find_header(&dsp, thres, 5, bitofs, dsp.opt_dc); // optional 2nd pass: dc=0
|
||||
_mv = dsp.mv;
|
||||
|
||||
if (header_found == EOF) break;
|
||||
|
|
|
@ -951,7 +951,7 @@ void *thd_lms6X(void *targs) { // pcm_t *pcm, double xlt_fq
|
|||
|
||||
int header_found = 0;
|
||||
|
||||
float thres = 0.76;
|
||||
float thres = 0.68;
|
||||
float _mv = 0.0;
|
||||
|
||||
int symlen = 1;
|
||||
|
@ -1084,7 +1084,7 @@ void *thd_lms6X(void *targs) { // pcm_t *pcm, double xlt_fq
|
|||
bitQ = 0;
|
||||
while ( 1 && bitQ != EOF )
|
||||
{
|
||||
header_found = find_header(&dsp, thres, 3, bitofs, dsp.opt_dc);
|
||||
header_found = find_header(&dsp, thres, 4, bitofs, dsp.opt_dc);
|
||||
_mv = dsp.mv;
|
||||
|
||||
if (header_found == EOF) break;
|
||||
|
|
|
@ -135,7 +135,7 @@ static rsheader_t rs_hdr[Nrs] = {
|
|||
{ 2500, 0, 0, dfm_header, 1.0, 0.0, 0.65, 2, NULL, "DFM9", tn_DFM, 0, 0, 0.0}, // DFM6: -2 ?
|
||||
{ 4800, 0, 0, rs41_header, 0.5, 0.0, 0.70, 2, NULL, "RS41", tn_RS41, 0, 0, 0.0},
|
||||
{ 4800, 0, 0, rs92_header, 0.5, 0.0, 0.70, 3, NULL, "RS92", tn_RS92, 0, 0, 0.0}, // RS92NGP: 1680/400=4.2
|
||||
{ 4800, 0, 0, lms6_header, 1.0, 0.0, 0.70, 2, NULL, "LMS6", tn_LMS6, 0, 0, 0.0}, // lmsX: 7?
|
||||
{ 4800, 0, 0, lms6_header, 1.0, 0.0, 0.60, 5, NULL, "LMS6", tn_LMS6, 0, 0, 0.0}, // lmsX: 7?
|
||||
{ 9616, 0, 0, mk2a_header, 1.0, 0.0, 0.70, 2, NULL, "MK2LMS", tn_MK2LMS, 1, 2, 0.0}, // Mk2a/LMS6-1680 , --IQ: decimate > 170kHz ...
|
||||
{ 9616, 0, 0, m10_header, 1.0, 0.0, 0.76, 2, NULL, "M10", tn_M10, 1, 1, 0.0}, // M10.tn=5 (baud=9616) , M20.tn=6 (baud=9600)
|
||||
{ 2400, 0, 0, meisei_header, 1.0, 0.0, 0.70, 2, NULL, "MEISEI", tn_MEISEI, 0, 1, 0.0},
|
||||
|
|
Ładowanie…
Reference in New Issue