mobilePlaySoundOnChannel
Posted: 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
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