Options for playing mp3 on iOS

Alan Stenhouse alanstenhouse at hotmail.com
Thu Oct 29 05:05:42 EDT 2015

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.



Alan Stenhouse
alanstenhouse at 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_mc at 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

More information about the use-livecode mailing list