insertAudioFrameEmbedded

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

NameTypeDescription
indexintThe zero-based index at which value should be inserted.
xfloatX coordinate of a new audio frame.
yfloatY coordinate of a new audio frame.
widthfloatWidth of a new audio frame.
heightfloatHeight of a new audio frame.
audio_streamInputStreamAudio stream.

Returns

AudioFrame


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

NameTypeDescription
indexintThe zero-based index at which value should be inserted.
xfloatX coordinate of a new audio frame.
yfloatY coordinate of a new audio frame.
widthfloatWidth of a new audio frame.
heightfloatHeight of a new audio frame.
audioAudioAudio from Presentation.Audios list.

Returns

AudioFrame