Question for loading auditory stimulus.


Author
Message
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K
I can't quite make sense of your <trial> specifications, particularly
<trial cue>
/ stimulustimes = [0=blankscreen,fixation; 700=blankscreen; 800=cue]
/ validresponse = (noresponse)
/ trialduration = values.soa
/ recorddata = false
</trial>

You set the the trial to a fixed duration of 600ms (values.soa), yet try to present 'cue' at 800ms, i.e., after the trial has already terminated. Also, your fixation duration is not 800ms. You display fixation at t0 and then blank it out 700ms later, i.e., the duration is ~700ms.

The code excerpts you posted also leave entirely unclear what

<trial iti>
/ stimulustimes = [0=blankscreen]
/ validresponse = (noresponse)
/ trialduration = values.dura
/ recorddata = false
</trial>


values.dura is. You refer to 

<trial cue>
/ ontrialbegin = [values.soa=list.soa.nextvalue; values.cuetype=list.cuetype.nextvalue;
 values.targettype=list.targettype.nextvalue; values.correctresp=list.correctresp.nextvalue;
 values.trialcount+=1;
 values.dura=list.dura.nextvalue]


a <list> that isn't in the code you provided.


For starters, I would recommend reviewing the "
How to Control Trial Duration and Inter-Trial Intervals" topic in the documentation.

ymin1123
ymin1123
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)
Group: Forum Members
Posts: 14, Visits: 80
Hi,
I modified go-nogo task from inquisit library for auditory go-nogo task.
I want each trial to take exactly 3 seconds. Following is modified script.

*****************************************************************************************************
<list soa>
/ items = (
 600,600,600,600,600)
/ selectionmode = sequence
</list>

<list iti>
/ items = (
 1200, 1200, 1200, 1200, 1200)
/ selectionmode = list.soa.currentindex
</list>

<list targettype>
/ items = (
 1,2,3,4,5)
/ selectionmode = list.soa.currentindex
</list>

<list correctresp>
/ items = (
 57,57,0,57,0)
/ selectionmode = list.soa.currentindex
</list>

<trial cue>
/ ontrialbegin = [values.soa=list.soa.nextvalue; values.cuetype=list.cuetype.nextvalue;
 values.targettype=list.targettype.nextvalue; values.correctresp=list.correctresp.nextvalue;
 values.trialcount+=1;
 values.dura=list.dura.nextvalue]
/ stimulustimes = [0=blankscreen,fixation; 700=blankscreen; 800=cue]
/ validresponse = (noresponse)
/ trialduration = values.soa
/ recorddata = false
</trial>

<trial target>
/ ontrialbegin = [if (values.correctresp != 0) values.count_go += 1 else values.count_nogo += 1]
/ stimulustimes = [0=target]

/ inputdevice = mousekey
/ validresponse = (lbuttondown, noresponse)
/ iscorrectresponse = [(trial.target.response =="lbuttondown" && values.correctresp==57) || (trial.target.response == "0" && values.correctresp== 0)]

......
</trial>

<trial iti>
/ stimulustimes = [0=blankscreen]
/ validresponse = (noresponse)
/ trialduration = values.dura
/ recorddata = false
</trial>

*****************************************************************************************************
1) cue and target stimulus is wave files (sound stimulus) with 200ms duration.
What I want to do is set each trial as picture 1. but I'm not sure if cue and target duration is included in SOA(stimulus onset asynchrony) and ITI(inter trial interval) or not. I wonder this task is organized as picture 1 or 2.

2) Does inquisit takes extra time to load wave files? If so, should I subtract extra time from SOA and ITI? 


1) picture 1
https://www.millisecond.com/forums/uploads/images/82e32aff-0f74-4956-bf07-4f33.png
2) picture 2

https://www.millisecond.com/forums/uploads/images/abdc41e8-dc77-44d9-9f02-8339.png

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search