E-Prime sound loop inline

Hank Jedema Jedema at pitt.edu
Wed Jan 26 13:11:19 UTC 2011


Hi Alejandra,

I had a similar problem with the sound not looping. I did contact E-
Prime about it (as well as this group) and E-Prime acknowledged that
they had a problem. As a result they include a change in the audio
looping protocol in a new release (2.08.90), which did fix the
problem. So get the newest revision from their website and see whether
that helps. Best,

Hank




On Jan 25, 6:13 pm, Alejandra Vargas <avar... at tigers.lsu.edu> wrote:
> 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:
>
>
>
> >Dim MyBuffer As SoundBuffer
> >Dim GenericSoundBufferInfo As SoundBufferInfo
> >GenericSoundBufferInfo.
> MaxLength = 30500
> >Set MyBuffer = Sound.CreateBuffer(GenericSoundBufferInfo)
> >MyBuffer.Filename = "Unknowncut3.wav"
> >MyBuffer.Load
>
> 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:
>
> >myBuffer.Play
>
> 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 :)
>
> -Alejandra

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.



More information about the Eprime mailing list