PyGame Logo
PyGame
Documentation
||  Home  ||  Help Contents  ||
 
|| CD || Channel || Font || Joystick || Rect ||
|| Sound || Surface || pygame || cdrom || display ||
|| event || font || image || joystick || key ||
|| mixer || mouse || music || surfarray || time ||

pygame.mixer

Contains sound mixer routines and objects.
fadeout - fadeout all channels
find_channel - {quick}
get_busy - query busy channels
get_channel - get channel object
get_init - query initialization for the mixer
get_num_channels - query the number of channels
init - initialize mixer module
load - load a new soundfile
pause - pause all channels
pre_init - presets the init default values
quit - unitializes the mixer
set_num_channels - sets the number of available channels
set_reserved - reserves first given channels
stop - stop all channels
unpause - restart any pause channels

fadeout
pygame.mixer.fadeout(millisec) -> None
 
find_channel
pygame.mixer.find_channel([force]) -> Channel
 
get_busy
pygame.mixer.get_busy() -> int
 
get_channel
pygame.mixer.get_channel(int) -> Channel
 
get_init
pygame.mixer.get_init() -> bool
 
get_num_channels
pygame.mixer.get_num_channels() -> int
 
init
pygame.mixer.init([freq, [size, [stereo]]]) -> None

 
load
pygame.mixer.load(file) -> Sound
 
pause
pygame.mixer.pause() -> None
 
pre_init
pygame.mixer.pre_init([freq, [size, [stereo]]]) -> None
 
quit
pygame.mixer.quit() -> None
 
set_num_channels
pygame.mixer.set_num_channels(int) -> None
 
set_reserved
pygame.mixer.set_reserved(int) -> None
 
stop
pygame.mixer.stop() -> None
 
unpause
pygame.mixer.unpause() -> None