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

前端 未结 2 1972
耶瑟儿~
耶瑟儿~ 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:16

    I actually asked about adding this on the Web Speech mailing list, and was basically told "no". To be fair to people on that mailing list, I was unable to think of more than one or two specific use cases when prompted.

    So unless they've changed something in the past month or so, it sounds like this isn't a planned feature.

    0 讨论(0)
  • 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

    0 讨论(0)
提交回复
热议问题