mobilePlaySoundOnChannel

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Natalie
Posts: 7
Joined: Sat Apr 28, 2012 12:07 am

mobilePlaySoundOnChannel

Post by Natalie » Sat Apr 28, 2012 12:27 am

Hello,
I am following the lesson called "Using multi-channel audio on mobile". I ran into 2 problems.

1) Using (specialFolderPath("engine") & "/soundName.wav" is indeed required, to work on my iPad. But I when I run it from LiveCode, it doesn't work. So I created what I thought I needed, "blind", without testing, then created a Standalone Application for my iPad. It's a simple program, so it worked. But it seems strange that I can't test, before I deploy to the device.

2) I tried using mobilePlaySoundOnChannel, just like it says in the lesson. I even cut and pasted it into my code to make sure I didn't spell it incorrectly. But LiveCode didn't recognize that word. Is there something else that I need to do, in order for it to be recognized?

In the meantime, I just used play audioClip. But I do need to use multiple channels, so I need to get this working.

Thanks,
Natalie

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: mobilePlaySoundOnChannel

Post by Dixie » Sat Apr 28, 2012 12:47 am

Commands for mobile will not work in the IDE... they will however work in the simulator. You can test your scripts using the simulator before you put your app onto your mobile device.

Klaus
Posts: 14196
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: mobilePlaySoundOnChannel

Post by Klaus » Sat Apr 28, 2012 9:43 am

Hi friends,

will move this thread to the iOS forum.


Best

Klaus

Post Reply