iapp语音播报源码,附带成品源码和视频教程!
很简单,看视频就会
教程中需要用到的
//ug(1这个1是编辑框的ID
ug(1,"text",er)
strim(er, text)
.去除空格
sr(text," ","%20",text)
.替换字符
sr(text,"\n","%20",text)
.替换字符
stobm(text, "utf-8", er)
.转编码
ss("http://tts.baidu.com/text2audio?ie=UTF-8&lan=zh&text="+er,rt)
.结果想加
f(er=="")
{
tw("出错")
}
else
{
t()
{
hd(rt,"zxwljs/a.mp3",true,o)
f(o==0)
{
bfm("zxwljs/a.mp3",p)
bfms(p,"st")
}
}
}
蓝奏云 链接:抱歉,隐藏内容 回复 后刷新可见
密码:acol
##私密评论仅博主可见##
流弊流弊流弊
iiiiiiuuuuuuu牛
我正好在找
好好好