Hi,

I am authoring on a Mac but I remember from a couple of years ago that
PCs used to have a latency issue when playing sounds (i.e.. there was a
delay between the command and the sound when using puppetSound). 

I understand that using the queue() command eliminates this delay
because it preloads a part of the sound. However I was wondering if this
still holds when the play() command is used in the line directly after
the queue() command. 

e.g..

 sound(1).queue( member(soundCastMember) )
 sound(1).play()

I have quite a number of sound effects (I guess eventually a dozen or
two or three or four). So far their individual duration is between 0.3
sec and 1.5 sec. Which sound plays will depend on what the user has just
done, so I don't think queuing a whole lot of sounds, and therefore
pleloading them, would work because I never know what sound will be
needed next. (Also, partly because it is a web project, just preLoading
all the sounds with something like preLoadMember is probably not a good
idea because of loading delays at the beginning of the movie)

Unfortunately I don't have a PC to test this on and the Mac does not
seem to have this latency issue.

To sum up, my questions are:

1) Will using queue() followed by play() as in the example above solve
the latency issue or does there need to be some time between the two
commands to allow for the bit of preload. 

2) And is latency still an issue on PCs?

3) As a follow on: Does puppetSound need to load the whole sound before
it can play (whereas queue() just preLoads the first 1.5 sec by default?
- though most of my sounds are no longer than this anyway.)

Cheers,
John
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to