addAudioFrameEmbedded

addAudioFrameEmbedded(float x, float y, float width, float height, InputStream audio_stream) method

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.

Parameters

NameTypeDescription
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_streamInputStreamInout stream with audio data.

Returns

AudioFrame


addAudioFrameEmbedded(float x, float y, float width, float height, Audio audio) method

Adds a new audio frame with embedded audio file to the end of a collection. It uses audio file from Presentation.Audios list.

Parameters

NameTypeDescription
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