|
|
|
@ -1,6 +1,7 @@ |
|
|
|
|
package com.hfkj.tts; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.hfkj.config.CommonSysConst; |
|
|
|
|
import com.huawei.sis.bean.AuthInfo; |
|
|
|
|
import com.huawei.sis.bean.SisConfig; |
|
|
|
|
import com.huawei.sis.bean.SisConstant; |
|
|
|
@ -26,8 +27,8 @@ public class HWYunSisService { |
|
|
|
|
// 待合成的文本
|
|
|
|
|
private static String text = "惠支付收款 98.6元"; |
|
|
|
|
// 设置本地音频保存路径.可选择不保存到本地。需具体到文件,如D:/test.wav
|
|
|
|
|
// private static String path = CommonSysConst.getSysConfig().getFile_url() + "/tts/test.wav";
|
|
|
|
|
private static String path = "/Volumes/work/开发/filesystem/test.mp3"; |
|
|
|
|
private static String path = CommonSysConst.getSysConfig().getFile_url() + "/tts/test.wav"; |
|
|
|
|
// private static String path = "/Volumes/work/开发/filesystem/test.mp3";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|