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

More control of video playback from experiment.py files. #18

Open
davidt0x opened this issue Feb 8, 2022 · 1 comment
Open

More control of video playback from experiment.py files. #18

davidt0x opened this issue Feb 8, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@davidt0x
Copy link
Contributor

davidt0x commented Feb 8, 2022

Allow writing experiment.py files (e.g. to present video1 for 60 sec, then randomly sample among videos 1, 2, and 3 for 15 sec each for a total of 180 sec, then present video 1 for 60 sec). Max has kindly helped me take a look at this but we haven't figured out an elegant solution. The current set up writes a new playlist instance/toc line for every single video frame, this is not good. The current workaround is to run a separate flyVR experiment for the different stimulus segments, or hardcode the order of these items using a long and repetitive playlist.

@davidt0x davidt0x added the enhancement New feature or request label Feb 8, 2022
@davidt0x davidt0x self-assigned this Feb 8, 2022
@nzjrs
Copy link
Collaborator

nzjrs commented Feb 8, 2022

Not sure about the one TOC per frame, that seems odd, but there should already be enough hooks in the Experiment base class to achieve the experiment you describe - you might pay the setup latency cost, but a play_backend_item call with correctly formatted yaml payload should work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants