-
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
Speech sample with 'listen' command stops node after results returned #291
Comments
I am seeing the same issue.
That is what it used to do. I suspect this may be related to upgrading the version of Can you try downgrading |
Thanks, I'll give that a try and let you know |
Looks like there's a silence threshold setting, I'll try tweaking that in the sample. |
Hi @jmdobry For me, it's throwing an error saying: |
Hmm, I just tried the sample again, and I was unable to reproduce any issue. It worked fine for me. I'm on Node.js 6.9.1 and Mac OS X. It continued to listen, even after pauses. Note that I tried this in a rather quiet environment. |
Hi @jmdobry i try the speech sync, and the other command and work fine, Listening, press Ctrl+C to stop. Error: spawn rec ENOENT my node version are 6.10.0 |
@victorfliks +1 same error |
same problem here. I sense there's a time limitation after checking an old post https://groups.google.com/a/chromium.org/forum/#!topic/chromium-html5/s2XhT-Y5qAc |
Did you solve this problem??? |
If the issue still persists, please file it here. Thank you. |
🤖 I have created a release \*beep\* \*boop\* --- ### [2.2.4](https://www.github.com/googleapis/nodejs-datalabeling/compare/v2.2.3...v2.2.4) (2021-06-30) ### Bug Fixes * **deps:** google-gax v2.17.0 with mTLS ([#291](https://www.github.com/googleapis/nodejs-datalabeling/issues/291)) ([ba455a8](https://www.github.com/googleapis/nodejs-datalabeling/commit/ba455a8d574f9bb87c9f7531ba56e199ad0dc8be)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release \*beep\* \*boop\* --- ### [2.2.4](https://www.github.com/googleapis/nodejs-datalabeling/compare/v2.2.3...v2.2.4) (2021-06-30) ### Bug Fixes * **deps:** google-gax v2.17.0 with mTLS ([#291](https://www.github.com/googleapis/nodejs-datalabeling/issues/291)) ([ba455a8](https://www.github.com/googleapis/nodejs-datalabeling/commit/ba455a8d574f9bb87c9f7531ba56e199ad0dc8be)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
* Add the base samples for model tasks * update package.json * lint fix * Update tests and license headers * use spawnsync to get stderr, update license headers Co-authored-by: Benjamin E. Coe <bencoe@google.com>
* Add the base samples for model tasks * update package.json * lint fix * Update tests and license headers * use spawnsync to get stderr, update license headers Co-authored-by: Benjamin E. Coe <bencoe@google.com>
* Add the base samples for model tasks * update package.json * lint fix * Update tests and license headers * use spawnsync to get stderr, update license headers Co-authored-by: Benjamin E. Coe <bencoe@google.com>
* Add the base samples for model tasks * update package.json * lint fix * Update tests and license headers * use spawnsync to get stderr, update license headers Co-authored-by: Benjamin E. Coe <bencoe@google.com>
* Add the base samples for model tasks * update package.json * lint fix * Update tests and license headers * use spawnsync to get stderr, update license headers Co-authored-by: Benjamin E. Coe <bencoe@google.com>
* Add the base samples for model tasks * update package.json * lint fix * Update tests and license headers * use spawnsync to get stderr, update license headers Co-authored-by: Benjamin E. Coe <bencoe@google.com>
* Add the base samples for model tasks * update package.json * lint fix * Update tests and license headers * use spawnsync to get stderr, update license headers Co-authored-by: Benjamin E. Coe <bencoe@google.com>
* updated CHANGELOG.md [ci skip] * updated package.json [ci skip] * updated samples/package.json Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
* Add the base samples for model tasks * update package.json * lint fix * Update tests and license headers * use spawnsync to get stderr, update license headers Co-authored-by: Benjamin E. Coe <bencoe@google.com>
🤖 I have created a release \*beep\* \*boop\* --- ### [2.4.2](https://www.github.com/googleapis/nodejs-datacatalog/compare/v2.4.1...v2.4.2) (2021-08-17) ### Bug Fixes * **deps:** google-gax v2.24.1 ([#291](https://www.github.com/googleapis/nodejs-datacatalog/issues/291)) ([b9f80cd](https://www.github.com/googleapis/nodejs-datacatalog/commit/b9f80cd961a516c967d20c66b3752cadd9ed9546)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release \*beep\* \*boop\* --- ### [2.4.2](https://www.github.com/googleapis/nodejs-datacatalog/compare/v2.4.1...v2.4.2) (2021-08-17) ### Bug Fixes * **deps:** google-gax v2.24.1 ([#291](https://www.github.com/googleapis/nodejs-datacatalog/issues/291)) ([b9f80cd](https://www.github.com/googleapis/nodejs-datacatalog/commit/b9f80cd961a516c967d20c66b3752cadd9ed9546)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
* Added/exposed CLI functionality for dataproc quickstart Co-authored-by: Benjamin E. Coe <bencoe@google.com>
* Added/exposed CLI functionality for dataproc quickstart Co-authored-by: Benjamin E. Coe <bencoe@google.com>
When I run the speech sample with the 'listen' command, the transcribed text is returned but then the node process stops and returns be to the command line. I'm not getting any error messages, it just returns the text and stops.
I assumed it should carry on listening and return more results rather than quitting, or is this the expected behaviour? If so is there a way to continually listen?
I am running the sample on a mac with node 6.9.4. I'm using the service json file to authorise.
The text was updated successfully, but these errors were encountered: