Playing audio files consecutively

Marc Siskin msiskin at andrew.cmu.edu
Mon Apr 16 11:12:03 EDT 2007


Andrew,

Have you tried the "wait until the sound is done with messages"  
command after starting the student sound?  That will delay the start  
of the play master clip command until the student sound is finished.

Marc

---------------
Marc Siskin
Manager, Modern Language Resource Center
Carnegie Mellon University
msiskin at andrew.cmu.edu


On Apr 15, 2007, at 3:23 PM, Andrew Lian -nswc wrote:

> Dear All
>
> I am sure that this problem has been solved many times but I am  
> just playing with runrev right now and am experiencing some  
> difficulty.
>
> Here is the situation:
>
> In a BUTTON I have put the following script
>
> on mouseUp
>   play audioclip "student"
>   play audioclip "master"
> end mouseUp
>
> The idea is to play the first clip followed by the second.
>
> The system omits playing the first file and cascades down to  
> playing "master".
>
> I have experimented by placing, in the button, a handler like
>
> on playStopped
>    play audioclip "master"
> end playStopped
>
> The idea is to play "student" first and wait until it is played.  
> However - this does not work either.
>
> It seems that the playStopped message is never sent or, if it is,  
> it is never read.
>
> I would really appreciate some help on this as I am trying to  
> evaluate runrev and cannot spend a lot of time experimenting.
>
> Thanks all very much
>
> Andrew
>
>
> -- 
> Dr Andrew Lian
> Professor and Chair
> Dept. of Foreign Languages and Literatures
> Western Illinois University
> Macomb, IL, 61455, USA
> e-mail: AP-Lian at wiu.edu; website: http://www.andrewlian.com
> Phone: +1 (309) 298-1558; Fax: +1 (309) 298-1060
>
> We don't see things as they are, we see things as we are. (Anaïs Nin)
> The universe is made up of stories, not atoms (Muriel Rukeyser)
>
>
>
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>







More information about the use-livecode mailing list