Home | Trees | Index | Help |
|
---|
Module Sound :: Class Sound |
|
Method Summary | |
---|---|
Get this sound's attenuation value. | |
string |
Get the filename of the sound file loaded into this Sound object. |
string |
Get the name of this Sound object. |
Get this sound's pitch value. | |
Get this sound's volume. | |
Play this sound. | |
Set this sound's attenuation. | |
Make this the active sound in the sound buttons window (also redraws). | |
Set this sound's pitch. | |
Set this sound's volume. |
Class Variable Summary | |
---|---|
filename : The filename (path) to the sound file loaded into this Sound
object. | |
name : The name of this Sound object. |
Method Details |
---|
getAttenuation()Get this sound's attenuation value. rtype: float |
getFilename()Get the filename of the sound file loaded into this Sound object.
|
getName()Get the name of this Sound object.
|
getPitch()Get this sound's pitch value. rtype: float |
getVolume()Get this sound's volume. rtype: float |
play()Play this sound. |
setAttenuation(f)Set this sound's attenuation.
|
setCurrent()Make this the active sound in the sound buttons window (also redraws). |
setPitch(f)Set this sound's pitch.
|
setVolume(f)Set this sound's volume.
|
Class Variable Details |
---|
filenameThe filename (path) to the sound file loaded into this Sound object. |
nameThe name of this Sound object. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Jan 4 13:43:06 2005 | http://epydoc.sf.net |