add_audio method

add_audio

Adds a copy of an audio file from an another presentation.

Returns

Added audio.

def add_audio(self, audio):
    ...
ParameterTypeDescription
audioIAudioSource audio.

add_audio

Creates and adds a audio to a presentation from stream.

Returns

Added audio.

def add_audio(self, stream):
    ...
ParameterTypeDescription
streamio.RawIOBaseStream to add audio from.

add_audio

Creates and adds a audio to a presentation from byte array.

Returns

Added audio.

def add_audio(self, audio_data):
    ...
ParameterTypeDescription
audio_databytesAudio bytes.

add_audio

Creates and adds a audio to a presentation from stream.

Returns

Added audio.

def add_audio(self, stream, loading_stream_behavior):
    ...
ParameterTypeDescription
streamio.RawIOBaseStream to add video audio from.
loading_stream_behaviorLoadingStreamBehaviorThe behavior which will be applied to the stream.

See Also