ghpsdr3-alex icon indicating copy to clipboard operation
ghpsdr3-alex copied to clipboard

Some fixes

Open vigeruno opened this issue 8 years ago • 3 comments

Hello

FM Demod Fix: diff --git a/trunk/src/DttSP/fm_demod.c b/trunk/src/DttSP/fm_demod.c index 9d61575..b228673 100644 --- a/trunk/src/DttSP/fm_demod.c +++ b/trunk/src/DttSP/fm_demod.c @@ -113,7 +113,8 @@ newFMD (REAL samprate,

fm->lock = 0.5;
fm->afc = 0.0;
  • fm->cvt = (REAL) (0.45 * samprate / (M_PI * f_bandwid));

  • //fm->cvt = (REAL) (0.45 * samprate / (M_PI * f_bandwid));

  •    fm->cvt = (REAL) (4.5 * samprate / (M_PI * f_bandwid));
    

    return fm; }

Fix SDR-IQ SMETER: diff --git a/trunk/src/dspserver/soundcard.c b/trunk/src/dspserver/soundcard.c index c47da96..647e2d2 100644 --- a/trunk/src/dspserver/soundcard.c +++ b/trunk/src/dspserver/soundcard.c @@ -80,8 +80,8 @@ fprintf(stderr,"setSoundcard: %d\n",card); case SDR_IQ: //multimeterCalibrationOffset=-240.0f - 25.0f; //displayCalibrationOffset=-18.0f;

  •        multimeterCalibrationOffset=-240.0f - 25.0f;
    
  •        displayCalibrationOffset=-240.0f - 18.0f;
    
  •        multimeterCalibrationOffset=-240.0f - 0.0f; //-240.0f - 25.0f
    
  •        displayCalibrationOffset=-240.0f - 18.0f;   //-240.0f - 18.0f
         break;
     case U7_KX3:
         // G0HWW's figs - XG3 @ -73dBm for S9
    

Fix Gain SDR-IQ: diff --git a/trunk/src/sdriq/receiver.c b/trunk/src/sdriq/receiver.c index 27aa9f3..9f3fd9a 100644 --- a/trunk/src/sdriq/receiver.c +++ b/trunk/src/sdriq/receiver.c @@ -97,7 +97,7 @@ const char* attach_receiver(int rx, CLIENT* client) // return RECEIVER_INVALID; //}

  • gain_sdriq (0, -20);
  • gain_sdriq (0, 0); //-20 //gain_sdriq (1, 1);

freq_sdriq (7050000);

vigeruno avatar Oct 21 '16 13:10 vigeruno

Ok. Please issue a pull request.

alexlee188 avatar Oct 21 '16 13:10 alexlee188

I have incorporated your changes into the git repo.

Please test.

Thanks.

Alex

On Fri, Oct 21, 2016 at 9:12 PM, vigeruno [email protected] wrote:

Hello

FM Demod Fix: diff --git a/trunk/src/DttSP/fm_demod.c b/trunk/src/DttSP/fm_demod.c index 9d61575..b228673 100644 --- a/trunk/src/DttSP/fm_demod.c +++ b/trunk/src/DttSP/fm_demod.c @@ -113,7 +113,8 @@ newFMD (REAL samprate,

fm->lock = 0.5; fm->afc = 0.0;

  • fm->cvt = (REAL) (0.45 * samprate / (M_PI * f_bandwid));

  • //fm->cvt = (REAL) (0.45 * samprate / (M_PI * f_bandwid));

    fm->cvt = (REAL) (4.5 * samprate / (M_PI * f_bandwid));

    return fm; }

Fix SDR-IQ SMETER: diff --git a/trunk/src/dspserver/soundcard.c b/trunk/src/dspserver/ soundcard.c index c47da96..647e2d2 100644 --- a/trunk/src/dspserver/soundcard.c +++ b/trunk/src/dspserver/soundcard.c @@ -80,8 +80,8 @@ fprintf(stderr,"setSoundcard: %d\n",card); case SDR_IQ: //multimeterCalibrationOffset=-240.0f - 25.0f; //displayCalibrationOffset=-18.0f;

  • multimeterCalibrationOffset=-240.0f - 25.0f;
  • displayCalibrationOffset=-240.0f - 18.0f;
  • multimeterCalibrationOffset=-240.0f - 0.0f; //-240.0f - 25.0f
  • displayCalibrationOffset=-240.0f - 18.0f; //-240.0f - 18.0f break; case U7_KX3: // G0HWW's figs - XG3 @ -73dBm for S9

Fix Gain SDR-IQ: diff --git a/trunk/src/sdriq/receiver.c b/trunk/src/sdriq/receiver.c index 27aa9f3..9f3fd9a 100644 --- a/trunk/src/sdriq/receiver.c +++ b/trunk/src/sdriq/receiver.c @@ -97,7 +97,7 @@ const char* attach_receiver(int rx, CLIENT* client) // return RECEIVER_INVALID; //}

  • gain_sdriq (0, -20);

    gain_sdriq (0, 0); //-20 //gain_sdriq (1, 1);

    freq_sdriq (7050000);

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alexlee188/ghpsdr3-alex/issues/42, or mute the thread https://github.com/notifications/unsubscribe-auth/AAin9US_MPSBWv4Oc1kRU-c7YmFN3IE0ks5q2Lo2gaJpZM4KdNJy .

alexlee188 avatar Oct 25 '16 18:10 alexlee188

Hello.

Ok thanks patches work properly. I did a full compilation. Thanks.

vigeruno avatar Oct 28 '16 10:10 vigeruno