09-16-2003 22:23
When you set sound queueing to TRUE, and call llPlaySound() a few seconds before the current sound being played finishes, the end result should be a smooth transition from the current sound to the next. (Assuming SL has already cached the next sound, which I have seen to.)

What ACTUALLY happens is that you get a small gap between the sounds, maybe a tenth of a second. It's different every time. Sometimes it is really noticeable, others it's just a mild stutter. Occasionally I get lucky and the transition occurs during a pause.

What I'd like to see is the end of the current sound and the beginning of the next sound "welded together" for a smooth transition.

The sounds are encoded at 64kb/s and are preloaded 9-10 seconds in advance, and the problem persists even if I've already played it all the way through once, so I am reasonably certain this is not an issue of the sound not hitting the client in time.

I've also tried using llTriggerSound() but that does not appear to work in conjunction with llSetSoundQueueing() - it just triggers the sound right away rather than waiting, and since we cannot be assured that our timer() events will be called at precise intervals, it has the same stuttering problem.