C # call huihui Chinese voice library does not sound

C # call huihui Chinese voice library does not sound

Recently due to the project needs need to be online text to speech, after comparing the cost of doing and all TTS software that huihui Chinese speech database results were better, and decided to use it.
However, with reference to the server https://www.cnblogs.com/lerit/p/3486854.html after installation is indeed found to be directly invoked by the command CMD, but not by C # calling indeed generated only about a 1K audio file, the control panel to tune into TTS lili normal recording is generated. This is very obvious, C # can not generate recordings of the problem is that you have installed SpeechPlatformRuntime.msi does not match with C # program, the solution is as follows:

Solution (you can choose one)

1, while the installation of the 32-bit and 64-bit "SpeechPlatformRuntime.msi"

2. "SpeechPlatformRuntime.msi" digit of your installation, you C # generated object program is provided to the corresponding digits, such as "SpeechPlatformRuntime.msi" mounted on a 64-bit to 64-bit tune.

Guess you like

Origin www.cnblogs.com/zh672903/p/12118429.html