For mobile apps I use the all the mobile... commands.  The player object isn’t 
supported. audioClip I’m not sure about.

Very easy to control the sounds on mobile - play, stop, pause, resume, adjust 
volume etc etc. You can have multiple channels for multiple sounds too.

HTH

cheers

Alan
--
Alan Stenhouse
alanstenho...@hotmail.com

Check out our apps on the App Store:

BeatSpeak - the multilingual talking metronome
EV-Point - Find your nearest Electric Vehicle Recharge Station.
Re-Collections - Make your family history come to life. Every picture tells 
your story.

On 29 Oct 2015, at 12:48 am, Ben Rubinstein <benr...@cogapp.com> wrote:

> I have a small number of mp3 clips that I want to embed in my app and play on 
> demand.
> 
> I think that I have three choices, but I may be wrong:
>       - audioClip
>       - mobilePlaySoundOnChannel
>       - a player object
> 
> Are any of these an out-of-the-box bad idea?  Is one of them a clear leader? 
> Or what are the pros and cons?
> 
> I'm interested in the pros and cons in general; but in this specific case it 
> may be relevant to note:
>       - I don't need to give the user a controller (but don't object to it)
>       - I do need to be able to programmatically stop the sound
>       - I would like to be able to programatically adjust the volume
> 
> Thanks in advance for all wisdom shared!
> 
> Ben





_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to