How to play sound in Python?

bearophile bearophileHUGS at lycos.com
Sat Oct 23 20:39:07 EDT 2004


Bill Dandreta:
>The winsound module lets you play .wav files under windows.

Thank you.
You can also create "on the fly" memory-mapped wav files (with wave
and mmap modules, I think), and play them.

How to use the flag SND_PURGE for WAVs loaded from filename or memory
mapped?

Bear hugs,
Bearophile



More information about the Python-list mailing list