This post originated from an RSS feed registered with Python Buzz
by Terra Caines.
Original Post: Adding sound
Feed Title: Terra's blog
Feed URL: http://terracaines.blogspot.com/feeds/posts/default?alt=rss
Feed Description: I am developing a open source 3d tactical game in python. This is showing the steps.
One of the really important overlooked parts in games is sound.
And in obeisance to that fact I have made my latest update about sound.
I added pygame.mixer to the project Notes: now pygame has to be installed If something crashes pygame will catch the crash and display it. That does not mean that pygame caused the crash. mp3 support seems to be shoddy. oggs can be used instead. audacity is a great sound editing tool I added midis for the music. MIDIs are awsome. I added espeak voices. Espeak is neat on its own. To get the timing right its real easy to just look at the size of various voice lengths I had to add a pause at the beginning of the event. It should probably be variable and based on whether or not everything is loaded (like have a singleton loaded variable and set appropriately)
One more thing. I believe that open al has positional audio, but I remember having issues with it.