-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to record using node.js example #409
Comments
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. |
🤖 I have created a release \*beep\* \*boop\* --- ## [2.3.0](https://www.github.com/googleapis/nodejs-kms/compare/v2.2.0...v2.3.0) (2021-01-08) ### Features * **samples:** add integrity verification to Cloud KMS crypto samples ([#409](https://www.github.com/googleapis/nodejs-kms/issues/409)) ([d2897f6](https://www.github.com/googleapis/nodejs-kms/commit/d2897f681ae409b34a50b91ea718fa9e294895c5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please).
🤖 I have created a release \*beep\* \*boop\* --- ## [2.3.0](https://www.github.com/googleapis/nodejs-kms/compare/v2.2.0...v2.3.0) (2021-01-08) ### Features * **samples:** add integrity verification to Cloud KMS crypto samples ([#409](https://www.github.com/googleapis/nodejs-kms/issues/409)) ([d2897f6](https://www.github.com/googleapis/nodejs-kms/commit/d2897f681ae409b34a50b91ea718fa9e294895c5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please).
🤖 I have created a release \*beep\* \*boop\* --- ## [5.4.0](https://www.github.com/googleapis/nodejs-security-center/compare/v5.3.5...v5.4.0) (2021-07-30) ### Features * add finding_class and indicator fields in Finding ([#409](https://www.github.com/googleapis/nodejs-security-center/issues/409)) ([d0abd01](https://www.github.com/googleapis/nodejs-security-center/commit/d0abd013b359b1876c16e7f4ee6b8c873acc5014)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
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!
The text was updated successfully, but these errors were encountered: