We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa12e18 commit 1109352Copy full SHA for 1109352
plugins/tts-plugin/src/test/java/Main.java
@@ -9,23 +9,6 @@
9
*/
10
public class Main {
11
public static void main(String[] args) {
12
-// TTSService ts = new TTSService();
13
-// ts.setBaseSavePath("d:\\"); // 设置保存路径
14
-// SSML ssml = SSML.builder()
15
-// .outputFormat(OutputFormatEnum.audio_24khz_48kbitrate_mono_mp3)
16
-// .synthesisText("自定义文件名测试文本,java 文本转语音")
17
-// .outputFileName("自定义文件名")
18
-// .voice(VoiceEnum.zh_CN_XiaoxiaoNeural)
19
-// .build();
20
-// ts.sendText(ssml);
21
-//
22
-// ts.sendText(SSML.builder()
23
-// .synthesisText("文件名自动生成测试文本")
24
-// .usePlayer(true) // 语音播放
25
-// .build());
26
27
-// ts.close();
28
-
29
TtsWrapper.sendTxt(TtsConfig.newConfig()
30
.outputFileName("测试")
31
.setSsml("我喜欢吃葡萄 I like to eat grape")
0 commit comments