Is it possible to use the synthesised speech from Web Speech API as a SourceNode inside Web Audio API's audio context?
Asked
Active
Viewed 3,336 times
19
zya
- 760
- 9
- 25
-
It should have definitely been able to do this, but unfortunately it has not been made to do so, and still it is not. – sçuçu Mar 29 '21 at 00:23
2 Answers
11
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.
Kevin Ennis
- 13,793
- 2
- 42
- 43
-
I actually wanted to use Google Chrome's V8 engine to generate Audio Files on the server. I know there are other server-side tools, to do the same, but none of them look as good as Google Chrome's TTS. – Manu Oct 04 '16 at 14:23
-
3Is this still the case? I can think of quite a few examples of where it would be useful, mostly for adding effects to the speech, panning etc. – Tarwin Stroh-Spijer Jan 06 '17 at 23:26
-
1@TarwinStroh-Spijer, I had not though of that use case, but it is a great one. As for me, I wanted to do the same as Manu, simply record the output of Speech API to audio files without reverting to installing a virtual audio device application. – Jeach May 23 '20 at 15:04
-3
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
user2340163
- 13
- 2