Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3780

SOUND - when has it stopped?

$
0
0

If I clone a sound and play it, that works ‘in the nackground’
If I set it to loop, it continues to repeat.
While it is playing, I can check .isplaying , and Stop the sound if I wish.

I would like to have a button launch a sound, and be a different color while the sound plays.
I can change the color when it starts, but I cannot find any way to ‘know’ if a sound has stopped, in order to change the color back, in the way (perhaps) that I could if playing the sound was synchronous.

Any idea how to indicate that Button A is playing sound B and then when the sound has stopped?

8 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 3780

Trending Articles