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. | |
none |
Packs the sound into the current blend file. |
Play this sound. | |
Set this sound's attenuation. | |
Make this the active sound in the sound buttons window (also redraws). | |
None |
Set the filename of the sound file loaded into this Sound object. |
None |
Set the name of this Sound object. |
Set this sound's pitch. | |
Set this sound's volume. | |
none |
Unpacks the sound to the samples filename. |
Instance Variable Summary | |
---|---|
filename : The filename (path) to the sound file loaded into this Sound | |
name : The name of this Sound object. | |
packed : Boolean, True when the sample is packed (readonly). |
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 |
pack()Packs the sound into the current blend file.
|
play()Play this sound. |
setAttenuation(f)Set this sound's attenuation.
|
setCurrent()Make this the active sound in the sound buttons window (also redraws). |
setFilename()Set the filename of the sound file loaded into this Sound object.
|
setName()Set the name of this Sound object.
|
setPitch(f)Set this sound's pitch.
|
setVolume(f)Set this sound's volume.
|
unpack(mode)Unpacks the sound to the samples filename.
|
Instance Variable Details |
---|
filenameThe filename (path) to the sound file loaded into this Sound |
nameThe name of this Sound object. |
packedBoolean, True when the sample is packed (readonly). object. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Feb 11 13:30:20 2007 | http://epydoc.sf.net |