mirror of
https://github.com/pyannote/pyannote-audio.git
synced 2026-11-30 09:13:56 +09:00
1 parent
b4a3b0af29
commit
89b847a9d0
1 file changed
+1
-1
@@ -108,7 +108,7 @@ scd_scores = scd(test_file)
|
||||
from pyannote.audio.signal import Peak
|
||||
peak = Peak(alpha=0.08, min_duration=0.40, log_scale=True)
|
||||
partition = peak.apply(scd_scores, dimension=1)
|
||||
for segment, _ in partition.itertracks():
|
||||
for segment in partition:
|
||||
print(segment.start, segment.end)
|
||||
```
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user