add_audio_frame_embedded method
Contents
[
Hide
]add_audio_frame_embedded
Adds a new audio frame with embedded audio file to the end of a collection. Embedded audio file can be a WAV only. It adds new audio into Presentation.Audios list.
Returns
Created AudioFrame object.
def add_audio_frame_embedded(self, x, y, width, height, audio_stream):
...
Parameter | Type | Description |
---|---|---|
x | float | X coordinate of a new audio frame. |
y | float | Y coordinate of a new audio frame. |
width | float | Width of a new audio frame. |
height | float | Height of a new audio frame. |
audio_stream | io.RawIOBase | Inout stream with audio data. |
add_audio_frame_embedded
Adds a new audio frame with embedded audio file to the end of a collection. It uses audio file from Presentation.Audios list.
Returns
Created AudioFrame object.
def add_audio_frame_embedded(self, x, y, width, height, audio):
...
Parameter | Type | Description |
---|---|---|
x | float | X coordinate of a new audio frame. |
y | float | Y coordinate of a new audio frame. |
width | float | Width of a new audio frame. |
height | float | Height of a new audio frame. |
audio | IAudio | Audio from Presentation.Audios list. |
See Also
- class
IAudio
- class
IAudioFrame
- class
IShapeCollection
- module
aspose.slides
- library
Aspose.Slides