The Artima Developer Community
Sponsored Link

Python Buzz Forum
Adding sound

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Terra Caines

Posts: 65
Nickname: terraff
Registered: Feb, 2008

Terra's blog on creating a 3d tactics game in python
Adding sound Posted: Jan 4, 2009 12:41 PM
Reply to this message Reply

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.
Latest Python Buzz Posts
Latest Python Buzz Posts by Terra Caines
Latest Posts From Terra's blog

Advertisement
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.

Read: Adding sound

Topic: Rebuilding or modifying Previous Topic   Next Topic Topic: Perl 6, Python 3

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use