baidu voice tts build

 C++:

g++ -c base64.cpp -o base64.o

 

copy json.a   curl.a  to  project root dir 

g++ sample.cpp -L. -ljson -lcurl base64.o -o samlpe

 

test to speech software 

Balabolka http://www.cross-plus-a.com/balabolka.htm

 

node sdk:

need rename  package.json  "node-sdk" to  baidu-ai  then install 

//var AipFace = require('baidu-ai').face; //这个‘baidu-ai’就是上面自定义的package.json中名字

refer : http://blog.csdn.net/ErErFei/article/details/73614283

 

posted on 2017-07-30 16:43  iokde.com  阅读(193)  评论(0编辑  收藏  举报

导航