Skip to content

youtalk/python-voicetext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-voicetext

Voice synthesiser using VoiceText Web API

To use this software, first you need to complete the user registration and get the API key.

Installation

$ pip3 install python-voicetext

or

$ git clone git@github.com:youtalk/python-voicetext.git
$ cd python-voicetext
$ pipenv install
$ pipenv shell
$ python3 setup.py install

Usage

$ python3
>> from voicetext import VoiceText
>> vt = VoiceText("YOUR_API_KEY")
>> vt.speak("こんにちは。")
>> vt.speaker = "takeru"
>> vt.emotion = "angry"
>> vt..speak("こんばんは。")
>> with open("greet.wav", "wb") as f:
.... f.write(vt.to_wave("おはよう。"))

For more information, see also test/test_voicetext.py

About

Voice synthesiser with VoiceText Web API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages