Hi,
I am new to use Node Red. I am working on a project which uses a Node Red installed on local. I was able to code several flows successfully.
One part of the project is to create a Node red dashboard, launch Mic on it and then captures the voice on the Mic and then pass it on to the node red speech to text node to covert the voice into text.
To bring the Mic on the dashboard browser I tried to use ui-template with some code of java script on that. By this, I was able to launch the Mic(node-red-contrib-browser-utils) on the browser. But the challenge I am facing is, when I speak on the Mic, I am not able to capture the voice and pass it to the speech to text node.
I also tried to refer the forums and tried to use node-red-contrib-mic which crashes when used.
can you please provide your suggestions on how can we capture voice from red node dashboard and pass it to the speech to text node?
Here's a ui_template I made a while ago, havn't tested recently, so not sure if it still works. it uses Web Speech API which I think only works in Chrome and requires internet connection to do the speech to text bit. Let me know if it works for you:
Thanks a ton, @hugobox. Your code does work and did help us achieve what we wanted to (of course, had to tweak your code as necessary and that is ok and expected - we just wanted some sort of guidance and we got that).
By the way, I am @dipak.talele 's colleague and we are working together on the project regarding which we sought guidance in the forum.