Skip to content

A Text2Speech services using edge browser api

Notifications You must be signed in to change notification settings

ihexon/projecttts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Text2Speech services using Edge tts engine.

Written in java, jdk >= 11

Support Chinese/English

Usage

Usage: <main class> [options]
  Options:
    --help, -h, -help
      Show Help message
    -save, --save, -s
      Where to save the wav file
      Default: ./BoyNextDoor.wav
    -text, --text
      Text to be speech
      Default: Boy next door

Example:

export "JAVA_HOME=/usr/lib/jvm/java-11-openjdk"
export "PATH=$JAVA_HOME/bin:$PATH"
$ java -jar projecttts.jar --text "Hello boy !" --save ./test.wav

Download Test audio file

Build

fish$ set -x JAVA_HOME /usr/lib/jvm/java-11-openjdk
fish$ set -x PATH $JAVA_HOME/bin $PATH
fish$ mvn assembly:single

Contribution

  • Send issue.
  • Send PR with doc comment.
  • No Complex code please.
  • Using Intellij IDEA Community

About

A Text2Speech services using edge browser api

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages