AudioFileClip¶
classvidiopy.AudioFileClip
-
Bases:
vidiopy.SilenceClipAudioFileClip is a class that represents an audio file. It extends the SilenceClip class.
- Parameters:
-
path: str | pathlib.Path: The path to the audio file.duration (int | float | None, optional): The duration of the audio file. If not provided, it will be calculated from the audio file.
- Raises:
-
ValueError: If the audio file is empty and duration is not provided.