syn-speech icon indicating copy to clipboard operation
syn-speech copied to clipboard

Missing informations

Open arya-coding opened this issue 7 years ago • 4 comments

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 avatar Dec 09 '18 17:12 arya-coding

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.

arya-coding avatar Dec 09 '18 17:12 arya-coding

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

SachinGanesh avatar Dec 10 '18 04:12 SachinGanesh

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

arya-coding avatar Dec 10 '18 08:12 arya-coding

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.

SachinGanesh avatar Dec 10 '18 08:12 SachinGanesh