Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some fixes #42

Open
vigeruno opened this issue Oct 21, 2016 · 3 comments
Open

Some fixes #42

vigeruno opened this issue Oct 21, 2016 · 3 comments

Comments

@vigeruno
Copy link

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);

@alexlee188
Copy link
Owner

Ok. Please issue a pull request.

@alexlee188
Copy link
Owner

I have incorporated your changes into the git repo.

Please test.

Thanks.

Alex

On Fri, Oct 21, 2016 at 9:12 PM, vigeruno notifications@github.com 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
#42, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAin9US_MPSBWv4Oc1kRU-c7YmFN3IE0ks5q2Lo2gaJpZM4KdNJy
.

@vigeruno
Copy link
Author

vigeruno commented Oct 28, 2016

Hello.

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

@vigeruno vigeruno reopened this Oct 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants