【梅开二度】将文本内容转换成语音

24784360   ·   发表于 5个月前   ·   IAPP
代码如下:

ug(id,"text",a)//输入编辑框idf(a==""){tw("请输入文字")}else{stobm(a,"utf-8",a)sr(a," ","",a)t(){ss("http://tts.baidu.com/text2audio?ie=UTF-8&lan=zh&text="+a,a)ufnsui(){tw("下载中...",0)}hd(a,"%iappsj/转语音/转换后.mp3",true,b)f(b==0){ufnsui(){tw("已保存到根目录的%iappsj/转换后目录里面",0)}bfm("%iappsj/转语音/转换后.mp3",c)bfms(c,"st")}}}
0 Reply   |  Until 5个月前 | 862 View
LoginCan Publish Content