From 8419d120ceee5c9b82288903e22608228dec726b Mon Sep 17 00:00:00 2001 From: Jordi Mas Date: Thu, 16 Jan 2025 22:27:55 +0100 Subject: [PATCH] get_frame --- open_dubbing/pydub_audio_segment.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/open_dubbing/pydub_audio_segment.py b/open_dubbing/pydub_audio_segment.py index 027cc81..ab92cbd 100644 --- a/open_dubbing/pydub_audio_segment.py +++ b/open_dubbing/pydub_audio_segment.py @@ -1155,11 +1155,6 @@ def export( out_f.seek(0) return out_f - def get_frame(self, index): - frame_start = index * self.frame_width - frame_end = frame_start + self.frame_width - return self._data[frame_start:frame_end] - def frame_count(self, ms=None): """ returns the number of frames for the given number of milliseconds, or