Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 4
»
How to insert a blank without messing up rest of trial?
How to insert a blank without messing up rest of trial?
Post Reply
Like
168
How to insert a blank without messing up rest of trial?
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Anoushka Shahane
Anoushka Shahane
posted 10 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 6,
Visits: 37
Hello everyone!
My task is quite simple: I flash letters on the screen and if there is an A followed by an X, that is a target so subjects click the left mouse button. If it is any other sequence of two letters, it is a non-target, so subjects click the right mouse button.
In this particular trial, there is a voice that says "If X Target" when it is A followed by X, and a voice that says "Nontarget" when it is any other sequence (latter half code not shown below).
So the sequence should be:
blank
A
blank
X
blank
"If X Target"
But it is currently:
blank
A
blank
X
"If X Target"
So the sound is coming when the X is still on the screen. If I go to the stimulusframes in <trial ax_xWAND> (bolded line of code below) and insert a blank after ax_x to try to fix this, the X doesn't even show up and the whole branched trial gets messed up. How do I go about inserting the blank while retaining the X so then the "If X Target" voice shows up when the screen is blank right after the X? Any insight into this matter would be appreciated greatly. Thank you very much!
<trial ax_aWAND>
/ stimulusframes = [1=blank, ax_a]
/ pretrialpause = 800
/ trialduration = 1950
/ posttrialpause = 900
/ validresponse = (" ", noresponse)
/ correctresponse = (noresponse)
/ branch = [trial.ax_xWAND]
/ ontrialend = [if ( block.ax.totalcount >= 2 && trial.ax_aWAND.correct == false ) values.axtestcomissionerrorcount += 1]
/ ontrialend = [if ( block.ax.totalcount >= 2 ) values.axtestcomissiontrialcount += 1]
/ ontrialend = [if ( block.ax.totalcount >= 2 ) values.axtestcomissionerrorrate = values.axtestcomissionerrorcount / values.axtestcomissiontrialcount ]
</trial>
<trial ax_xWAND>
/ stimulusframes = [1=blank, ax_x,
IfXTarget
]
/ pretrialpause = 100
/ trialduration = 1250
/ posttrialpause = 800
/ inputdevice = mouse
/ correctresponse = (lbuttondown)
/ ontrialend = [if ( block.ax.totalcount >= 2 && trial.ax_xWAND.correct == false ) values.axtestomissionerrorcount += 1]
/ ontrialend = [if ( block.ax.totalcount >= 2 ) values.axtestomissiontrialcount += 1]
/ ontrialend = [if ( block.ax.totalcount >= 2 ) values.axtestomissionerrorrate = values.axtestomissionerrorcount / values.axtestomissiontrialcount ]
</trial>
Tags
blanks
CPT
sound
stimulusframes
Reply
Like
168
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
How to insert a blank without messing up rest of trial?
Anoushka Shahane
-
10 Years Ago
/ stimulusframes = [1=blank, ax_x, IfXTarget ] means you're...
Dave
-
10 Years Ago
Excellent, thank you very much for your assistance. I thought that...
Anoushka Shahane
-
10 Years Ago
In addition note that /stimulustimes exists as an alternative to...
Dave
-
10 Years Ago
Post Reply
Like
168
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search