GLBasic forum

Main forum => GLBasic - en => Topic started by: François Vanzeveren on 2008-Sep-07

Title: Sound Duration
Post by: François Vanzeveren on 2008-Sep-07
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
Title: Re: Sound Duration
Post by: Kitty Hello on 2008-Sep-07
see if the sound is still playing (ISSOUNDPLAYING?) and if not, but pressed, repeat it.