【梅开二度】将文本内容转换成语音
代码如下:http://cdn.u1.huluxia.com/g4/M03/01/12/rBAAdl81ChCAaqAIAAASQHnJck0849.jpg
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")}}} 珍爱生命,果断回帖。 :lol 看看好用不 前排支持下了哦~
页:
[1]