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

Missing informations #3

Open
arya-coding opened this issue Dec 9, 2018 · 4 comments
Open

Missing informations #3

arya-coding opened this issue Dec 9, 2018 · 4 comments

Comments

@arya-coding
Copy link

arya-coding commented Dec 9, 2018

Hi,

I would like first to thank you for your work.

I'm trying to see the result, but unfortunately, I can't find any test result, publication, etc.
So far, I implemented your library and I'm trying to use it.

However, when I'm running the following line :
_recognizer.StartRecognition(new FileStream(Path.Combine(audioDirectory, "1.wav"), FileMode.Open));

It's freezing. I couldn't find the robot.wav you're mentionning, so I guess you created it.
My file is a WAV signed 16-bit PCM.

Regards

@arya-coding
Copy link
Author

EDIT :

Tried with program2.cs
The wav file are correctly found and opened.
The result from :
_speechRecognizer.StartRecognition(stream); var result = _speechRecognizer.GetResult(); _speechRecognizer.StopRecognition();

Is null.

@SachinGanesh
Copy link

I'm assuming that you are running a console program. Make sure that you have Models directory in Debug folder

@arya-coding
Copy link
Author

arya-coding commented Dec 10, 2018

Well, I forgot to mention the basic informations indeed :
W10 64bits, Visual studio 2017.
But my project is a 32bits Class Library.

Yes the file are in the right folder and correctly loaded.

The problem might be linked to either :

  • 32 bits
  • Class Library Project (less likely)
  • Incorect type of WAV file

@SachinGanesh
Copy link

Have you tried the samples? https://github.com/SynHub/syn-speech-samples. Its written for old version of the Syn Speech. You will have to change the code a bit. It worked for me when I tested it a week ago.

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