Paul,

Whatever is happening is deep within the sound mixer.  The sound
information gets written to a buffer that gets sent via a background
process to the sound card, but the particular code you are using must
leave some of it in this buffer.  Are you issuing a Stop() command maybe,
or waiting only a fixed period of time before continuing that is shorter
than the length of the audio?  Does it happen if you use PlayForeground? 
If that doesn't work, you might try re-loading the sound file on each
instance--the overhead is pretty low.  If you can't figure it out, send me
a code snippet and I'll see if I can figure something out.

Shane


> Hi
> I have a task that has a "correct" sound and an "incorrect" sound. I find
> there some carry-over between trials. It's noticeable when the subject
> gets one incorrect then gets the next one correct. There's a tiny bit of
> incorrect sound at the beginning of the correct sound. Is there a way of
> clearing the buffer between trials? I'm using PlayBackground.
> Thanks
>
>
> Paul Wright, PhD
> King's College London
> Institute of Psychiatry, Psychology & Neuroscience (IoPPN)
> Department of Basic and Clinical Neurosciences
> http://kclpure.kcl.ac.uk/portal/p.wright.html
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Pebl-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pebl-list
>



------------------------------------------------------------------------------
_______________________________________________
Pebl-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pebl-list

Reply via email to