Automate speech input recording in Chrome

前端 未结 2 518
天涯浪人
天涯浪人 2021-01-20 05:08

I\'m trying to automate the recording of speech in Google\'s speech input (only works in Chrome).

As it is, the user has to click the mic to start the recording but

2条回答
  •  臣服心动
    2021-01-20 06:06

    I had faced the similar problem, then I took a look at this site by Mike Pultz -

    http://mikepultz.com/2011/03/accessing-google-speech-api-chrome-11/

    Basically, what he does is he creates the audio file himself, uses Sox to convert it into a .flac format and then sends it to the Google Voice Api. So you do not need to click the mike or rather you can create your own mike call back.

    I also have created a C# solution at - https://github.com/seigneur/Voice-Biometrics And you can look at this video for further help - http://www.youtube.com/watch?v=PA00SPOTL-M

    Hope it helps

提交回复
热议问题