tyiannak/pyAudioAnalysis

how to get offsettime of speakers in speakerDiarization

zefaridator opened this issue · 0 comments

Hello
How is it possible to retrieve the offset of speakers change detection from the call to audioSegmentation.py with speaker_diarization ?

def speakerDiarizationWrapper(inputFile, numSpeakers, useLDA):
    if useLDA:
       aS.speaker_diarization(inputFile, numSpeakers, lda_dim=5, plot_res=True)
       
    else:
       aS.speaker_diarization(inputFile, numSpeakers, lda_dim=0, plot_res=True)

Thank you !