SingleWordAuditoryLexicalDecision - MRC CBU Language Wiki
location: SingleWordAuditoryLexicalDecision

Single Word Auditory Lexical Decision

NB:Your sound should be in WAV format, sampled at 22050 Hz.

Sample control file.

    <n 16> <s 8> <azk> <cr> <nfb>1 <fd 38> <t 2000> <id "keyboard"> <dbc 0> <dwc 000255000><<BR>>
    $<<BR>>
    0 "Press SPACEBAR to start";<<BR>>
    250 <ms% 500> /^2^;<<BR>>
    $<<BR>>
    +1 * <wav 2>3 "rabies"  /;<<BR>>
    +2 * <wav 2> "ash" /;<<BR>>
    +3 * <wav 2> "bacon" /;<<BR>>
    +4 * <wav 2> "game" /;<<BR>>
    -5 * <wav 2> "graddle" /;<<BR>>
    -6 * <wav 2> "lunce" /;<<BR>>
    -7 * <wav 2> "brantly" /;<<BR>>
    -8 * <wav 2> "skelve" /;<<BR>>
    $<<BR>>
    0 <Bell> <ln -2> "Have a Break", <ln 2> "Press SPACEBAR to restart";<<BR>>
    250 <ms% 500> /;2<<BR>>
    $<<BR>>
    +9 * <wav 2> "faked" /;<<BR>>
    +10 * <wav 2> "stale" /;<<BR>>
    +11 * <wav 2> "hedge" /;<<BR>>
    +12 * <wav 2> "believe" /;<<BR>>
    -13 * <wav 2> "smarkle" /;<<BR>>
    -14 * <wav 2> "indrastal" /;<<BR>>
    +15 * <wav 2> "snoths" /;<<BR>>
    -16 * <wav 2> "embrint" /;<<BR>>
    $<<BR>>
    0 "The End.  Thank You.";<<BR>>
    $<<BR>>

1 No Feedback. This suppresses the feedback to the screen. See the tips page for more about feedback

2 This is an empty frame, with no visual or auditory stimulus, that is 500 milliseconds long*. Without this the text will stay on the screen until the speech is played. If you just use 0 as opposed to an ID number, it will not run continuously. Use a number that that can be repeated, i.e. one you are using for filler items. This number should have no "+", "-", "^" or "=", in front of it.

Play WAV sound file babies.wav over both channels. Right channel is <wav 0> and left channels is <wav 1>.

Actually DMDX uses the number of ticks nearest to the specified number of milliseconds. If you refresh rate is 11 ms, then DMDX will use 45 ticks as this is the nearest to 500 ms.

A more complex form of the above design might be as below

    <n 16> <s 8> <azk> <cr> <nfb> <fd 38> <t 2000> <id "keyboard"> <dbc 0> <dwc 000255000><<BR>>
    $<<BR>>
    0 "Press SPACEBAR to start";<<BR>>
    250 <ms% 500> /;<<BR>>
    $<<BR>>
    +1 * <wav 2> "rabies" / <ms% 1500>^1^/;<<BR>>
    +2 * <wav 2> "ash" / <ms% 1500> /;<<BR>>
    +3 * <wav 2> "bacon" / <ms% 1500> /;<<BR>>
    +4 * <wav 2> "game" / <ms% 1500> /;<<BR>>
    -5 * <wav 2> "graddle" / <ms% 1500> /;<<BR>>
    -6 * <wav 2> "lunce" / <ms% 1500> /;<<BR>>
    -7 * <wav 2> "brantly" / <ms% 1500> /;<<BR>>
    -8 * <wav 2> "skelve" / <ms% 1500> /;<<BR>>
    $<<BR>>
    0 <Bell> <ln -2> "Have a Break", <ln 2> "Press SPACEBAR to restart";<<BR>>
    250 <ms% 500> /;<<BR>>
    $<<BR>>
    +9 * <wav 2> "faked" / <ms% 1500> /;<<BR>>
    +10 * <wav 2> "stale" / <ms% 1500> /;<<BR>>
    +11 * <wav 2> "hedge" / <ms% 1500> /;<<BR>>
    +12 * <wav 2> "believe" / <ms% 1500> /;<<BR>>
    -13 * <wav 2> "smarkle" / <ms% 1500> /;<<BR>>
    -14 * <wav 2> "indrastal" / <ms% 1500> /;<<BR>>
    +15 * <wav 2> "snoths" / <ms% 1500> /;<<BR>>
    -16 * <wav 2> "embrint" / <ms% 1500> /;<<BR>>
    $<<BR>>
    0 "The End.  Thank You.";<<BR>>
    $<<BR>>

1 This is an empty frame, with no visual or auditory stimulus, is as mentioned above. Here the number of tickest nearest to 1500 milliseconds. This allows us to have a minumum intertrial interval. Without this the next word is played immediately after the subjects response.

-- Main.CarolineWhiting - 23 Mar 2007

CbuLanguage: SingleWordAuditoryLexicalDecision (last edited 2013-08-02 16:44:55 by RussellThompson)