in the same inline where you tell it to go to Label1, before going to Label1 you need to set up a counter.  when that counter = 10, you'll no longer Goto Label1.  to do this, in your user script tab:<div>Dim toneCount as Integer</div>
<div><br></div><div>in the inline after your sound object, before Goto Label1:</div><div>toneCount = toneCount +1</div><div>If toneCount <= 10 Then</div><div>   Goto Label1</div><div>Else</div><div>   toneCount = 0</div>
<div>End If<br><br><div class="gmail_quote">On Wed, May 7, 2008 at 1:07 PM, jessica <<a href="mailto:jessica.mariano@gmail.com">jessica.mariano@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Thanks so much for your speedy response, Ben!<br>
<br>
So I did what you suggested, and placed a label before SoundObject1,<br>
and it's definitely repeating!<br>
<br>
Now, how do I make it stop and move on to the next sound? For example,<br>
how do I make it loop for say 10 times before SoundObject2 starts<br>
playing?<br>
<br>
Also, is there a way to place a small gap (e.g, 500 ms) between each<br>
repetition?<br>
<br>
I'm not really familiar with the whole scripting side of E-prime... so<br>
many many thanks for your patience and help!!<br>
<br>
:)<br>
<div class="Ih2E3d"><br>
<br>
On May 7, 12:50 pm, "ben robinson" <<a href="mailto:baltimore....@gmail.com">baltimore....@gmail.com</a>> wrote:<br>
> could you simply place a label object (Label1) before the sound object, then<br>
> following presentation of the sound use an inline to "Goto Label1"?<br>
><br>
</div><div><div></div><div class="Wj3C7c">> On Wed, May 7, 2008 at 12:13 PM, jessica <<a href="mailto:jessica.mari...@gmail.com">jessica.mari...@gmail.com</a>> wrote:<br>
><br>
> > Hi all,<br>
><br>
> > Could someone please help me with a simple code to loop sound stimuli?<br>
> > (e.g., ba, ba, ba, ba...)<br>
><br>
> > I tried the 'Loop' function in the Properties section, but it doesn't<br>
> > seem to be working properly - sometimes it doesn't loop at all (or<br>
> > skips the sound altogether), sometimes the gap between repetitions is<br>
> > way too long, or way too short... I don't know if this is because my<br>
> > computer is too slow or something, but it's really frustrating! :(<br>
><br>
> > Any help would be greatly appreciated!<br>
><br>
> > Thanks in advance!<br>
><br>
> > jessica<br>
<br>
</div></div></blockquote></div><br></div><br>
--~--~---------~--~----~------------~-------~--~----~<br>
You received this message because you are subscribed to the Google Groups "E-Prime" group. <br> To post to this group, send email to e-prime@googlegroups.com <br> To unsubscribe from this group, send email to e-prime-unsubscribe@googlegroups.com <br> For more options, visit this group at http://groups.google.com/group/e-prime?hl=en <br> -~----------~----~----~----~------~----~------~--~---<br>
<br>