﻿<?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 6  » How to set the number of congruent and incongruent trials in a Stroop task?</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 20 Sep 2026 02:53:09 GMT</lastBuildDate><ttl>20</ttl><item><title>How to set the number of congruent and incongruent trials in a Stroop task?</title><link>https://forums.millisecond.com/Topic29761.aspx</link><description>Hi,&lt;br/&gt;&lt;br/&gt;I just created a Stroop task based on the following script "strooptask_withvoicerecognition" found on your library.&amp;nbsp;&lt;br/&gt;In this task the number of congruent and incongruent trials is random, but I would like to set this number to a ratio of 50% of congruent and 50% of incongruent. I don't know how I can define the total number of congruent and incongruent trial. May I have to do something with "values.congruence" ?&lt;br/&gt;Can you help me ?&lt;br/&gt;&lt;br/&gt;If you need my script, I can send you it.&lt;br/&gt;&lt;br/&gt;Thanks in advance,&lt;br/&gt;Best,&lt;br/&gt;Margaux&lt;br/&gt;</description><pubDate>Wed, 07 Oct 2020 14:56:19 GMT</pubDate><dc:creator>Tylhi</dc:creator></item><item><title>RE: How to set the number of congruent and incongruent trials in a Stroop task?</title><link>https://forums.millisecond.com/Topic29836.aspx</link><description>&lt;blockquote data-id="29795" class="if-quote-wrapper" unselectable="on" data-guid="1602082224125" contenteditable="false" id="if_insertedNode_1602082223122"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29795" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29795" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29795" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 9/29/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29795"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="29794" class="if-quote-wrapper" unselectable="on" data-guid="1602082224125" id="if_insertedNode_1601389338357" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29794" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29794" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29794" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Tylhi - 9/29/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29794"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="29793" class="if-quote-wrapper" unselectable="on" data-guid="1602082224125" id="if_insertedNode_1601385059791" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29793" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29793" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29793" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 9/29/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29793"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="29792" class="if-quote-wrapper" unselectable="on" data-guid="1602082224125" id="if_insertedNode_1601379935221" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29792" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29792" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29792" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Tylhi - 9/29/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29792"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="29762" class="if-quote-wrapper" unselectable="on" data-guid="1602082224125" id="if_insertedNode_1601358589881" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29762" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29762" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29762" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 9/24/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29762"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="29761" class="if-quote-wrapper" unselectable="on" data-guid="1602082224125" id="if_insertedNode_1600949287383" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29761" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29761" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29761" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Tylhi - 9/24/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29761"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi,&lt;br/&gt;&lt;br/&gt;I just created a Stroop task based on the following script "strooptask_withvoicerecognition" found on your library.&amp;nbsp;&lt;br/&gt;In this task the number of congruent and incongruent trials is random, but I would like to set this number to a ratio of 50% of congruent and 50% of incongruent. I don't know how I can define the total number of congruent and incongruent trial. May I have to do something with "values.congruence" ?&lt;br/&gt;Can you help me ?&lt;br/&gt;&lt;br/&gt;If you need my script, I can send you it.&lt;br/&gt;&lt;br/&gt;Thanks in advance,&lt;br/&gt;Best,&lt;br/&gt;Margaux&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="29761"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;See attached. Note: Doing this requires, among other things, increasing the amount of trials to 40 per block.&lt;a class="if-quote-goto quote-link" href="#" data-id="29762"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Hi,&lt;br/&gt;&lt;br/&gt;I'm facing a new problem with the same task. When I try to fix the trial duration and the stimulus time, the task don't continue to record voice since the second trial.&lt;br/&gt;I'm would like to display for 1000ms the word, have a response window of 1700ms (starting at the same time than the word) and that the trial lasts 2500 ms in totality. I didn't succed, every time I try something, the task stop to record voice.&lt;br/&gt;Can you help me ?&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Margaux&lt;a class="if-quote-goto quote-link" href="#" data-id="29792"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Provide the code, please.&lt;a class="if-quote-goto quote-link" href="#" data-id="29793"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;Hi,&lt;br/&gt;&lt;br/&gt;There is a task. I also add a file needed on, but I can't add the other one, an audio file that I use to report an incorrect response (beep). May I can send you this one by email.&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Margaux&lt;a class="if-quote-goto quote-link" href="#" data-id="29794"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;To&lt;br/&gt;&lt;br/&gt;&amp;gt; [...] display for 1000ms the word, have a response window of 1700ms (starting at the same time than the word) and that the trial lasts 2500 ms in totality.&lt;br/&gt;&lt;br/&gt;your trials ought to be set up like this&lt;br/&gt;&lt;br/&gt;&amp;lt;trial yellow&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.color = "jaune"]&lt;br/&gt;/ stimulustimes = [0=jaune; 1000=screen]&lt;br/&gt;&lt;strong&gt;/ beginresponsetime = 0&lt;br/&gt;/ posttrialpause = 800&lt;br/&gt;/ trialduration = 2500&lt;br/&gt;/ responseinterrupt = frames&lt;/strong&gt;&lt;br/&gt;/ validresponse = ("jaune" "vert" "bleu" "rouge")&lt;br/&gt;/ correctresponse = ("jaune")&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (text.jaune.currentitemnumber == 5) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.count_congruent += 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.congruence = 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.count_incongruent += 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.congruence = 2;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (text.jaune.currentitemnumber == 5 &amp;amp;&amp;amp; trial.yellow.correct) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.countcorrect_congruent += 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.sumrt_congruent += trial.yellow.latency;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if (text.jaune.currentitemnumber != 5 &amp;amp;&amp;amp; trial.yellow.correct) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.countcorrect_incongruent += 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.sumrt_incongruent += trial.yellow.latency;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;Refer to &lt;a href="https://www.millisecond.com/support/docs/v6/html/howto/howtocontroltiming.htm"&gt;&lt;a href="https://www.millisecond.com/support/docs/v6/html/howto/howtocontroltiming.htm"&gt;https://www.millisecond.com/support/docs/v6/html/howto/howtocontroltiming.htm&lt;/a&gt;&lt;/a&gt; and &lt;a href="https://www.millisecond.com/support/docs/v6/html/howto/responsetiming.htm"&gt;&lt;a href="https://www.millisecond.com/support/docs/v6/html/howto/responsetiming.htm"&gt;https://www.millisecond.com/support/docs/v6/html/howto/responsetiming.htm&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="29795"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Hi,&lt;br/&gt;&lt;br/&gt;I have another question for a task really similar to the one you helped me. If we said that I use the same script, how can I code in order to only have incongruent trial ?&lt;br/&gt;I tried to change the list as follow :&lt;br/&gt;&lt;br/&gt;&amp;lt;list colornames_red&amp;gt;&lt;br/&gt;/ items = (vert, bleu, jaune)&lt;br/&gt;/ replace = false&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list colornames_green&amp;gt;&lt;br/&gt;/ items = (rouge, bleu, jaune)&lt;br/&gt;/ replace = false&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list colornames_blue&amp;gt;&lt;br/&gt;/ items = (rouge, vert, jaune)&lt;br/&gt;/ replace = false&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list colornames_yellow&amp;gt;&lt;br/&gt;/ items = (rouge, vert, bleu)&lt;br/&gt;/ replace = false&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;i&gt;* red = rouge; blue = bleu ; green = vert ; yellow = jaune&lt;/i&gt;&lt;br/&gt;But the task still diplay congruent trial. Can you help me with it ?&lt;br/&gt;&lt;br/&gt;Thanks in advance,&lt;br/&gt;Margaux</description><pubDate>Wed, 07 Oct 2020 14:56:19 GMT</pubDate><dc:creator>Tylhi</dc:creator></item><item><title>RE: How to set the number of congruent and incongruent trials in a Stroop task?</title><link>https://forums.millisecond.com/Topic29795.aspx</link><description>&lt;blockquote data-id="29794" class="if-quote-wrapper" unselectable="on" data-guid="1601389338731" id="if_insertedNode_1601389338357" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29794" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29794" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29794" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Tylhi - 9/29/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29794"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="29793" class="if-quote-wrapper" unselectable="on" data-guid="1601389338731" id="if_insertedNode_1601385059791" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29793" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29793" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29793" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 9/29/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29793"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="29792" class="if-quote-wrapper" unselectable="on" data-guid="1601389338731" id="if_insertedNode_1601379935221" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29792" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29792" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29792" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Tylhi - 9/29/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29792"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="29762" class="if-quote-wrapper" unselectable="on" data-guid="1601389338731" id="if_insertedNode_1601358589881" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29762" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29762" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29762" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 9/24/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29762"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="29761" class="if-quote-wrapper" unselectable="on" data-guid="1601389338731" id="if_insertedNode_1600949287383" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29761" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29761" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29761" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Tylhi - 9/24/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29761"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi,&lt;br/&gt;&lt;br/&gt;I just created a Stroop task based on the following script "strooptask_withvoicerecognition" found on your library.&amp;nbsp;&lt;br/&gt;In this task the number of congruent and incongruent trials is random, but I would like to set this number to a ratio of 50% of congruent and 50% of incongruent. I don't know how I can define the total number of congruent and incongruent trial. May I have to do something with "values.congruence" ?&lt;br/&gt;Can you help me ?&lt;br/&gt;&lt;br/&gt;If you need my script, I can send you it.&lt;br/&gt;&lt;br/&gt;Thanks in advance,&lt;br/&gt;Best,&lt;br/&gt;Margaux&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="29761"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;See attached. Note: Doing this requires, among other things, increasing the amount of trials to 40 per block.&lt;a class="if-quote-goto quote-link" href="#" data-id="29762"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Hi,&lt;br/&gt;&lt;br/&gt;I'm facing a new problem with the same task. When I try to fix the trial duration and the stimulus time, the task don't continue to record voice since the second trial.&lt;br/&gt;I'm would like to display for 1000ms the word, have a response window of 1700ms (starting at the same time than the word) and that the trial lasts 2500 ms in totality. I didn't succed, every time I try something, the task stop to record voice.&lt;br/&gt;Can you help me ?&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Margaux&lt;a class="if-quote-goto quote-link" href="#" data-id="29792"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Provide the code, please.&lt;a class="if-quote-goto quote-link" href="#" data-id="29793"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;Hi,&lt;br/&gt;&lt;br/&gt;There is a task. I also add a file needed on, but I can't add the other one, an audio file that I use to report an incorrect response (beep). May I can send you this one by email.&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Margaux&lt;a class="if-quote-goto quote-link" href="#" data-id="29794"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;To&lt;br/&gt;&lt;br/&gt;&amp;gt; [...] display for 1000ms the word, have a response window of 1700ms (starting at the same time than the word) and that the trial lasts 2500 ms in totality.&lt;br/&gt;&lt;br/&gt;your trials ought to be set up like this&lt;br/&gt;&lt;br/&gt;&amp;lt;trial yellow&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.color = "jaune"]&lt;br/&gt;/ stimulustimes = [0=jaune; 1000=screen]&lt;br/&gt;&lt;strong&gt;/ beginresponsetime = 0&lt;br/&gt;/ posttrialpause = 800&lt;br/&gt;/ trialduration = 2500&lt;br/&gt;/ responseinterrupt = frames&lt;/strong&gt;&lt;br/&gt;/ validresponse = ("jaune" "vert" "bleu" "rouge")&lt;br/&gt;/ correctresponse = ("jaune")&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (text.jaune.currentitemnumber == 5) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.count_congruent += 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.congruence = 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.count_incongruent += 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.congruence = 2;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (text.jaune.currentitemnumber == 5 &amp;amp;&amp;amp; trial.yellow.correct) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.countcorrect_congruent += 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.sumrt_congruent += trial.yellow.latency;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if (text.jaune.currentitemnumber != 5 &amp;amp;&amp;amp; trial.yellow.correct) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.countcorrect_incongruent += 1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.sumrt_incongruent += trial.yellow.latency;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;Refer to &lt;a href="https://www.millisecond.com/support/docs/v6/html/howto/howtocontroltiming.htm"&gt;https://www.millisecond.com/support/docs/v6/html/howto/howtocontroltiming.htm&lt;/a&gt; and &lt;a href="https://www.millisecond.com/support/docs/v6/html/howto/responsetiming.htm"&gt;https://www.millisecond.com/support/docs/v6/html/howto/responsetiming.htm&lt;/a&gt;&lt;br/&gt;</description><pubDate>Tue, 29 Sep 2020 14:33:36 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: How to set the number of congruent and incongruent trials in a Stroop task?</title><link>https://forums.millisecond.com/Topic29794.aspx</link><description>&lt;blockquote data-id="29793" class="if-quote-wrapper" unselectable="on" data-guid="1601385060677" contenteditable="false" id="if_insertedNode_1601385059791"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29793" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29793" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29793" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 9/29/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29793"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="29792" class="if-quote-wrapper" unselectable="on" data-guid="1601385060677" id="if_insertedNode_1601379935221" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29792" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29792" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29792" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Tylhi - 9/29/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29792"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="29762" class="if-quote-wrapper" unselectable="on" data-guid="1601385060677" id="if_insertedNode_1601358589881" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29762" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29762" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29762" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 9/24/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29762"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="29761" class="if-quote-wrapper" unselectable="on" data-guid="1601385060677" id="if_insertedNode_1600949287383" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29761" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29761" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29761" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Tylhi - 9/24/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29761"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi,&lt;br/&gt;&lt;br/&gt;I just created a Stroop task based on the following script "strooptask_withvoicerecognition" found on your library.&amp;nbsp;&lt;br/&gt;In this task the number of congruent and incongruent trials is random, but I would like to set this number to a ratio of 50% of congruent and 50% of incongruent. I don't know how I can define the total number of congruent and incongruent trial. May I have to do something with "values.congruence" ?&lt;br/&gt;Can you help me ?&lt;br/&gt;&lt;br/&gt;If you need my script, I can send you it.&lt;br/&gt;&lt;br/&gt;Thanks in advance,&lt;br/&gt;Best,&lt;br/&gt;Margaux&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="29761"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;See attached. Note: Doing this requires, among other things, increasing the amount of trials to 40 per block.&lt;a class="if-quote-goto quote-link" href="#" data-id="29762"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Hi,&lt;br/&gt;&lt;br/&gt;I'm facing a new problem with the same task. When I try to fix the trial duration and the stimulus time, the task don't continue to record voice since the second trial.&lt;br/&gt;I'm would like to display for 1000ms the word, have a response window of 1700ms (starting at the same time than the word) and that the trial lasts 2500 ms in totality. I didn't succed, every time I try something, the task stop to record voice.&lt;br/&gt;Can you help me ?&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Margaux&lt;a class="if-quote-goto quote-link" href="#" data-id="29792"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Provide the code, please.&lt;a class="if-quote-goto quote-link" href="#" data-id="29793"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;Hi,&lt;br/&gt;&lt;br/&gt;There is a task. I also add a file needed on, but I can't add the other one, an audio file that I use to report an incorrect response (beep). May I can send you this one by email.&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Margaux</description><pubDate>Tue, 29 Sep 2020 13:15:48 GMT</pubDate><dc:creator>Tylhi</dc:creator></item><item><title>RE: How to set the number of congruent and incongruent trials in a Stroop task?</title><link>https://forums.millisecond.com/Topic29793.aspx</link><description>&lt;blockquote data-id="29792" class="if-quote-wrapper" unselectable="on" data-guid="1601379935793" id="if_insertedNode_1601379935221" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29792" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29792" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29792" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Tylhi - 9/29/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29792"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="29762" class="if-quote-wrapper" unselectable="on" data-guid="1601379935793" id="if_insertedNode_1601358589881" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29762" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29762" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29762" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 9/24/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29762"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="29761" class="if-quote-wrapper" unselectable="on" data-guid="1601379935793" id="if_insertedNode_1600949287383" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29761" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29761" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29761" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Tylhi - 9/24/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29761"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi,&lt;br/&gt;&lt;br/&gt;I just created a Stroop task based on the following script "strooptask_withvoicerecognition" found on your library.&amp;nbsp;&lt;br/&gt;In this task the number of congruent and incongruent trials is random, but I would like to set this number to a ratio of 50% of congruent and 50% of incongruent. I don't know how I can define the total number of congruent and incongruent trial. May I have to do something with "values.congruence" ?&lt;br/&gt;Can you help me ?&lt;br/&gt;&lt;br/&gt;If you need my script, I can send you it.&lt;br/&gt;&lt;br/&gt;Thanks in advance,&lt;br/&gt;Best,&lt;br/&gt;Margaux&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="29761"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;See attached. Note: Doing this requires, among other things, increasing the amount of trials to 40 per block.&lt;a class="if-quote-goto quote-link" href="#" data-id="29762"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Hi,&lt;br/&gt;&lt;br/&gt;I'm facing a new problem with the same task. When I try to fix the trial duration and the stimulus time, the task don't continue to record voice since the second trial.&lt;br/&gt;I'm would like to display for 1000ms the word, have a response window of 1700ms (starting at the same time than the word) and that the trial lasts 2500 ms in totality. I didn't succed, every time I try something, the task stop to record voice.&lt;br/&gt;Can you help me ?&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Margaux&lt;a class="if-quote-goto quote-link" href="#" data-id="29792"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Provide the code, please.</description><pubDate>Tue, 29 Sep 2020 11:45:43 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: How to set the number of congruent and incongruent trials in a Stroop task?</title><link>https://forums.millisecond.com/Topic29792.aspx</link><description>&lt;blockquote data-id="29762" class="if-quote-wrapper" unselectable="on" data-guid="1601358591148" contenteditable="false" id="if_insertedNode_1601358589881"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29762" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29762" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29762" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 9/24/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29762"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="29761" class="if-quote-wrapper" unselectable="on" data-guid="1601358591148" id="if_insertedNode_1600949287383" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29761" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29761" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29761" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Tylhi - 9/24/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29761"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi,&lt;br/&gt;&lt;br/&gt;I just created a Stroop task based on the following script "strooptask_withvoicerecognition" found on your library.&amp;nbsp;&lt;br/&gt;In this task the number of congruent and incongruent trials is random, but I would like to set this number to a ratio of 50% of congruent and 50% of incongruent. I don't know how I can define the total number of congruent and incongruent trial. May I have to do something with "values.congruence" ?&lt;br/&gt;Can you help me ?&lt;br/&gt;&lt;br/&gt;If you need my script, I can send you it.&lt;br/&gt;&lt;br/&gt;Thanks in advance,&lt;br/&gt;Best,&lt;br/&gt;Margaux&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="29761"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;See attached. Note: Doing this requires, among other things, increasing the amount of trials to 40 per block.&lt;a class="if-quote-goto quote-link" href="#" data-id="29762"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Hi,&lt;br/&gt;&lt;br/&gt;I'm facing a new problem with the same task. When I try to fix the trial duration and the stimulus time, the task don't continue to record voice since the second trial.&lt;br/&gt;I'm would like to display for 1000ms the word, have a response window of 1700ms (starting at the same time than the word) and that the trial lasts 2500 ms in totality. I didn't succed, every time I try something, the task stop to record voice.&lt;br/&gt;Can you help me ?&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Margaux</description><pubDate>Tue, 29 Sep 2020 05:56:47 GMT</pubDate><dc:creator>Tylhi</dc:creator></item><item><title>RE: How to set the number of congruent and incongruent trials in a Stroop task?</title><link>https://forums.millisecond.com/Topic29774.aspx</link><description>&lt;blockquote data-id="29762" class="if-quote-wrapper" unselectable="on" data-guid="1600969575074" contenteditable="false" id="if_insertedNode_1600969573278"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29762" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29762" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29762" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 9/24/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29762"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="29761" class="if-quote-wrapper" unselectable="on" data-guid="1600969575074" id="if_insertedNode_1600949287383" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29761" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29761" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29761" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Tylhi - 9/24/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29761"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi,&lt;br/&gt;&lt;br/&gt;I just created a Stroop task based on the following script "strooptask_withvoicerecognition" found on your library.&amp;nbsp;&lt;br/&gt;In this task the number of congruent and incongruent trials is random, but I would like to set this number to a ratio of 50% of congruent and 50% of incongruent. I don't know how I can define the total number of congruent and incongruent trial. May I have to do something with "values.congruence" ?&lt;br/&gt;Can you help me ?&lt;br/&gt;&lt;br/&gt;If you need my script, I can send you it.&lt;br/&gt;&lt;br/&gt;Thanks in advance,&lt;br/&gt;Best,&lt;br/&gt;Margaux&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="29761"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;See attached. Note: Doing this requires, among other things, increasing the amount of trials to 40 per block.&lt;a class="if-quote-goto quote-link" href="#" data-id="29762"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Hi Dave,&lt;br/&gt;&lt;br/&gt;Thanks a lot! :)&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;Margaux</description><pubDate>Thu, 24 Sep 2020 17:46:47 GMT</pubDate><dc:creator>Tylhi</dc:creator></item><item><title>RE: How to set the number of congruent and incongruent trials in a Stroop task?</title><link>https://forums.millisecond.com/Topic29762.aspx</link><description>&lt;blockquote data-id="29761" class="if-quote-wrapper" unselectable="on" data-guid="1600949287913" id="if_insertedNode_1600949287383" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29761" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29761" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29761" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Tylhi - 9/24/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29761"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi,&lt;br/&gt;&lt;br/&gt;I just created a Stroop task based on the following script "strooptask_withvoicerecognition" found on your library.&amp;nbsp;&lt;br/&gt;In this task the number of congruent and incongruent trials is random, but I would like to set this number to a ratio of 50% of congruent and 50% of incongruent. I don't know how I can define the total number of congruent and incongruent trial. May I have to do something with "values.congruence" ?&lt;br/&gt;Can you help me ?&lt;br/&gt;&lt;br/&gt;If you need my script, I can send you it.&lt;br/&gt;&lt;br/&gt;Thanks in advance,&lt;br/&gt;Best,&lt;br/&gt;Margaux&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="29761"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;See attached. Note: Doing this requires, among other things, increasing the amount of trials to 40 per block.</description><pubDate>Thu, 24 Sep 2020 12:09:12 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>