moviepy.audio.fx.all.audio_fadein

moviepy.audio.fx.all.audio_fadein(clip, duration)[source]

Return an audio (or video) clip that is first mute, then the sound arrives progressively over duration seconds.

Parameters:
durationfloat

How long does it take for the sound to return to its normal level.

Examples

>>> clip = VideoFileClip("media/chaplin.mp4")
>>> clip.fx(audio_fadein, "00:00:06")