Hey all, I'm trying to find a way to loop sound in an inline script for
my experiment. I put an inline at the beginning of the session to load
the sound initially:<br><br>>Dim MyBuffer As SoundBuffer<br>>Dim GenericSoundBufferInfo As SoundBufferInfo<br>
>GenericSoundBufferInfo.<div id=":7d">MaxLength = 30500<br>>Set MyBuffer = Sound.CreateBuffer(GenericSoundBufferInfo)<br>>MyBuffer.Filename = "Unknowncut3.wav"<br>>MyBuffer.Load<br><br>So
this is the inline I used in the beginning. I want the sound to be
played during two separate text displays at two different times in my
experiment. So I put the following inline before both text displays:<br>
<br>>myBuffer.Play<br><br>This works just fine except that I need to
get my sound clip to loop so that it plays throughout the entire text
display. The sound clip is only 30 seconds long and I need it to play
for about 108 seconds so it needs to loop about 4 times. I've looked
all over the internet trying to find what scripting language I should
use and where to put it to make the sound loop, but I'm not finding the
answer. I tried soundout objects and I do get the sound to loop, but it
doesn't play during my second text display. I'd really rather find a
way to put some code in the inline to loop the sound. I know there has
to be a way to do this, but I just can't figure it out! Please help!
Any help would verrrry much be appreciated! Thanks in advance :)<br><font color="#888888">
<br>-Alejandra</font></div>
<p></p>
-- <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 />