Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to play a .wav file with Python?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
j-kidd
Apprentice
Apprentice


Joined: 20 Feb 2003
Posts: 213

PostPosted: Wed May 28, 2003 11:45 pm    Post subject: How to play a .wav file with Python? Reply with quote

I searched the web and could only find solutions using some big module like Snack and PyGame. Is there any better way to play .wav file with Python?
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Thu May 29, 2003 12:21 am    Post subject: Reply with quote

Yeah, Python has a built-in module named 'ossaudiodev' which
replaces 'linuxaudiodev' in 2.3

If you're not using Python 2.3 yet though, or don't like 'linuxaudiodev', which is supposed to be fairly horrible, there are quite a few sound modules you can try besides Snack:

http://py.vaults.ca/parnassus/apyllo.py/63131194
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum