Closed petkaantonov closed 8 years ago
Well if you mean reading the <audio>
stream, then sure, technically you can run the recognition yourself. I've found a library that is doing exactly this - pocketsphinx.js. Are there any other solutions you're thinking of? Let me know please and I'll put a note in the Speech Recognition page.
I am not sure of the specifics but I imagine having microphone API yet inability to actually access the input from microphone would be pretty unreasonable. I guess MediaStream can be used to access the input?
Yes. Added an appropriate note in Speech Recognition. Thanks!
I still wonder if it should be mentioned that doing it yourself directly has some advantages as you have far more control over the algorithm and limitations. For example webkitSpeechRecognition seems to have a maximum duration of 1 minute.
If you can access microphone you can do speech recognition.