RAPID SEQUENCE of audioclips on a Mac

Scott Rossi scott at tactilemedia.com
Mon Jan 7 19:49:01 EST 2002


Recently, Scott Rossi wrote:

> Next, place this handler in your stack:
> 
> on runAudio
> if the sound is "done" then
> if the uCurrClip of me > the number of items of fld cliplist then
> set the uCurrClip of me to empty
> exit runAudio
> end if
> play audioClip (item (the uCurrClip of me) of fld cliplist)
> set the uCurrClip of me to the uCurrClip of me + 1
> end if
> send "runAudio" to me in 5 milliseconds
> end runAudio

I neglected to add this line at the beginning of the handler:

  if the uCurrClip of me is empty then exit runAudio

Anyway, things should work as expected.  Let us know if they don't.

Regards,

Scott

_____________________________________________________________________
Scott Rossi                       Tactile Media - Multimedia & Design
Creative Director                 Email: scott at tactilemedia.com
                                  Web: http://www.tactilemedia.com




More information about the use-livecode mailing list