GitXplorerGitXplorer
y

python-voicetext

public
19 stars
7 forks
0 issues

Commits

List of commits on branch master.
Unverified
8eeb9fa85df87f26e5c078e16aa27e4b19029c6c

update version

yyoutalk committed 3 years ago
Verified
4136edfb41f9798ef40d3e0989b8c8af69c70a67

Merge pull request #1 from youtalk/py3

yyoutalk committed 3 years ago
Unverified
d73602b9f5cd5f3ddff9fadb7cba6295393159de

update readme

yyoutalk committed 3 years ago
Unverified
b07be1c645f2d6a0cba0c01ae5c02323e0432143

update readme

yyoutalk committed 3 years ago
Unverified
25514768aab8773e672e6bc95166c68922a2174a

install playsound

yyoutalk committed 3 years ago
Unverified
247bfbca44f9ac13e8f99d99ee4c94e818e14780

ad Pipfile

yyoutalk committed 3 years ago

README

The README file for this repository.

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