Jump to content

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

playing sounds in python 3

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 JonathanCCC   Members   

163
Like
0Likes
Like

Posted 19 March 2014 - 12:00 PM

hello,

 

i'm having a lot of trouble just playing a simple wav or mp3 file in python 3.3, I googled recommended libraries to use, i've tried pygame and pymedia but they seem to be for python2 only, pycharm (my ide) doesn't even recognise them as installed. The only one it recognises is pyglet, but that gives me an import error: failed to load GLU

 

i'm running Arch linux.

 

Can anyone here recommend a simple way to play sounds files in python 3+ that works on WIndows and Linux?

 

thanks



#2 ScoreX   Members   

344
Like
0Likes
Like

Posted 19 March 2014 - 04:56 PM

http://pygame.info/downloads/ lists downloads for 3.2 and 3.3

 

Are you sure you've setup the right interpreter in pycharm? It's easy to forget if you've got multiple virtualenvs on the go.



#3 ColinDuquesnoy   Members   

1162
Like
1Likes
Like

Posted 20 March 2014 - 08:27 AM

> Can anyone here recommend a simple way to play sounds files in python 3+ that works on WIndows and Linux?

 

You could also try PySFML (http://python-sfml.org/)






Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.