[open] global keyboard control?
Hi there, I'm using Open Sesame to present videos to infants in a counterbalanced experiment. Infants are pretty unpredictable, though, so I'd like to set up keyboard controls throughout the experiment that let me...
(1) pause a video where it is currently playing, then play that video from that same spot
(2) re-start a trial mid-way through a video (i.e., pause video, then scrub to beginning of that same video, and begin playing automatically)
(3) same as (2) above, but without playing automatically (i.e., re-start trial but wait for a command to start playing
(4) pause everything and jump to a blank screen
(5) from (4), continue the whole experiment from the trial that I left off (either from beginning of trial or from the point in the video where we already were)
I'm not sure if it's easier to write this functionality from scratch, maybe with the whole experiment running in a while loop, or if it's better to set all video durations to 0, following each with keyboard_response, and defining the outcome of each keypress. (if the latter, in which part of the experiment script would I define the actions? in the keyboard_response script?)
I'm new to Python but am learning fast... please advise! ![]()
Comments
[nb. trying out the same videos in PsychoPy at the moment, which may be a better fit for this particular experiment]