How to play (and mix) sounds from the iphone library

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
fnajmanBUSNPJd
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10
Joined: Mon Jan 14, 2013 11:11 am

How to play (and mix) sounds from the iphone library

Post by fnajmanBUSNPJd » Fri May 10, 2013 7:31 pm

Dear Team

I would like to know if there is any way (and how) to play a sound file from the iPhone (itouch) music library ?
And if it's possible to mix in real time with another music file from library or from stack ?

thanks a lot for your advice.
fred (from france)

strongbow
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 135
Joined: Mon Jul 31, 2006 1:39 am
Location: New Zealand, Australia, Germany, Japan
Contact:

Re: How to play (and mix) sounds from the iphone library

Post by strongbow » Thu Dec 11, 2014 4:20 pm

You can do it using mobilePickMedia which will return a URI pointing to the selected media.

Then just simply "play" the URI.

Doesn't appear to work properly with the mobilePlaySoundOnChannel command yet.

HTH.

cheers

Alan

Post Reply

Return to “iOS Deployment”