addAudio(self,
filename,
timeBegin=0,
timeEnd=0)
| source code
|
Adds an audio clip to this slide.
- Parameters:
filename (str) - The name of the audio file to add. Currently the only
supported format is AMR.
timeBegin (int) - The time (in milliseconds) during the duration of this slide
to begin playback of the audio clip. If this is 0 or less, the
audio clip will be played the moment the slide is opened.
timeEnd (int) - The time (in milliseconds) during the duration of this slide
at which to stop playing (i.e. mute) the audio clip. If this is 0
or less, or if it is greater than the actual duration of this
slide, the entire audio clip will be played, or until the next
slide is accessed.
- Raises:
TypeError - An inappropriate variable type was passed in of the
parameters
|