Sound and the Xcode simulator
livfoss at mac.com
Sun Apr 19 05:35:47 EDT 2020
Oops, read Jacque’s email first. I replied that I am using an audioclip - in an earlier conversation, it seemed that people were saying that if you want to embed a sound (rather than have it as a file) then it can’t be an mp3. In fact I’d started with an mp3 and had to grumpily change it to WAV to get it to sound using the “play audioclip” statement.
However, I just did a lot more research in the LC dictionary and elsewhere and I think what I want is accomplished using ‘beep’ and ‘the beepsound’. This apparently works uniquely for iOS. If I ever get to Android I will probably have to do something different, but first things first.
Woo hoo - just about to try it.
> On 19 Apr 2020, at 01:41, Mark Talluto via use-livecode <use-livecode at lists.runrev.com> wrote:
> On Apr 18, 2020, at 2:17 PM, Graham Samuel via use-livecode <use-livecode at lists.runrev.com> wrote:
>> This is a simple one.
>> I have a sound (and audioclip) that plays in the IDE (it’s a WAV), but when I try it in the iPhone simulator it doesn’t play. The simulated phone is not silent and has a decent amount of sound volume. I have tried both ‘System’ and ‘Internal Speakers’ as outputs from the simulator.
>> Is this my fault or the simulator’s?
> Hi Graham,
> iOS can not play WAV sounds. You will need to convert the sound file to another format like mp3.
> Best regards,
> Mark Talluto
> livecloud.io <http://livecloud.io/>
> nursenotes.net <http://nursenotes.net/>
> canelasoftware.com <http://www.canelasoftware.com/>
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode