Sound Duration

Previous topic - Next topic

François Vanzeveren

Hello all,

I am looking how to handle the duration of a sound.
The idea is to play a sound (a beep) when the player touch the screen (on a GP2X). As long as the player keeps touching the screen, I want the sound to be played without interruption. When the player releases the screen, then the sound stops.

It should sound like:

beep (short)
beeeep (longer)
beeeeeep (even longer)
beeee..........eeeeeeep (very long)

Thanks for your help!

François

Kitty Hello

see if the sound is still playing (ISSOUNDPLAYING?) and if not, but pressed, repeat it.