[Tutor] winsound
Richard Chamberlain
richard_chamberlain@ntlworld.com
Sun, 1 Oct 2000 17:03:56 +0100
Hi,
I'm not really having an issue with winsound, perhaps because I'm on 1.5.2
and win98 (you're two steps ahead already :-).
import winsound
winsound.PlaySound("c:/windows/media/chord.wav",winsound.SND_ASYNC|winsound.
SND_LOOP)
winsound.PlaySound("c:/windows/media/chord.wav",winsound.SND_PURGE)
Hope that helps
Richard
----- Original Message -----
From: <FxItAL@aol.com>
To: <tutor@python.org>
Sent: Saturday, September 30, 2000 9:12 PM
Subject: [Tutor] winsound
> Hello,
>
> I'm having difficulty getting the SND_LOOP flag to work. The sound will
play
> if I use SND_ASYNC, but only once. I'd like to loop the sound and then be
> able to stop it with SND_PURGE. Any help is greatly appreciated.
>
> Python 1.6 on Windows ME
>
> Thanks Al
>
> _______________________________________________
> Tutor maillist - Tutor@python.org
> http://www.python.org/mailman/listinfo/tutor