Missing informations
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
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.
I'm assuming that you are running a console program. Make sure that you have Models directory in Debug folder
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
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.