Skip to content

Commit

Permalink
get_frame
Browse files Browse the repository at this point in the history
  • Loading branch information
jordimas committed Jan 16, 2025
1 parent 81172c9 commit 8419d12
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions open_dubbing/pydub_audio_segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8419d12

Please sign in to comment.