A. What I am trying to implement.
A web application allowing real-time speech recognition inside web browser (like this).
B. Technologies I am currently thinking of using to achieve A.
C. Very basic workflow
D. Questions
Would Node.js be suitable to achieve C?
Yes, though there are no hard requirements for that. Some people are running servers with gstreamer, for example check
http://kaljurand.github.io/dictate.js/
node should be fine too.
How could I pass received audio streams from my Node server to a speech recognition engine running separately from the server?
There are many ways for node-to-node communication. One of them is http://socket.io. There are also plain sockets. The particular framework depends on your requirements for fault-tolerance and scalability.
Could my speech recognition engine be running as another Node application (if I use Pocketsphinx)? So my Node server communicates to my Node speech recognition server.
Yes, sure. You can create a node module to warp pocketsphinx API.
UPDATE: check this, it should be similar to what you need:
http://github.com/cmusphinx/node-pocketsphinx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With