Skip to content

Commit

Permalink
adding min and max speaker support
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-roethig-db committed May 25, 2024
1 parent 9e2c908 commit 02f6dcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions amondin/segment_speakers.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def segment_speakers(
# store all passages in a list of dicts
speaker_segments = []
for segment in segments:
print(segment.duration())
# get audio passages as numpy array
waveform, sample_rate = Audio().crop(audio, segment, mode="pad")
waveform = torch.squeeze(waveform)
Expand Down

0 comments on commit 02f6dcc

Please sign in to comment.