﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 4  » How do I notify subjects when their response is late with a "ding" noise and collect that data?</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 14 Apr 2026 08:32:14 GMT</lastBuildDate><ttl>20</ttl><item><title>How do I notify subjects when their response is late with a "ding" noise and collect that data?</title><link>https://forums.millisecond.com/Topic13907.aspx</link><description>Hello everyone!&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;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.&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: arial, sans-serif; line-height: normal; background-color: rgb(255, 255, 255);"&gt;What am I trying to do in Inquisit is the following: when subjects respond with their clicks, if they are too late there should be a "ding" sound that comes (so the ding should &lt;span style="font-style: italic;"&gt;only&lt;/span&gt; sound if they are late). I also want to collect this data to know when they were late and on which particular trials.&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;Any insight into how to program this would be appreciated greatly. Thank you!&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</description><pubDate>Sun, 03 Aug 2014 09:55:19 GMT</pubDate><dc:creator>Anoushka Shahane</dc:creator></item><item><title>RE: How do I notify subjects when their response is late with a "ding" noise and collect that data?</title><link>https://forums.millisecond.com/Topic13911.aspx</link><description>Yes, can make the "lateness-window" as wide or narrow as you need / as is applicable to your script. Let me know if you encounter any specific problems when implementing it.&lt;br/&gt;</description><pubDate>Sun, 03 Aug 2014 09:55:19 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: How do I notify subjects when their response is late with a "ding" noise and collect that data?</title><link>https://forums.millisecond.com/Topic13909.aspx</link><description>Hi Dave,&amp;nbsp;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;Thank you so much for your detailed response. I appreciate it greatly. The letter streams are presented in distinct trials which are branched together and based on your response, I can see that the "lateness" can be flexible. I was aiming for having the response window open as soon as the stimuli is flashed and have it close after 200-300 ms, which, if I am not mistaken, can be implemented depending on when the systembeep is triggered.&amp;nbsp;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;Thank you very much once again, this was very very helpful!&lt;/div&gt;&lt;/div&gt;</description><pubDate>Sun, 03 Aug 2014 05:21:18 GMT</pubDate><dc:creator>Anoushka Shahane</dc:creator></item><item><title>RE: How do I notify subjects when their response is late with a "ding" noise and collect that data?</title><link>https://forums.millisecond.com/Topic13908.aspx</link><description>This cannot be answered generically. It entirely depends on how you implemented the rest of the task. Among other things, you need to spell out&lt;div&gt;&lt;br/&gt;&lt;/div&gt;- How exactly you've realized the letter presentation: Is the letter stream presented in a single &amp;lt;trial&amp;gt; via its /stimulustimes? Is it presented by running multiple &amp;lt;trial&amp;gt;s each presenting a single letter in quick succession? etc.&lt;br/&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;- What exactly is a "late" response supposed to mean?&lt;div&gt;&lt;br/&gt;&lt;/div&gt;etc.&lt;div&gt;&lt;br/&gt;&lt;/div&gt;To at least give you a *basic* idea, here's an example for one simple scenario:&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ latecount = 0&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1-10=mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ stimulustimes = [0=a; 100=x; 1100=systembeep]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (lbuttondown, rbuttondown)&lt;br/&gt;/ correctresponse = (lbuttondown)&lt;br/&gt;/ responseinterrupt = immediate&lt;br/&gt;/ beginresponsetime = 100&lt;br/&gt;/ ontrialend = [if (trial.mytrial.latency&amp;gt;1000) values.latecount+=1]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text a&amp;gt;&lt;br/&gt;/ items = ("A")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text x&amp;gt;&lt;br/&gt;/ items = ("X")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;data&amp;gt;&lt;br/&gt;/ columns = [date time subject blocknum blockcode trialnum trialcode response latency correct values.latecount]&lt;br/&gt;&amp;lt;/data&amp;gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Sat, 02 Aug 2014 06:48:09 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>