how to present audio and n-back task simultaneously ?


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: 104K
MashaRiriya - Wednesday, April 26, 2017
Hey there.
I need your help ...
I would like to present 2 audio files (self-recorded sentences) together with an n-back task
simultaneously.

The N-Back task is already encoded and works. But I can’t manage to encode the audio files so that they can be heard parallel to the N-back task.

So how do I have to encode the individual layers?
Thx very much for the help.



Code for the n-back task with Inquisit 4:

<picture grid1>
/ items = ("m.png")
/ position = (50,50)
</picture>

…until…

<picture grid9>
/ items = ("u.r..png")
/ position = (50,50)
</picture>

<trial  0_1>
/ stimulustimes = [1=grid1]
/ timeout = (1000)
</trial>

…until…

<trial  0_9>
/ stimulustimes = [1=grid9]
/ timeout = (1000)
/ validresponse = ("  ")
</trial>

<block nback>
/ trials = [1=0_1;2=0_2;3=0_3;4=0_4;5=0_5;6=0_6;7=0_7;8=0_8;9=0_9]
</block>


To play back an audio file during a <block>, set up a <sound> (for WAV) or <video> element

<video backgroundsound>
/ items = ("audiofile.mp3")
...
</video>

and display it via the <block>'s /bgstim attribute

<block nback>
/ bgstim = (backgroundsound)
...
</block>

MashaRiriya
MashaRiriya
Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)
Group: Forum Members
Posts: 2, Visits: 3
Hey there.
I need your help ...
I would like to present 2 audio files (self-recorded sentences) together with an n-back task
simultaneously.

The N-Back task is already encoded and works. But I can’t manage to encode the audio files so that they can be heard parallel to the N-back task.

So how do I have to encode the individual layers?
Thx very much for the help.



Code for the n-back task with Inquisit 4:

<picture grid1>
/ items = ("m.png")
/ position = (50,50)
</picture>

…until…

<picture grid9>
/ items = ("u.r..png")
/ position = (50,50)
</picture>

<trial  0_1>
/ stimulustimes = [1=grid1]
/ timeout = (1000)
</trial>

…until…

<trial  0_9>
/ stimulustimes = [1=grid9]
/ timeout = (1000)
/ validresponse = ("  ")
</trial>

<block nback>
/ trials = [1=0_1;2=0_2;3=0_3;4=0_4;5=0_5;6=0_6;7=0_7;8=0_8;9=0_9]
</block>


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search