Why it doesn't play (sound) as much as counted list?

Hi... I want to get notification and hear sound as much as counted list on textbox...
e.g : 1255546,4666445,55566 = 3 item or 3 times
I use this code... but I only 1x show notifier (55566) and 1x play sound...

please help...
Thanks

Time.....:slight_smile:

Use the Player component instead of the Sound component, then you can use the PlayerCompleted event to call the next sound, using your loop.

2 Likes

Use clock component

Result

3 Likes

Copy the list into a temporary queue.
Deplete the queue as each sound ends, after starting the next sound and notification.
The Progress Notifier is good for changing the notification on the fly.
No loop is needed, and no Clock.
Just use Player End event to start the next list item.

3 Likes

Try this: playSoundList.aia (5.3 KB)

4 Likes

Hi... thank you for the answer... Now I test the code... and it will be solutions...Thank You so much... :+1: :+1: :pray: :pray:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.