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

Channel

Channel objects controls playback of sound.
fadeout - fade out the channel
get_busy - query state of the channel
get_volume - query the volume for the
pause - temporarily stop the channel
play - play a sound on this channel
set_volume - set volume for channel
stop - stop playing on the channel
unpause - restart a paused channel

fadeout
Channel.fadeout(millisec) -> None
 
get_busy
Channel.get_busy() -> bool
 
get_volume
Channel.get_volume() -> val
 
pause
Channel.pause() -> None

 
play
Channel.play(Sound, [loops, [maxtime]]) -> None
 
set_volume
Channel.set_volume(val) -> None
 
stop
Channel.stop() -> None
 
unpause
Channel.unpause() -> None