﻿<?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 5  » Ending Trial at when audio file finishes</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Wed, 08 Apr 2026 17:32:28 GMT</lastBuildDate><ttl>20</ttl><item><title>Ending Trial at when audio file finishes</title><link>https://forums.millisecond.com/Topic19709.aspx</link><description>Hi,&lt;br/&gt;&lt;br/&gt;&amp;nbsp; I'm very new to inquisit and I'm struggling to figure out how to end a trial without a response or timeout. &amp;nbsp;Essentially I want to play an audio file with no possible responses then when it has finished display some text which will appear on screen until the participant presses the spacebar.&lt;br/&gt;&lt;br/&gt;Is it possible to fix the end time of a trial to the end of an audio file?&lt;br/&gt;&lt;br/&gt;Thanks</description><pubDate>Mon, 19 Sep 2016 17:49:40 GMT</pubDate><dc:creator>Connorrr</dc:creator></item><item><title>RE: Ending Trial at when audio file finishes</title><link>https://forums.millisecond.com/Topic19711.aspx</link><description>You simply set up a &amp;lt;trial&amp;gt; with a short /timeout or /trialduration, while simultaneously setting the &amp;lt;sound&amp;gt; (for WAV) or &amp;lt;video&amp;gt; (for any other audio formats) element's /playthrough attribute to 'true'. You then /branch to another &amp;lt;trial&amp;gt; that displays your message and accepts the spacebar as response:&lt;br/&gt;&lt;br/&gt;&amp;lt;block someblock&amp;gt;&lt;br/&gt;/ trials = [1-2=soundtrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial soundtrial&amp;gt;&lt;br/&gt;/ stimulusframes = [1=somesound]&lt;br/&gt;/ validresponse = (0)&lt;br/&gt;/ trialduration = 50&lt;br/&gt;/ branch = [trial.messagetrial]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;video somesound&amp;gt;&lt;br/&gt;/ items = ("30seconds.mp3", "60seconds.mp3")&lt;br/&gt;/ playthrough = true&lt;br/&gt;&amp;lt;/video&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial messagetrial&amp;gt;&lt;br/&gt;/ stimulusframes = [1=sometext]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text sometext&amp;gt;&lt;br/&gt;/ items = ("Your message here")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;The audio will be played to completion (regardless of how long it is). Then the sound trial will automatically end and bring up the message trial.&lt;br/&gt;</description><pubDate>Mon, 19 Sep 2016 17:49:40 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Ending Trial at when audio file finishes</title><link>https://forums.millisecond.com/Topic19710.aspx</link><description>Also these are quite long audio files so is there a way to make sure that the participants computer doesn't fall asleep?</description><pubDate>Mon, 19 Sep 2016 17:30:28 GMT</pubDate><dc:creator>Connorrr</dc:creator></item></channel></rss>