Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 3 of 3

Thread: Count button presses while watching video (case 3988)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Feb 2013
    Posts
    1,093

    Use comination of DirectRT and MediaLab

    Hi admitchell!


    You should be able to accomplish this by using DirectRT in conjunction with Medialab. First, make sure that your video is compatible with Windows Media Player as an easy test to see if DirectRT will handle it. Save your video file; let's call it "video1.mpg"? for this example. (Side note: You can save it anywhere, but it's preferable to keep it in a folder named something like "stim"? in a folder for all of your DirectRT files for this experiment.)


    Next, create a very simple Direct RT input file to tell it to play your video; I've attached an example .csv file for your reference. The most important thing is to type _<name of movie file>( _video1.mpg for us), in the stim column of the file. Because you want to record multiple key presses, you will define what keys are acceptable in the time column. The current entry of "rt:any"? means that any key pressed on the keyboard will be recorded. If you want to define specific keys, you can find a list in the DirectRT manual here: http://www.empirisoft.com/directrt/h..._key_codes.htm


    You can then pass this file into a Medialab questionnaire by selecting DirectRT item type. When you run MediaLab, it will then pass control to DirectRT to run the video and record the keypresses. Importantly, you will find the data for all of the keypresses for a given video in the log folder in the Data folder for your DirectRT files.



    I hope that this helps!
    Attached Files Attached Files
    Last edited by jason_reed; 08-07-2014 at 12:08 PM.

Similar Threads

  1. summary page after count down is up for experiment (case 1134)
    By jd62 in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 01-15-2015, 10:55 AM
  2. data file character/word count
    By beklab in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 02-19-2010, 10:01 AM
  3. Multiple key presses for only two words
    By freuenm in forum DirectRT Older Versions: General Questions
    Replies: 0
    Last Post: 11-02-2009, 10:33 PM
  4. Display Timer: count UP rather than countdown??
    By curlieq in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 10-28-2009, 07:58 AM
  5. monitoring button presses over a specified period of time
    By mixelflik in forum DirectRT Older Versions: How Do I...
    Replies: 1
    Last Post: 10-02-2006, 08:02 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
  •