<div dir="ltr">Thanks David<div><br></div><div>I am using EP2.0.10.242. Your solution sure will work for the "video/sound part" of the problem. But also I have to record reaction time to the sounds and to know if that reaction times occur before or after the end each sound. That is the point where I needed the sound object. But think I have found a solution using a Do While-Loop and a wait object of 0 duration just after the inline that plays the cached sound. Also, I prefer not to have several objects for the same funcionality if not totally necessary (in this case I prefer messy inline code).</div><div><br></div><div>Thanks again for your suggestion</div><div><br></div><div><br></div><div><br></div><div><div>El martes, 1 de octubre de 2013 15:32:16 UTC+2, McFarlane, David escribió:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">I do not have an answer to your question as
<br>posed, but I would like to pose the
<br>following. What version of E-Prime do you
<br>use? If you use EP2.0.10.x or later, try setting
<br>GeneratePreRun on your Procedure to
<br>TopOfProcedure, then use a separate SoundOut
<br>object for each of your sounds during the
<br>movie. With TopOfProcedure, all the
<br>SoundBuffer.Load operations will take place at
<br>the beginning of the Procedure, not during your
<br>movie playback, and perhaps that would solve your
<br>problem. It would also eliminate the need for messy inline code.
<br>
<br>And if you do not use EP2.0.10.x, well, maybe this is your reason to upgrade.
<br>
<br>-----
<br>David McFarlane
<br>E-Prime training
<br>online: <a href="http://psychology.msu.edu/Workshops_Courses/eprime.aspx" target="_blank">http://psychology.msu.edu/<wbr>Workshops_Courses/eprime.aspx</a>
<br>Twitter: @EPrimeMaster (<a href="https://twitter.com/EPrimeMaster" target="_blank">https://twitter.com/<wbr>EPrimeMaster</a>)
<br>
<br>/----
<br>Stock reminder: 1) I do not work for PST. 2)
<br>PST's trained staff take any and all questions at
<br><a href="http://support.pstnet.com/e%2Dprime/support/login.asp" target="_blank">http://support.pstnet.com/e%<wbr>2Dprime/support/login.asp</a>
<br>, and they strive to respond to all requests in
<br>24-48 hours, so make full use of it. 3) In
<br>addition, PST offers several instructional videos
<br>on their YouTube channel
<br>(<a href="http://www.youtube.com/user/PSTNET" target="_blank">http://www.youtube.com/user/<wbr>PSTNET</a> ). 4) If you
<br>do get an answer from PST staff, please extend
<br>the courtesy of posting their reply back here for the sake of others.
<br>\----
<br>
<br>
<br>At 10/1/2013 07:36 AM Tuesday, Emiliano DÃez wrote:
<br>>I need to assign a soundbuffer that has been
<br>>preloaded into memory to the soundbuffer of a
<br>>SoundOut object in a procedure. Can this be done???
<br>>
<br>>The point is that my procedure needs to play a
<br>>video playing and at the same time to present
<br>>several sounds (sentences in this case) and
<br>>record reaction times to these sounds. If I use
<br>>mybuffer.load while the video is playing a small
<br>>pause of the video can be seen. So my solution
<br>>was to make an array of soundbuffers and play
<br>>them with inline code. But in this way I lost
<br>>the possibility to record the key responses in
<br>>the way I need (need to know if the keypress,
<br>>that starts with the onset of each sound, has
<br>>been ocurred before or after the sound ends). I
<br>>have found a way to do this, but need to have
<br>>a soundobject and a wait object. So the
<br>>question: is it possible to assign a preloaded
<br>>soundbuffer to the sound buffer of a soundobject?
<br>>
<br>>Thanks all
<br>
<br></blockquote></div></div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe@googlegroups.com.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/2e651971-5013-41e4-823b-84ec8a35dc80%40googlegroups.com">https://groups.google.com/d/msgid/e-prime/2e651971-5013-41e4-823b-84ec8a35dc80%40googlegroups.com</a>.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />