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

SigMFFileInput acceleration doesn't appear to work #1699

Open
srcejon opened this issue May 25, 2023 · 5 comments
Open

SigMFFileInput acceleration doesn't appear to work #1699

srcejon opened this issue May 25, 2023 · 5 comments
Assignees

Comments

@srcejon
Copy link
Collaborator

srcejon commented May 25, 2023

The acceleration factor in the SigMFFileInput doesn't appear to work. Regardless of the setting (E.g. 1 or 10), playback appears to always be in real-time.

@srcejon
Copy link
Collaborator Author

srcejon commented May 25, 2023

It also seems that the "Full Time navigator" doesn't work. If I adjust the time using the slider, the waveform appears to continue from the start of the file, rather than the set time position.

If I use the "Track Time Navigator" slider instead (the one on top), it appears to work correctly.

@f4exb f4exb self-assigned this May 30, 2023
@f4exb
Copy link
Owner

f4exb commented May 30, 2023

acceleration is implemented differently in FileInput and SigMFFileInput where in FileInput it acts on the sample rate and in SigMFFileInput it doesn't this could explain.

@f4exb
Copy link
Owner

f4exb commented Jun 3, 2023

Above commit fixes the acceleration problem. I haven't seen any issue with the "Full Time navigator" as for me it navigates through the whole record as expected.

@srcejon
Copy link
Collaborator Author

srcejon commented Jun 3, 2023

Above commit fixes the acceleration problem. I haven't seen any issue with the "Full Time navigator" as for me it navigates through the whole record as expected.

Thanks.

For a (large) test case, you should be able to download A_Sign_in_Space-ATA-X.sigmf-data from https://bldata.berkeley.edu/A_Sign_in_Space/

This file contains a signal that is doppler shifted over the length of the file (moves from high to low frequency). If you set a marker at the signal's frequency at the start of the file, then use the two navigator scroll bars to jump around the file, you should hopefully see that whenever using the Full Time Navigator, the signal returns to the marker's frequency (i.e. the start of the file).

@f4exb
Copy link
Owner

f4exb commented Jun 5, 2023

I see... the slider moves accordingly but in fact it's a lie. However on a multi track recording the track corresponding to the position in the whole file is selected/highlighted properly. It seems that in this case the file seek does not work as expected.

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