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

Contains music routines
fadeout - fadeout current music
get_busy - query state of the music
get_init - query the music module
get_volume - query music volume
init - initialize the music module
load - load current music
pause - pause the playing music
play - play the current loaded music
quit - uninitialize music module
rewind - restarts music
set_volume - set music volume
stop - stop the playing music
unpause - restarts the paused music

fadeout
pygame.music.fadeout(millisec) -> None
 
get_busy
pygame.music.get_busy() -> bool
 
get_init
pygame.music.get_init() -> bool
 
get_volume
pygame.music.get_volume() -> val
 
init
pygame.music.init([freq, [size, [stereo]]]) -> None
 
load
pygame.music.load(filename) -> None
 
pause
pygame.music.pause() -> None
 
play
pygame.music.play([loops]) -> None
 
quit
pygame.music.quit() -> None
 
rewind
pygame.music.rewind() -> None
 
set_volume
pygame.music.set_volume(val) -> None
 
stop
pygame.music.stop() -> None
 
unpause
pygame.music.unpause() -> None