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

Samplerate is set to 1sps when using Triggered Inspector #223

Open
studiofuga opened this issue Jun 16, 2023 · 8 comments
Open

Samplerate is set to 1sps when using Triggered Inspector #223

studiofuga opened this issue Jun 16, 2023 · 8 comments
Assignees

Comments

@studiofuga
Copy link

When using the signal level triggered inspector, the sample rate is set to 1sps, while when using the pushbutton, it is correctly set to whatever the rate is.

Tested on HackRF One.

@studiofuga
Copy link
Author

Confirmed the issue is in main and in 0.3.0 AppImage.
Additionally, on my setup compiled from main, While manual Push to Capture works well, Autosqueltch triggers but doesn't capture anything.
Not if that is relevant, but there is a DC signal on all frequencies. On AppImage the same DC is waning.

@studiofuga
Copy link
Author

Update: capture and DC issues are not present on branch Develop compiled with Qt 5.15.2, Alsa, portaudio and others.
Still present the sps issue. See Image.

Schermata del 2023-06-16 19-39-50

@BatchDrake BatchDrake self-assigned this Jun 16, 2023
@BatchDrake
Copy link
Owner

Confirmed, working on it.

@BatchDrake
Copy link
Owner

It should be fixed now, I've just triggered a new development build. Do you mind giving it a try?

@studiofuga
Copy link
Author

Yeah, thanks, works like a charm. Tested right now on another linux box.

Out of couriosity, are there any plan to unify the three projects (sigutils, suscan, SuWidgets and SigDigger) in a single project wit submodules, perhaps porting all of them in cmake? I'd be happy to help on that eventually.

@BatchDrake
Copy link
Owner

Hi, glad to hear that!

Regarding submodules, it's funny you say that because we've been experimenting with them recently. My plan is to add the possibility to rely on submodules to clone everything automatically. However, porting to CMake is precisely what worries me the most.

If you feel like you have the energy to do that, please go ahead! You should start by SuWidgets anyways. You can start by a WIP PR and we can work from there.

@studiofuga
Copy link
Author

I'm using cmake in production code for qt projects pretty extensively, so I don't see any obvious difficulty. The only still unsolved issue is the packaging process, that's well solved on debian (dpkg-buildpackage is pretty straightforward) but still a mess in Windows and MacOS environment. But probably it's not an issue actually.

@BatchDrake
Copy link
Owner

Porting to CMake itself is not the problem, but maintaining compatibility with the existing projects (like SigDigger) could be. And, of course, we still have the complications derived from the lack of sanity of macOS and Windows.

In any case, we can start doing some experiments to evaluate the overall effort.

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