Skip to content
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

have you got newer version code? #3

Open
vkjuju opened this issue Sep 16, 2018 · 4 comments
Open

have you got newer version code? #3

vkjuju opened this issue Sep 16, 2018 · 4 comments

Comments

@vkjuju
Copy link

vkjuju commented Sep 16, 2018

Hi, I got some deprecated error and can not see any Chinese character on my screen , have you got any updated codes ? Thanks

@joshzzheng
Copy link
Owner

Sorry, there's no plan to update the code for this.

What are the errors?

@vkjuju
Copy link
Author

vkjuju commented Sep 17, 2018

the errors are as follows:
Watson is listening, you may speak now.
WARNING: This method of instantiating the Watson services has been deprecated beginning with Version 3.0.0 of the Node SDK. Please refer to the Node SDK documentation for information on how to instantiate Watson services. This form of service instantiaion will be removed in a future release of the SDK.
WARNING: createRecognizeStream() was renamed to recognizeUsingWebSocket(). Support for createRecognizeStream() will be removed in the next major release

@joshzzheng
Copy link
Owner

here's the new way to do this that the warning message was referring to:
https://github.com/watson-developer-cloud/node-sdk/blob/master/examples/speech_to_text.v1.js

@vkjuju
Copy link
Author

vkjuju commented Sep 18, 2018

Hi, Josh, thanks for your prompt update, I have researched the above link before, and have been getting stuck on how to get them worked on mic and websockets instead of converting to .wav first, could you take a look at my code when you get a chance ? https://gist.github.com/vkjuju/8349102e08563f384417ed2f129769c1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants