: Playing audio clips

Scott Rossi scott at tactilemedia.com
Tue Oct 11 11:42:26 EDT 2005

Recently, Jim Hurley  wrote:

> I'm having trouble getting started. Apparently the sound file
> cannot  be an imported sound file but  a referenced file on disk.
> So, I find I can start the play  with:
>  Play "/Users/jameshurley/Desktop/myAudio.wav"
> Now, where does the player come in?

 set the fileName of player myPlayer to \

To pause:
 set the paused of player myPlayer to true

To check player status:
 get the paused of player myPlayer

> How do I get the player to
> control the play? How does the player pause, change volume or speed
> of this sound file?

See player properties such as:
 duration (media length)
 currentTime (current player position)
 playRate (speed)
 playLoudness (volume)


Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
E: scott at tactilemedia.com
W: http://www.tactilemedia.com

More information about the Use-livecode mailing list