Python Speaker Recognition

PJC picture PJC · Sep 5, 2011 · Viewed 23.7k times · Source

I have an audio file, a recorded telephone conversation of 2 people, that I need to separate the voices of 2 speakers automatically. I am new to speech recognition and I looked at wave module of python but failed to find any fruitful information.

Please help how to start. Also please suggest me free python libraries which will help me in solving the problem.

Answer

Nikolay Shmyrev picture Nikolay Shmyrev · Jun 14, 2013

The task of separation of the speakers is not a speech recognition task, it's a speaker recognition task. In the speech comminity this task is also known as speaker diarization. There are several packages for speaker diarization and speaker recognition available for Python:

SIDEKIT from LIUM

Bob toolkit from Idiap

Speaker diarization from ISCI

In case you are not restricted to Python, there are others:

LIUM speaker diarization

Speaker recognition setup in Kaldi. Includes state of the art DNN-based i-vectors called x-vectors.