Repository navigation
Unable to record using node.js example #409
Description
Activity
Did you ever figure out the problem? I am having the same issue.
In which environment you are trying to execute this. ??.. You need to have sox installed if its a windows machine.
I have been trying to execute the code in c9.io. It's an online Ubuntu environment. I also tried installing sox, but the result was the same.
Never got it solved. I tried on Ubuntu and windows. I had sox installed as well but it still didn't fix the problem
I have the same problem with Windows , it did worked for me on raspberry pi, The actual issue is with the port in which Mic is connected and mine was connected to 0, So I have added an device option on record variable . "device : 'plughw:0'".
Is this device option for windows? I have been trying the recognize.js listen command but it is not recording or streaming to text. anyone able to run the listen method on Windows?
If the issue still persists, please file it here. Thank you.
- added🚨This issue needs some love.This issue needs some love.triage meI really want to be triaged.I really want to be triaged.
on Apr 6, 2020 - added 4 commits that reference this issue
on Nov 10, 2022
Hello
I am trying to use the google cloud speech API. I already created a cloud project and got authenticated.
I also have created a service account key and got the json file that comes with it as well.
I am trying to get this example to work: Performing Streaming Speech Recognition on an Audio Stream
Link: https://cloud.google.com/speech/docs/streaming-recognize
Here is the code I am running on the command line with node
whenever I try to run this program from command line using node, it just displays
"Listening, press Ctrl+C to stop." and then ends immediately, not allowing me to record and output my speech.
Does anyone know how to solve this issue?
Or am I doing something wrong?
Help would be greatly appreciated!!
Thanks!