golang-tts
Text-to-speech conversion based on Microsoft SAPI
Install
1. go get -u github.com/zhaopuyang/golang-tts
2. Copy the tts.dll in the base folder to the current file directory
3. Finished!
use
golang_tts.SpeakText("你好,世界!") Notice
The base folder is the c++ source file with the tts engine. If you want to recompile, please install mingw64 first. The compilation command: gcc --share tts.cc -o tts.dll -lole32 -lsapi