Hi
I tried that, and I also tried sending a TTL for 200 ms to create a delay after the keypress. Regardless of whether I insert a ~ for 200 ms or a TTL, the beep only plays after the video has finished playing (i.e., several seconds after i need it to happen).
To reiterate, I have a movie playing, during which subjects press a key whenever they want to. A beep needs to follow the subject's keypress by 200 ms while the movie plays out in full before the next trial starts. Currently, the beep will not play until after the movie ends. I guess i need directrt to be able to simultaneously play a movie and a sound file. This should be possible right?
As a last resort, I was thinking that this may be possible with two computers - i.e., sending a TTL after the keypress to another computer running directrt which, having received the TTL plays a beep 200 ms later. BUT, if possible, i'd like to be able to achieve this with one machine only!
I look forward to your response. Thanks