Page 1 of 1

mobilePlaySoundOnChannel

Posted: Sat Apr 28, 2012 12:27 am
by Natalie
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

Re: mobilePlaySoundOnChannel

Posted: Sat Apr 28, 2012 12:47 am
by Dixie
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.

Re: mobilePlaySoundOnChannel

Posted: Sat Apr 28, 2012 9:43 am
by Klaus
Hi friends,

will move this thread to the iOS forum.


Best

Klaus