Best audio format for most cross platform compatibility?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
HypoCard
Posts: 2
Joined: Thu Mar 12, 2020 8:30 am

Best audio format for most cross platform compatibility?

Post by HypoCard » Thu Mar 12, 2020 8:49 am

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!

HypoCard
Posts: 2
Joined: Thu Mar 12, 2020 8:30 am

Re: Best audio format for most cross platform compatibility?

Post by HypoCard » Fri Mar 13, 2020 3:49 am

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

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10049
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Best audio format for most cross platform compatibility?

Post by FourthWorld » Fri Mar 13, 2020 5:37 am

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.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply