Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 3 of 3

Thread: Get a beep to follow a keypress DURING a movie

  1. #1
    Join Date
    Jan 2006
    Posts
    4

    Get a beep to follow a keypress DURING a movie

    Hi,

    I have an experiment in which i play a movie which lasts about 15 s or so. At a time of their own choosing during the movie, subjects make a keypress and I record the time of the keypress, with respect to the onset of the movie file. I can do this but already. BUT, in a new version of the experiment, I need to play a beep x hundred milliseconds after the keypress. That is, the beep needs to be locked to the occurence of the keypress, and all the while, the movie has to continue playing for its full 15 s length.

    Can DirectRT do this, and if so, how? Thanks

  2. #2
    Join Date
    Nov 2005
    Posts
    3,328
    Have you tried following the RT to the movie with a blank ("~") stimulus for 500ms (or whatever) and then the sound file?

  3. #3
    Join Date
    Jan 2006
    Posts
    4

    Beep to follow key press during a movie

    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

Similar Threads

  1. Controlling Movie Files
    By laumh in forum MediaLab Older Versions: How Do I...
    Replies: 10
    Last Post: 11-06-2009, 12:19 AM
  2. stop a movie file to display a text box.
    By angelone in forum DirectRT Older Versions: General Questions
    Replies: 2
    Last Post: 12-11-2007, 10:17 AM
  3. randomize movie presentation times
    By skyler in forum DirectRT Older Versions: How Do I...
    Replies: 2
    Last Post: 12-15-2006, 02:43 PM
  4. Online ratings of a movie clip causes error
    By jarvis24 in forum MediaLab Older Versions: Troubleshooting
    Replies: 1
    Last Post: 10-10-2006, 12:05 PM
  5. Monitor mouse clicks during a movie
    By jarvis24 in forum DirectRT Older Versions: How Do I...
    Replies: 1
    Last Post: 09-11-2006, 12:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •