insertAudioFrameEmbedded
Contents
[
Hide
]insertAudioFrameEmbedded(int index, float x, float y, float width, float height, InputStream audio_stream) method
Insert an AudioFrame with embedded audio file. Embedded audio file sound can be a WAV only.
Parameters
| Name | Type | Description |
|---|---|---|
| index | int | The zero-based index at which value should be inserted. |
| 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 | InputStream | Audio stream. |
Returns
insertAudioFrameEmbedded(int index, float x, float y, float width, float height, Audio audio) method
Insert an AudioFrame with embedded audio file. It uses audio file from Presentation.Audios list.
Parameters
| Name | Type | Description |
|---|---|---|
| index | int | The zero-based index at which value should be inserted. |
| 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 | Audio | Audio from Presentation.Audios list. |