Skip to content

zemise/Voice-Synthesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voice-Synthesis Java

A Java client for the XunFei API.

Change Log

1.0.0

  • Initial release
  • Use official API

Download

Download the latest JAR or grab via Maven:

<dependency>
  <groupId>io.github.zemise</groupId>
  <artifactId>Voice-Synthesis</artifactId>
  <version>1.0.0</version>
</dependency>

or Gradle:

implementation 'io.github.zemise:Voice-Synthesis:1.0.0'

Usage

import io.github.zemise.Voice;
public class Main {
   public static void main(String[] args) {
   	 public static void main(String[] args) {
        Voice voice = new Voice("aapid", "appKey", "apiSecret");
        voice.generate("合成语音测试消息","/path/output.mp3");
    }
}

More examples can be found in the test.

Happy coding

About

调用讯飞API的语音合成

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages