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 3f7e105 commit 2dc854c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amondin/segment_speakers.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def segment_speakers(
speaker_segments = []
for segment in segments:
print(segment.duration)
if segment.duration > 0.05:
if segment.duration > 0.1:
# 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 2dc854c

Please sign in to comment.