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

Add a playback-over-LSL example script. #95

Merged
merged 6 commits into from
Mar 1, 2024
Merged

Conversation

cboulay
Copy link
Contributor

@cboulay cboulay commented Dec 13, 2023

This moves the previous example.py to print_metadata.py in a new examples module.

Additionally, in the new module, I added playback_lsl.py which will take an arbitrary XDF file and play it back over LSL. This isn't meant to be a perfect reproduction of the original streams. e.g., the stream metadata only copies over some known keys. And I keep post-processing enabled so we eliminate some jitters. It's also inefficient to run everything in a single thread. The goal here is just to have something very convenient.

@cboulay cboulay marked this pull request as ready for review January 17, 2024 19:03
@cboulay
Copy link
Contributor Author

cboulay commented Mar 1, 2024

I've been using this for a while without issue.

@cboulay cboulay merged commit fd8491a into main Mar 1, 2024
@cboulay cboulay deleted the cboulay/example_playback branch March 1, 2024 15:31
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.

1 participant