Detect human voice from audio file input

前端 未结 9 1833
清歌不尽
清歌不尽 2021-01-30 11:25

I am trying to implement automatic voice recording functionality, similar to the Talking Tom app. I use the following code to read input from the audio recorder and analyse the

9条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-30 11:42

    Have you considered using Microsoft's speech Recognition API? You can use a voice key utterance to begin recording, like how they say "computer" before asking the computer something in Star Trek. Use ISpRecognizer::CreateRecoContext to load your recognition grammar and start recognition. Then implement a check with ISpPhrase to see if you should begin recording or not.

提交回复
热议问题