By Nakayama Yao - 10/1/2015
Dear Inquisit users, I was wondering whether Inquisit can produce a designated tone by a certain keyboard button. If participants press the button, the tone starts. Holding pressing, the tone continues. The tone is stopped when the pressed button is released. Would you show a sample script? Thank you for your attention. Nakayama
|
By Dave - 10/1/2015
You would have to do something along the following lines:
<block myblock> / trials = [1-4=press] </block>
<trial press> / stimulusframes = [1=mytext] / validresponse = (57) / branch = [trial.release] </trial>
<trial release> / stimulusframes = [1=mysound] / validresponse = (-57) </trial>
<text mytext> / items = ("press the spacebar") </text>
<video mysound> / items = ("sound.mp3") / loop = true / playthrough = false </video>
|
By nakayama - 10/2/2015
Hi Dave. I appreciate very much! It works like a magic! Nakayama
|
|