Android Recognize voice of 2 people differently
Asked Answered
M

1

6

I want to develop an android app.

One feature of the app is recognize 2 people's voice.

It will be kike this - when the app will open, 2 people will talk in front of it. App will detect 2 persons speaking and will calculate how much % (let 2 persons are A and B) person A spoke and same for person B.

So, say, after 1 minute the app will tell A talks 80% and B talks 20%.

So, what I need is how to differentiate 2 people's voice.

I have tried SpeechRecognizer and android.speech.tts . But I can't make it working.

Is it possible in android to differentiate 2 people's voice?

Thanks in advance for helping.

Malfunction answered 23/11, 2014 at 7:22 Comment(5)
I think there is a way. I also need it's solutionZeta
Can anyone help? Please?Malfunction
SpeechRecognizer is used to run automatic speech recognition (ASR), while TTS stands for "Test to Speech". You need to recognize speaker, not speech. So both are just to wrong way. On a non android environment you should look at LIUM_SpkDiarization or Alize. I have no idea how to emulate these to software in android.Lozada
have a look at this, so you can have a better understanding of what you want to do. https://mcmap.net/q/1914108/-speaker-recognition-closedLozada
did you make this app? If so link plz, I want to buy it :-)Ernieernst
Q
4

SpeechRecognizer or TTS will not help you as they have designed to recognize speech. You have to use DSP technology, in order to recognize the speaker. Due to the complexity, i don't think you can achieve this within the device itself. You can save your audio (using something like AudioRecord in Android) and then send it to a server. in the server side you can run a speaker recognition program. ALIZE is a quite popular open source tool for this.

Quartersaw answered 19/12, 2014 at 8:53 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.