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

How configure dictate project on my PC? #15

Open
hadiasheri opened this issue Jan 16, 2018 · 4 comments
Open

How configure dictate project on my PC? #15

hadiasheri opened this issue Jan 16, 2018 · 4 comments

Comments

@hadiasheri
Copy link

hadiasheri commented Jan 16, 2018

Hi Kaarel,
I have launched kaldi-gstreamer-server on my computer successfully .
I want to configure dictate project to call my local server.
I'd be grateful if could tell which parts of source codes must be revised and how?

@hadiasheri hadiasheri changed the title How configure dictate.js on My PC? How configure dictate project on My PC? Jan 16, 2018
@hadiasheri hadiasheri changed the title How configure dictate project on My PC? How configure dictate project on my PC? Jan 17, 2018
@Kaljurand
Copy link
Owner

When you instantiate the Dictate object, then you need to provide your own "server" and "serverStatus", e.g. the "mob" demo does it in the HTML code, see: https://github.com/Kaljurand/dictate.js/blob/master/demos/mob.html#L53-L56 which is then used to instantiate the object in https://github.com/Kaljurand/dictate.js/blob/master/demos/mob.js#L55-L57

You should add an option for your local server, e.g.:

<option value="ws://localhost:8080/client/ws/speech|ws://localhost:8080/client/ws/status" selected="selected">localhost</option>

@hadiasheri
Copy link
Author

Thanks a lot Kaarel for your reply.
I'll try it and report here what happens.

@AlexPeng19
Copy link

@Kaljurand @hadiasheri i added the option, and the status respond success. but after i record my audio, i click stop, it will be stuck as stopping state. did you have the same problem.

@Tsotne001
Copy link

@AlexPeng19 Have you found solution? I'm experiencing same problem.

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

4 participants