Audio Delivery to Multiple Platforms

paolo mazza mazzapaoloitaly at gmail.com
Fri Sep 11 06:15:46 EDT 2015


Hi Brahmanathaswami,
as far as I know in desktop computer you can not play mp3 files as audio clips.
Using the "play audio clip" command you have to use  WAV or AIFF  format .
Although according LC documentation this command work also in Linux
desktop computer, as far as I know it doesn't.
If you want to play mp3 files in desktop computers MAC and windows you
have to use the player.

Conversely in apps for mobile devices (android or iOS)  you can play
an mp3 audio file using command  "play soundFile" .

This command uses the built-in sound playback facilities on the device
and works both in Android and in iOS devices.

I will send to you a sample file.

All the best,

Paolo Mazza









On Fri, Sep 11, 2015 at 6:29 AM, Brahmanathaswami <brahma at hindu.org> wrote:
> I posted this to the forums, but no replies
>
> We want to deploy .mp3 file via standalones on all platforms.
>
> I can't imagine that no one isn't doing this already.
>
> Can you post a sample snippet?
>
> I presume we need to test for each platform and then use a different method.
> I don't really need a controller, just allow the users to stop and star the
> audio... that would suffice.
>
> in 7.1 RC1
>
> play audioClip "someAudio.mp3"  # fails ... nothing but noise
>
> setting "dontUseQT" to true and creating a player and assigning the file
> name works... so at least we are no longer dependent on QT... as I think the
> player is using the AVFoundation now...
>
> But what about Windows, Android mobile and iOS.
>
> If you have this done already, it would save me re-inventing the wheel.
> There are enough of our audience that will not have a smart phone, that I'll
> need to deploy this little app/audio module for desktop as well as for
> mobile.
>
>
> Swasti Astu, Be Well!
> Brahmanathaswami
>
> Kauai's Hindu Monastery
> www.HimalayanAcademy.com
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list