play sound command?

William Prothero prothero at earthednet.org
Wed Sep 14 23:45:58 EDT 2016


Folks:
Just wondering about playing sound with 8.1. I assume that using the video player control is the way to do it. But, I tried the Play “audioclip” fName command with an mp3 audio and it just gave me noise. The video player control works fine. But, I just want to ask, or point out, whether this is a bug in the play command, or whether it is just something left over in the documentation. The dictionary give an example of aiff file, but doesn’t mention restrictions on what format can be played. 

Also, the command to stop playing is confusing. The dictionary says the syntax is:
stop [playing] {player | videoclip | audioClip}

This doesn’t work and you need to use:
play "audioClip" stop

Just wondering and in the interests of accurate documentation, mentioning this.

The online lesson at:
http://lessons.livecode.com/m/4071/l/25230-play-sounds#!prettyPhoto <http://lessons.livecode.com/m/4071/l/25230-play-sounds#!prettyPhoto>
is ok, though.

I’m wondering, with the player object, whether this feature is even needed.

Best
Bill

William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
prothero at earthednet.org






More information about the use-livecode mailing list