Produce a sound


Author
Message
nakayama
nakayama
Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)
Group: Forum Members
Posts: 72, Visits: 408
Hi Dave.
I appreciate very much! It works like a magic!
Nakayama
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
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>

Nakayama Yao
Nakayama Yao
Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)
Group: Forum Members
Posts: 39, Visits: 230
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
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search