Thanks all so much for your input, finally got time to get this sorted.
To close out, for anyone looking for similar…
I used
put specialFolderPath("engine") & "/<song file>" into tSound
mobilePlaySoundOnChannel tSound, "current", "looping"
wait for gMinsToPlay seconds with messages
Where ...
Search found 4 matches
- Fri Nov 02, 2012 8:49 pm
- Forum: iOS Deployment
- Topic: Simple Sound Loop
- Replies: 8
- Views: 8593
- Wed Oct 03, 2012 11:07 am
- Forum: iOS Deployment
- Topic: Simple Sound Loop
- Replies: 8
- Views: 8593
Re: Simple Sound Loop
Hi Jacque
Play Stop and play specialFolderPath("engine") & "/sound.caf"
Both stop the the sound when I remove the wait command, however when I remove the wait command the sound doesn't loop.
its almost as if I need a line similar to - wait until the sound = "done" or stop button is pressed ...
Play Stop and play specialFolderPath("engine") & "/sound.caf"
Both stop the the sound when I remove the wait command, however when I remove the wait command the sound doesn't loop.
its almost as if I need a line similar to - wait until the sound = "done" or stop button is pressed ...
- Tue Oct 02, 2012 5:44 pm
- Forum: iOS Deployment
- Topic: Simple Sound Loop
- Replies: 8
- Views: 8593
Re: Simple Sound Loop
Thanks for those pointers people. I think this is as much of a learning to different approach that LiveCode uses as much as anything, your pointers have got be onto a better track.
@monte - Yes touchStart and touchEnd are implemented, only to house a mobGUI line of code
example
on touchStart pId ...
@monte - Yes touchStart and touchEnd are implemented, only to house a mobGUI line of code
example
on touchStart pId ...
- Fri Sep 28, 2012 4:06 pm
- Forum: iOS Deployment
- Topic: Simple Sound Loop
- Replies: 8
- Views: 8593
Simple Sound Loop
Hi Guys
Very new to LiveCode and trying to get used to the language style of it; coming from a C background.
Have a simple app using MobGui plugin. essentially have four option buttons labeled as 5, 10, 15, 20. User selects option, then selects play and it should play a sound x number of times ...
Very new to LiveCode and trying to get used to the language style of it; coming from a C background.
Have a simple app using MobGui plugin. essentially have four option buttons labeled as 5, 10, 15, 20. User selects option, then selects play and it should play a sound x number of times ...