Slide with soundin and image: audio size issues

Sylvain symadec at gmail.com
Fri Feb 22 18:10:11 UTC 2013



On Friday, February 22, 2013 7:02:57 PM UTC+1, Sylvain wrote:
>
> Hello David,
>
> Thank you for your answer!
>
> It worked with the sleep(ITI) once set as more than 1000 ms, however I did 
> several other tests:
>
> - I replaced my Sleep(ITI) with a TextDisplayITI of random duration 
> (between 500 and 1200 ms), with no pre-release;
> - I launched an E-Test Run to hundred of trials.
>
> My result are as follow:
> - if I add the Slide.RT (the slide with the two sub-objects) 
> to TextDisplayITI.duration, then if the total is inferior to almost 1000 
> ms, the generated wav will be less than 1000 ms;
> - if the sum is superior to 1000 ms, I will get a wav file of 1000 ms.
>
> Now something interesting:
>
> - if I set the TextDisplayITI pre-release to more than 0 ms (I tried with 
> same duration), my wav files are then less than 1000 ms!
> So I thought that it might be due to the fact that adding a pre-release 
> changed the TextDisplayITI.offsettime, and that the wav could stop at the 
> point of this offset. The other hypothesis was that maybe, since 
> the TextDisplayITI was the last slide of the trial, looping to the 
> beginning another trial could stop the wav file. So to check that I added a 
> Sleep at the very end of the trial of 1000 ms, while keeping TextDisplayITI 
> with a pre-release of same duration. Doing that it gives me wav of 1000 ms.
>
> My guess is then that adding a pre-release to TextDisplayITI is changing 
> the TextDisplayITI.offsettime, and it induces a computation start of the 
> next loop earlier. And this cause a stop in the recording of the wav of the 
> previous trial.
>
> Sylvain
>
> On Friday, February 22, 2013 5:44:13 PM UTC+1, McFarlane, David wrote:
>>
>> Sylvain, 
>>
>> This all looks good to me, so I have no idea why it does not work for 
>> you -- in my experience, with SoundIn Buffer Size set to 1000 and 
>> other settings such as in your example, I get a full 1000 ms of sound 
>> recording.  Using a Sleep inline for the ITI should make no 
>> difference, but by now you should have done that exercise for 
>> yourself (and reported back here with your results).  So something 
>> else must be going on, or maybe someone else here has a clue.  (Note 
>> BTW that End Capture Action did not work in EP2.0.8.90, see 
>> http://www.pstnet.com/forum/Topic5473-12-1.aspx .) 
>>
>> So you should just submit this to PST Web Support, see stock reminder 
>> below. 
>>
>> ----- 
>> David McFarlane 
>> E-Prime training 
>> online:  http://psychology.msu.edu/Workshops_Courses/eprime.aspx 
>> Twitter:  @EPrimeMaster (https://twitter.com/EPrimeMaster) 
>>
>> /---- 
>> Stock reminder:  1) I do not work for PST.  2) PST's trained staff 
>> take any and all questions at 
>> http://support.pstnet.com/e%2Dprime/support/login.asp , and they 
>> strive to respond to all requests in 24-48 hours, so make full use of 
>> it.  3) In addition, PST offers several instructional videos on their 
>> YouTube channel (http://www.youtube.com/user/PSTNET ).  4) If you do 
>> get an answer from PST staff, please extend the courtesy of posting 
>> their reply back here for the sake of others. 
>> \---- 
>>
>>
>> At 2/21/2013 07:26 PM Thursday, Sylvain wrote: 
>> >I have a problem with the latest version of EP2(2.0.10.242). 
>> >A typical trial procedure is as follow: 
>> > 
>> >- first a fixation cross appear for a duration of 200 ms 
>> >(pre-realease set at the stim duration); 
>> > 
>> >- then a blank screen of a jittered duration appears (the jittered 
>> >duration has been computed before, not online, the pre-realease is 
>> >set also at the stim duration); 
>> > 
>> >- then a Slide appear with two sub-objet: an image and a 
>> >SlideSoundIn. I want my participants to give the name of the image, 
>> >taking advantage of the SRS box vocal responses, and have the Slide 
>> >disappearing; but I also want to record, with the SlideSoundIn 
>> >sub-object, the whole signal audio. I set the duration of the Slide 
>> >to 1000 ms maximum, and for the SlideSoundIn I've chosen a buffer of 
>> >1000 ms, set "Stop after" to no, and "EndSoundCaptureAction" to 
>> >none. However, I notice that when I do that, automatically I see the 
>> >"Stop after mode" staying on "NextOnsetTime" (pre-realease for the 
>> >slide set at the stim duration); 
>> > 
>> >- then an ITI of 1 sec appears (pre-realease for the slide set at 
>> >the stim duration). 
>> > 
>> >Doing that, I noticed that my audio signal from the SlideSoundIn 
>> >sub-object always ended before reaching 1000 ms. 
>> > 
>> >My question are: 
>> > 
>> >1) Do you think that even though I set the "Stop after" of the 
>> >SlideSoundIn to "no" (I'm 100% sure I did that, several times) the 
>> >recording could stop during the ITI onset or pre-realease of it? If 
>> >not, what could have I done wrong? 
>> > 
>> >2) In order to get rid of this issue, I replaced the ITI screen by a 
>> >sleep inline. Does the recording of the SlideSoundIn continue during 
>> >a sleep? Maybe it could be a solution to this issue. 
>> > 
>> >Thank you for any advices and answers. 
>> > 
>> >Sylvain 
>>
>>

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com.
To post to this group, send email to e-prime at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/towyt3LNHLwJ.
For more options, visit https://groups.google.com/groups/opt_out.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20130222/26dfe494/attachment.htm>


More information about the Eprime mailing list