[solved] Two independent sequences in parallel
To begin with, OpenSesame's obviously a great piece of software. I find it easy to create basic experiments, and the best thing about it might be that it teaches me some Python. Sebastiaan, I told you I'd use OpenSesame for the next thing I'm going to pre-register (This is intended for Cortex.)
Still, I'm stuck with my current experiment. I'm trying to program an RSVP sentence presentation experiment that allows the participant to immediately respond to individual words, and get immediate auditory feedback while the sentence keeps being presented.
So I've programmed two sequences. One presents a sentence word by word, with individual words on sketchpads with fixed timing (around 500 ms per word). The other sequence contains 1. a delay (depending on which word is the critical word, set by the loop), 2. a keyboard response, 3. two samplers with "yay!" and "boooh!" sounds, depending on the value of [correct]. And then I've simply put both sequences into a "parallel" item.
The idea is that the two sequences should work completely independently, with the sentence being presented in full, with strict timing, unperturbed by participant behaviour, and a keyboard response (when the participant detects a certain word in the stream) that is immediately followed by auditory feedback, without waiting for the sentence presentation sequence to finish..
Note that the average sentence is around 5 seconds, the average reaction time around 1 second, and the critical word appears halfway through the sentence.
It doesn't work, so far. Keyboard response (I'm on a Mac btw., so it's probably not the Windows/multithread bug I've seen mentioned here) are not recognized, 'correct' is stuck on "0" and the timing of the sentence sketchpads seems to be influenced by the events in the other sequence.
Is the basic approach sound? If so, I would put up my script on pastebin and kindly ask for more specific feedback. Or is it simply not possible the way I'm trying to do it right now?
I appreciate any feedback! Thanks,