Why is play so much faster than using a player?

Peter T. Evensen pevensen at siboneylg.com
Thu Jul 5 13:36:16 EDT 2007


I have a game that plays a ticking sound as lights around the board of 
the screen light up in sequence, i.e., one lit light moves around the 
border of the screen. 

*play "click.mp3"* plays much quicker than setting up a Player and doing 
a *start player "Click"
*
Anyone know why?   It would seem to me that using a player would be 
faster (the sound file could be loaded in memory, etc).

You can see this in the message box by creating a player and typing 
'start player "Player"' and hitting return multiple times, vs. typing in 
'play "sound.mp3"' and hitting enter.

This is with Revoltuion 2.8.1 Build 471

Peter Evensen
www.PetersRoadtoHealth.com



More information about the Use-livecode mailing list