cortex-lab / Rigbox

A MATLAB toolbox for running behavioral neuroscience experiments and managing data
GNU General Public License v3.0
33 stars 16 forks source link

Playing movies using exp.Experiment subclass #277

Open k1o0 opened 4 years ago

k1o0 commented 4 years ago

Is your feature request related to a problem? Please describe. Signals is not amenable to playing movies, but the Experiment event handler framework is perfect for this. I think supporting move presentation in Rigbox would be very useful.

Describe the solution you'd like I propose extending exp.Experiment much like exp.LIARExperiment to work with movies. Here you would have an event (triggered by e.g. end trial) that would load the next movie into the buffer, and another event handler for playing the movie. Then some basic params for defining the dir where the movie files are, whether they're repeated, etc.

Describe alternatives you've considered Doing this in Signals sucks.

Additional context See exp.Experiment, exp.LIARExperiment and exp.basicWorldEventHandlers.