﻿<?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  » creating sounds during iteration based trials</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Thu, 09 Apr 2026 09:38:18 GMT</lastBuildDate><ttl>20</ttl><item><title>creating sounds during iteration based trials</title><link>https://forums.millisecond.com/Topic34911.aspx</link><description>Hi all, my current script involves a looping trial with events (pictures and sounds) happening while the trial loops round and round. Does anyone know how to conditionally trigger sounds during a looping trial? I cant just place them on the stimulustimes line as they will play all of the time. I have tried a few solutions but nothing works.&amp;nbsp; &lt;br/&gt;Does any one have any thoughts please??&amp;nbsp;&amp;nbsp;&lt;br/&gt;thanks &lt;br/&gt;Peter</description><pubDate>Tue, 08 Nov 2022 20:10:25 GMT</pubDate><dc:creator>peter</dc:creator></item><item><title>RE: creating sounds during iteration based trials</title><link>https://forums.millisecond.com/Topic34921.aspx</link><description>Yes unfortunately that was my conclusion. I even tried having the sound always playing but changing the sound volume from 0 to 100 during a collision but that also did not work. Even wondered if I could activate a parallel port tiger conditionally and use a second pc to make the sounds.&amp;nbsp; No luck though sadly as it may be run online.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Well thanks for your help anyway. It is appreciated. &lt;br/&gt;&amp;nbsp;&lt;br/&gt;Peter </description><pubDate>Tue, 08 Nov 2022 20:10:25 GMT</pubDate><dc:creator>peter</dc:creator></item><item><title>RE: creating sounds during iteration based trials</title><link>https://forums.millisecond.com/Topic34920.aspx</link><description>&lt;blockquote data-id="34916" class="if-quote-wrapper" unselectable="on" data-guid="1667936427286" id="if_insertedNode_1667936426205" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="34916" 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="34916" 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="34916" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;peter - 11/8/2022&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-34916"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="34913" class="if-quote-wrapper" unselectable="on" data-guid="1667936427286" id="if_insertedNode_1667929129193" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="34913" 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="34913" 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="34913" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 11/7/2022&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-34913"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="34911" class="if-quote-wrapper" unselectable="on" data-guid="1667936427286" id="if_insertedNode_1667823916760" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="34911" 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="34911" 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="34911" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;peter - 11/5/2022&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-34911"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi all, my current script involves a looping trial with events (pictures and sounds) happening while the trial loops round and round. Does anyone know how to conditionally trigger sounds during a looping trial? I cant just place them on the stimulustimes line as they will play all of the time. I have tried a few solutions but nothing works.&amp;nbsp; &lt;br/&gt;Does any one have any thoughts please??&amp;nbsp;&amp;nbsp;&lt;br/&gt;thanks &lt;br/&gt;Peter&lt;a class="if-quote-goto quote-link" href="#" data-id="34911"&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;Please provide a working (!) example of your "looping trial with events" and explain what you want to insert when under what condition. Your description is far too vague to understand what you're doing and what you want to do.&lt;a class="if-quote-goto quote-link" href="#" data-id="34913"&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;Ok that i can do. I will direct message you with the script.&lt;br/&gt;&lt;br/&gt;What I need please is for the sound of a bang (bang sound.mp3) to play when the Mandalorian's ship crashes into an x wing (I hope you are a fellow nerd enough to understand that description) the conditional statement is noted in the script with "//DAVE 'BANG SOUND' NEEDS TO BE PLAYED HERE PLEASE"&lt;br/&gt;&lt;br/&gt;Thanks for your help &lt;br/&gt;Peter&lt;a class="if-quote-goto quote-link" href="#" data-id="34916"&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;Having taken a thorough look at the script you messaged me separately now, I have to unfortunately conclude that playiing a sound along with the explosion is not possible in the case at hand. It's not a problem to dynamically insert the sound into the trial (per insertstimulustime()) when an explosion occurs; the problem is that you will effectively never hear the sound regardless, because the given instance of the trial will already be over (and thereby terminate the playback) before you hear anything. Forcing the sound to play back fully before the given instance of the trial terminates per /playthrough = true isn't viable either, because that would stall the rest of the procedure (i.e. you wouldn't be able to move the space ship around while the explosion sound plays).</description><pubDate>Tue, 08 Nov 2022 19:57:42 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: creating sounds during iteration based trials</title><link>https://forums.millisecond.com/Topic34916.aspx</link><description>&lt;blockquote data-id="34913" class="if-quote-wrapper" unselectable="on" data-guid="1667929130227" contenteditable="false" id="if_insertedNode_1667929129193"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="34913" 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="34913" 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="34913" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 11/7/2022&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-34913"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="34911" class="if-quote-wrapper" unselectable="on" data-guid="1667929130227" id="if_insertedNode_1667823916760" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="34911" 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="34911" 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="34911" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;peter - 11/5/2022&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-34911"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi all, my current script involves a looping trial with events (pictures and sounds) happening while the trial loops round and round. Does anyone know how to conditionally trigger sounds during a looping trial? I cant just place them on the stimulustimes line as they will play all of the time. I have tried a few solutions but nothing works.&amp;nbsp; &lt;br/&gt;Does any one have any thoughts please??&amp;nbsp;&amp;nbsp;&lt;br/&gt;thanks &lt;br/&gt;Peter&lt;a class="if-quote-goto quote-link" href="#" data-id="34911"&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;Please provide a working (!) example of your "looping trial with events" and explain what you want to insert when under what condition. Your description is far too vague to understand what you're doing and what you want to do.&lt;a class="if-quote-goto quote-link" href="#" data-id="34913"&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;Ok that i can do. I will direct message you with the script.&lt;br/&gt;&lt;br/&gt;What I need please is for the sound of a bang (bang sound.mp3) to play when the Mandalorian's ship crashes into an x wing (I hope you are a fellow nerd enough to understand that description) the conditional statement is noted in the script with "//DAVE 'BANG SOUND' NEEDS TO BE PLAYED HERE PLEASE"&lt;br/&gt;&lt;br/&gt;Thanks for your help &lt;br/&gt;Peter</description><pubDate>Tue, 08 Nov 2022 17:55:03 GMT</pubDate><dc:creator>peter</dc:creator></item><item><title>RE: creating sounds during iteration based trials</title><link>https://forums.millisecond.com/Topic34913.aspx</link><description>&lt;blockquote data-id="34911" class="if-quote-wrapper" unselectable="on" data-guid="1667823917612" id="if_insertedNode_1667823916760" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="34911" 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="34911" 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="34911" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;peter - 11/5/2022&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-34911"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi all, my current script involves a looping trial with events (pictures and sounds) happening while the trial loops round and round. Does anyone know how to conditionally trigger sounds during a looping trial? I cant just place them on the stimulustimes line as they will play all of the time. I have tried a few solutions but nothing works.&amp;nbsp; &lt;br/&gt;Does any one have any thoughts please??&amp;nbsp;&amp;nbsp;&lt;br/&gt;thanks &lt;br/&gt;Peter&lt;a class="if-quote-goto quote-link" href="#" data-id="34911"&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;Please provide a working (!) example of your "looping trial with events" and explain what you want to insert when under what condition. Your description is far too vague to understand what you're doing and what you want to do.</description><pubDate>Mon, 07 Nov 2022 12:26:29 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>