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

Misc improvements #231

Merged
merged 8 commits into from
Jan 20, 2024
Merged

Conversation

sultanqasim
Copy link
Contributor

  • More FFT timespan and waterfall update rate options
  • Finer frequency resolution (larger FFT size) for panoramic spectrum to see narrower frequency peaks in wide frequency ranges
  • Quicker GUI timer interval so that playback progress bar updates more smoothly (visually appealingly) on short recordings
  • Properly handle setting the sample rate and center frequency when loading recordings for playback
  • Fix some compiler warnings

When loading a new profile for a new file source, things like the sample
rate may have changed from the current value that the rest of the UI was
operating on. We need UIMediator to propagate these changes to the
profile throughout the app, so we shouldn't clear the profile changed
flags prematurely before the changes propagated.
Smoother scrolling time slider
librtlsdr zeroes out the tuner gain when calling rtlsdr_set_tuner_gain_mode
with an R820T tuner. This is bad behaviour by librtlsdr, but to work
around this, we can set the gain after setting AGC enablement status.

Also, setting manual gain disables AGC for RTL-SDR, so only set manual
gain when AGC is disabled. Also, always restore manual gain when AGC is
disabled.
@BatchDrake
Copy link
Owner

Looks good too, will test it along with your PR for suscan. Thanks!

@BatchDrake
Copy link
Owner

There's a little UI issue with these changes in the Source config tab (ProfileConfigTab). If you attempt to navigate through all source types with the mouse wheel or the arrow keys, sometimes the current source type is not reflected in the source type combo / source config UI stack (although it does in the ProfileConfigTab state and the underlying Suscan::Source::Config object).

@sultanqasim
Copy link
Contributor Author

Thanks for your testing, I’ll look into that bug

@melroy89
Copy link

melroy89 commented Dec 4, 2023

@BatchDrake you need some help with those failing tests?

@BatchDrake
Copy link
Owner

Hi,

I plan to get back to this soon, but I am afraid I will not find time until the week of December 18th or so.

Cheers,

@sultanqasim
Copy link
Contributor Author

I need to recreate the bug BatchDrake encountered regarding ProfileConfigTab and then find the root cause. Maybe I’ll have time this week.

@BatchDrake
Copy link
Owner

Fixed. It had to do with signals being emitted at the wrong time (source config widget activation). I've just prevented this explicitly.

@BatchDrake BatchDrake merged commit b985a30 into BatchDrake:develop Jan 20, 2024
3 of 6 checks passed
@sultanqasim
Copy link
Contributor Author

Thanks for figuring this out! Sorry, I haven’t gotten to spend much time on SigDigger lately though I’m still hoping to get back to it soon.

@BatchDrake
Copy link
Owner

BatchDrake commented Jan 20, 2024 via email

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

Successfully merging this pull request may close these issues.

3 participants