Package fife :: Package extensions :: Module soundmanager
[hide private]
[frames] | no frames]

Module soundmanager

source code

Sound Manager ==================================

This is a simple implementation of a sound manager that was originaly intended for the shooter demo. It was functional enough that we decided to include it in the FIFE extensions. This is by no means a fully featured implementation for several reasons. It doesnt limit how many sounds can play at once or allow the positioning of sounds. It does however provide a good starting point for a more advanced version of a sound manager.

Usage:

 soundmanager = SoundManager(my_fife_engine)

 emitter = soundmanager.createSoundEmitter("path/filename.ogg")
 emitter.gain = 128
 emitter.play()
Classes [hide private]
  SoundEmitter
Wraps the fife.SoundEmitter class.
  SoundManager
A simple sound manager class.