Page 1 of 1

Best audio format for most cross platform compatibility?

Posted: Thu Mar 12, 2020 8:49 am
by HypoCard
Hello world!

I am a long ago Hypercard one point zero dabbler now conjuring up a soundboard in LC. The idea is to make the soundboard as cross platform as possible while it will likely be utilized more on mobile. The sounds will be from mp4 extractions of old online vids (I have permission from the creator). If my "original" file is mp4 is there a way to use such a file directly in LC or will I need to convert it to some other format? Will this affect the future compatibility on mobile platforms?

Bonus question: is there a useful soundboard stack that I can use as inspiration?

The idea is rather exciting. I have kicked around such an idea in my head for some time now, but never really thought how it could be done. LC to the rescue!

Cheers!

Re: Best audio format for most cross platform compatibility?

Posted: Fri Mar 13, 2020 3:49 am
by HypoCard
To answer my own question, looks like mp3 (or mp4) is the way to go if the platform supports mp3 natively. Linux may be a no go, but the use case is more in line with mobile:

https://forums(dot)livecode(dot)com/viewtopic(dot)php?f=8&t=33246&p=184556&hilit=audio+format#p184556

Quote:

Hint:
Get used to use -> specialfolderpath("resources") instead of specialfolderpath("engine")
This happens to be the same folder on the mobile platform, but "resources" does also work on the desktop and in the IDE!
In the IDE it points to the folder where the current stack is in

Re: Best audio format for most cross platform compatibility?

Posted: Fri Mar 13, 2020 5:37 am
by FourthWorld
Linux has a couple challenges with LC, but when you're at that point let us know and we can probably find a good solution for you.