tyiannak / pyAudioAnalysis

Python Audio Analysis Library: Feature Extraction, Classification, Segmentation and Applications
Apache License 2.0
5.83k stars 1.19k forks source link

Diarization single speaker #329

Open aslam021 opened 3 years ago

aslam021 commented 3 years ago

I went through some files (audioAnalysis.py, audioSegmentation.py) and as far i understand diarization feature is implemented only for more than 1 speaker (basically this is implemented assuming # of speakers in an audio as between 2 and 9 when # of speakers are unknown). In my case, I have audio files that may contain only a single speaker. To modify the code and get it work, I could not understand the implementation very well. Can someone help me regarding this?

KarnikaSaxena011 commented 3 years ago

module 'pyAudioAnalysis.audioSegmentation' has no attribute 'speakerDiarization'. How to resolve this issue?