-
Notifications
You must be signed in to change notification settings - Fork 560
Iq tool buffered #1016
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
base: master
Are you sure you want to change the base?
Iq tool buffered #1016
Conversation
I think, there is better way to implement buffered file_source: reuse GNU Radio vmcircbuf for buffering, add throttle block functionality and, maybe, do type conversion inside of buffered file_source. All of these tasks are relatively lightweight and do not worth wasting dedicated thread and set of output buffers. |
ca781db
to
208df18
Compare
91079da
to
db90364
Compare
db90364
to
92f9075
Compare
I just tested this. It works better than the old system, looping also works great, but the slider is somewhat erratic.
Peek.2022-02-18.21-39.gqrx.mp4 |
That's because slider left click granularity is 1 minute, but your recording is just 7 seconds long. Try clicking the slider with a middle mouse button or test it with a bit longer recording (2-3 minutes at least). |
Ah, middle click works as left click normally would on a slider. This could use some explanation in the dialog, I would never find out. I rarely have recordings longer than a minute due to the file size. How about |
febded1
to
3841597
Compare
3841597
to
e1ed30b
Compare
e1ed30b
to
565e942
Compare
565e942
to
6c92dfe
Compare
Synced qgrx master branch as of 2023-07-20. During compilation I get: DEFAULT_FFT_SIZE is definitely missing in all the receiver files I have. Here's what I got from the merge in receiver.h: ` //=======
//>>>>>>> pr1016 Don't deleting the line: Makes the code to compile. But not shure if there is still an issue with it. |
@vladisslav2011 something is wrong with the recordings. If I do a record of one Minute, a file length of 10 seconds is displayed in the IqRecorder window. If I play the file it shows data for 10 seconds, that's it. |
There may be bugs from recent changes or previous incomplete rebase, missing recent fixes to IQ formats implementation. While I still think, that the new plotter is not ready yet, maybe it's time to rebase my fork, rearrange commits and update old PRs. |
Just found that the shortened recording is already an issue in the main branch and not based on this pr. |
6c92dfe
to
fe7f545
Compare
@stefanino-ch I've rebased all my pull requests on top of current master. |
fe7f545
to
631df78
Compare
@vladisslav2011
Updating all the code goes way off my programming knowledge (I was into all those files). I wonder, are you maybe thinking about an update to get it to work on the current tree or is this illusoric? |
...while playing back IQ file. Problem: It is possible to change the center frequency while playing an IQ file. In this case the real file center frequency does not get shifted to a correct position, so the spectrum plot/waterfall becomes shifted from actual played frequency, bookmarks become not valid, freqCtrl shows wrong frequency, plotter shows wrong frequency and so on. This commit changes frequency setting logic to be more staraightfroward and consistent. Independent of frequency change event source (freqctrls, plotter, remote) do the things in a same way: calculate new center and offset, taking into account the fact, that the center frequency may be loked due to IQ file playback, set the new frequency on a receiver side, then update all GUI controls to reflect changes. Enforce new frequency limits on the plotter side when IQ playback is started.
IQ recorder: disable harmful buttons while recording is in progress. Changing IO devices and loading/saving settings does not look like good thing to do while recording an IQ file. IQ tool: Always choose correct sampling rate Reselect file before starting playback. Fixes incorrect sample rate when playback is started, stopped, devices switched, dsp started, stopped and then started playback of the same IQ file. IQ tool: disable/enable controls properly Disable directory selector, file list while playing/recording IQ file. Disable slider while recording IQ file.
To prevent buffer droppouts on HDD housekeeping/background activity
And add IQ player repeat option...
631df78
to
921bf06
Compare
@stefanino-ch |
@vladisslav2011 @argilo |
Implement buffered file_source/file_sink to improve IQ recording/playback success rate in case of slow media/heavy background activity.
Includes #1013.
This is the last PR, created from splitting #1008 into smaller parts.
May close #1098
May close #1017