﻿<?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 to insert a blank without messing up rest of trial?</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Fri, 17 Apr 2026 12:45:47 GMT</lastBuildDate><ttl>20</ttl><item><title>How to insert a blank without messing up rest of trial?</title><link>https://forums.millisecond.com/Topic14104.aspx</link><description>Hello everyone!&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;font face="arial, helvetica, sans-serif" style="color: rgb(0, 0, 0); line-height: normal; background-color: rgb(255, 255, 255);"&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;div&gt;&lt;br/&gt;&lt;/div&gt;In this particular trial, there is a voice that says "If X Target" when it is A followed by X, and a voice that says "Nontarget" when it is any other sequence (latter half code not shown below).&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;/font&gt;&lt;div style="line-height: normal; margin: 0px; padding: 0px; border: 0px; outline: 0px; background-image: initial; background-repeat: initial;"&gt;&lt;font color="#000000" face="arial, helvetica, sans-serif"&gt;So the sequence should be:&lt;div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;blank&lt;/div&gt;&lt;div&gt;A&lt;div&gt;blank&amp;nbsp;&lt;div&gt;X&lt;div&gt;blank&amp;nbsp;&lt;div&gt;"If X Target"&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;But it is currently:&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;blank&lt;div&gt;A&lt;div&gt;blank&lt;div&gt;X&lt;div&gt;"If X Target"&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;So the sound is coming when the X is still on the screen. If I go to the stimulusframes in &amp;lt;trial ax_xWAND&amp;gt; (bolded line of code below) and insert a blank after ax_x to try to fix this, the X doesn't even show up and the whole branched trial gets messed up. How do I go about inserting the blank while retaining the X so then the "If X Target" voice shows up when the screen is blank right after the X? Any insight into this matter would be appreciated greatly. Thank you very much!&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;lt;trial ax_aWAND&amp;gt;&lt;/div&gt;&lt;div&gt;/ stimulusframes = [1=blank, ax_a]&lt;/div&gt;&lt;div&gt;/ pretrialpause = 800&lt;/div&gt;&lt;div&gt;/ trialduration = 1950&lt;/div&gt;&lt;div&gt;/ posttrialpause = 900&lt;/div&gt;&lt;div&gt;/ validresponse = (" ", noresponse)&lt;/div&gt;&lt;div&gt;/ correctresponse = (noresponse)&lt;/div&gt;&lt;div&gt;/ branch = [trial.ax_xWAND]&lt;/div&gt;&lt;div&gt;/ ontrialend = [if ( block.ax.totalcount &amp;gt;= 2 &amp;amp;&amp;amp; trial.ax_aWAND.correct == false ) values.axtestcomissionerrorcount += 1]&lt;/div&gt;&lt;div&gt;/ ontrialend = [if ( block.ax.totalcount &amp;gt;= 2 ) values.axtestcomissiontrialcount += 1]&lt;/div&gt;&lt;div&gt;/ ontrialend = [if ( block.ax.totalcount &amp;gt;= 2 ) &amp;nbsp;values.axtestcomissionerrorrate = values.axtestcomissionerrorcount / values.axtestcomissiontrialcount ]&lt;/div&gt;&lt;div&gt;&amp;lt;/trial&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;trial ax_xWAND&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;/ stimulusframes = [1=blank, ax_x, &lt;span style="background-color: rgb(59, 111, 245);"&gt;&lt;font color="#f7f7f7"&gt;IfXTarget&lt;/font&gt;&lt;/span&gt;]&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;/ pretrialpause = 100&lt;/div&gt;&lt;div&gt;/ trialduration = 1250&lt;/div&gt;&lt;div&gt;/ posttrialpause = 800&lt;/div&gt;&lt;div&gt;/ inputdevice = mouse&lt;/div&gt;&lt;div&gt;/ correctresponse = (lbuttondown)&lt;/div&gt;&lt;div&gt;/ ontrialend = [if ( block.ax.totalcount &amp;gt;= 2 &amp;amp;&amp;amp; trial.ax_xWAND.correct == false ) values.axtestomissionerrorcount += 1]&lt;/div&gt;&lt;div&gt;/ ontrialend = [if ( block.ax.totalcount &amp;gt;= 2 ) values.axtestomissiontrialcount += 1]&lt;/div&gt;&lt;div&gt;/ ontrialend = [if ( block.ax.totalcount &amp;gt;= 2 ) &amp;nbsp;values.axtestomissionerrorrate = values.axtestomissionerrorcount / values.axtestomissiontrialcount ]&lt;/div&gt;&lt;div&gt;&amp;lt;/trial&amp;gt;&lt;/div&gt;&lt;/div&gt;</description><pubDate>Sat, 30 Aug 2014 15:26:25 GMT</pubDate><dc:creator>Anoushka Shahane</dc:creator></item><item><title>RE: How to insert a blank without messing up rest of trial?</title><link>https://forums.millisecond.com/Topic14112.aspx</link><description>In addition note that /stimulustimes exists as an alternative to /stimulusframes. /stimulustimes allows you to specify the desired presentation timing in milliseconds instead of ordinal frame number:&lt;div&gt;&lt;br/&gt;&lt;/div&gt;/ stimulustimes = [0=a,b,c; 100=d,e; 500=f; ...]&lt;br/&gt;</description><pubDate>Sat, 30 Aug 2014 15:26:25 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: How to insert a blank without messing up rest of trial?</title><link>https://forums.millisecond.com/Topic14111.aspx</link><description>Excellent, thank you very much for your assistance. I thought that stimulusframes were just flashed consecutively -- this makes way more sense now. Thank you!</description><pubDate>Sat, 30 Aug 2014 13:43:05 GMT</pubDate><dc:creator>Anoushka Shahane</dc:creator></item><item><title>RE: How to insert a blank without messing up rest of trial?</title><link>https://forums.millisecond.com/Topic14105.aspx</link><description>&lt;strong&gt;/ stimulusframes = [1=blank, ax_x, &lt;span style="background-color: rgb(59, 111, 245);"&gt;&lt;font color="#f7f7f7"&gt;IfXTarget&lt;/font&gt;&lt;/span&gt;]&lt;div&gt;&lt;br/&gt;&lt;div&gt;means you're presenting blank, ax_x and IfCTarget all in the same, 1st frame, i.e. at the exact same point in time.&lt;div&gt;&lt;br/&gt;&lt;/div&gt;If you want your sound to be played at a later point, you ought to present it at a later point in time, i.e. something along the lines of&lt;div&gt;&lt;br/&gt;&lt;/div&gt;&lt;strong&gt;/ stimulusframes = [1=blank, ax_x; 20=blank, &lt;span style="background-color: rgb(59, 111, 245);"&gt;&lt;font color="#f7f7f7"&gt;IfXTarget&lt;/font&gt;&lt;/span&gt;]&lt;/strong&gt;&lt;div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;adjusted to whatever timing you want or need.&lt;br/&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/strong&gt;</description><pubDate>Fri, 29 Aug 2014 13:29:10 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>