Playing Sound Clips

Gene Kennedy cyberscope at home.com
Tue Jan 29 12:12:01 EST 2002


Can someone please enlighten me regarding the playing of sound files in RR.  I have a
number of voice recordings that I would like to piece together in my script and then play
the selected clips in rapid succession.  How can I tell when a sound clip is through
playing so that I can start playing the next clip right away?

I can save the sound files in most popular formats and can use the play command
individually. However, if I place a number of play commands in succession, they all start
to play with a slight delay between each and wind up "stepping" all over each other.

For example:

On Signal
    Play "Clip a"
    Play "Clip b"
    Play "Clip c"
end Signal

This causes the unwanted effect of having each play command open its own sound channel and
all playing out simultaneously.

What I looked for but could not find was a command something like"

Play "Clip x" until EOF
Play "Clip y" until EOF

Where clip y would not start to play until clip x was finished.  This is the effect I am
after but can't find the solution.
Any help will be appreciated.

Gene Kennedy





More information about the use-livecode mailing list