Table of Contents

Module: sounds urdpyg/sounds.py

file: sounds.py purpose: to load all the sounds, and manage the playing of them.

Probably have different sets of sounds in here somehow.

NOTE: not using pygames channel queueing as it only allows one sound to be queued. Also the sound can only be queued on a certain channel.

Imported modules   
import glob
import os
import pygame
from pygame.locals import *
import time
Functions   
get_sound_list
  get_sound_list 
get_sound_list ( path=SOUND_PATH )

gets a list of sound names without thier path, or extension.

Classes   

SoundManager

Controls loading, mixing, and playing the sounds.


Table of Contents

This document was automatically generated on Sat Jul 30 12:45:44 2005 by HappyDoc version 2.1