Test stack for audio formats on Mac and Android
Posted: Sun Feb 24, 2019 8:21 am
Hi Folks
I have had trouble with playing audio for a livecode stack that I want to run on Mac and Android so I built the attached stack to test out wav, aiff and mp3 audio formats. The stack deploys to Mac or Android .
The stack has two types of test.
(1) The upper area tests use audio played through the player control (desktop player control and the mobile player control)
(2) The lower are tests audio clips played via the 'play audioclip filename' command
Running on my Mac OSX 10.11.5 and Android Jelly Bean I found that the most reliable format for both platforms was WAV audio files.
AIFF format worked on Mac but not Android (not surprising).
MP3 format worked for player control on desktop and mobile but played some screechy noise via the play audioclip command on desktop
You might find this stack useful for testing.
Cheers
Allan
I have had trouble with playing audio for a livecode stack that I want to run on Mac and Android so I built the attached stack to test out wav, aiff and mp3 audio formats. The stack deploys to Mac or Android .
The stack has two types of test.
(1) The upper area tests use audio played through the player control (desktop player control and the mobile player control)
(2) The lower are tests audio clips played via the 'play audioclip filename' command
Running on my Mac OSX 10.11.5 and Android Jelly Bean I found that the most reliable format for both platforms was WAV audio files.
AIFF format worked on Mac but not Android (not surprising).
MP3 format worked for player control on desktop and mobile but played some screechy noise via the play audioclip command on desktop
You might find this stack useful for testing.
Cheers
Allan