skunkwerk
skunkwerk

Reputation: 3070

Can the webkit-speech-recognition API be used with the audio output from a webpage?

Most examples I've seen use the browser's microphone as the input source for the speech recognition capabilities in HTML 5. Is there any way to specify the source, or change it to the audio output from the webpage? Perhaps using something like this library or a raw audio file?

Upvotes: 2

Views: 854

Answers (1)

Alexander Solovets
Alexander Solovets

Reputation: 2507

In general, you cannot do it as the API doesn't let the user to specify the speech source. A limited workaround could be redirecting the target machine's audio output to the microphone input.

Upvotes: 3

Related Questions