PDA

View Full Version : Can I terminate a sound in the half?


hhwolf
03-23-2008, 11:11 AM
I found when I play a sound, I have to play it from the start to the end, or
I can configure the length of the sound in the code. But can I just terminate a sound when palying? For example, tape ENTER key to stop the sound?
Thanks!

DickBaldwin
03-23-2008, 05:11 PM
I found when I play a sound, I have to play it from the start to the end, or
I can configure the length of the sound in the code. But can I just terminate a sound when palying? For example, tape ENTER key to stop the sound?
Thanks!

Go to Google and search for the following:

sound site:www.alice.org

You should find several postings there that deal with the need to stop a sound once it is playing.

Dick Baldwin
Free Alice tutorials: http://www.dickbaldwin.com/tocalice.htm
Free programming tutorials: http://www.dickbaldwin.com/toc.htm