Can Web Speech API used in conjunction with Web Audio API?

前端 未结 2 1983
耶瑟儿~
耶瑟儿~ 2020-12-18 20:39

Is it possible to use the synthesised speech from Web Speech API as a SourceNode inside Web Audio API\'s audio context?

2条回答
  •  半阙折子戏
    2020-12-18 21:36

    You can use Google's Web Speech API, you record the sound on your local machine and it is send to an external server, you can control some variants like when to stop or start the recognition and some other things. For more information here's a link:

    http://updates.html5rocks.com/2013/01/Voice-Driven-Web-Apps-Introduction-to-the-Web-Speech-API

提交回复
热议问题