Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sapphire64/python-rhvoice
Python bindings for RHVoice library
https://github.com/sapphire64/python-rhvoice
Last synced: about 20 hours ago
JSON representation
Python bindings for RHVoice library
- Host: GitHub
- URL: https://github.com/sapphire64/python-rhvoice
- Owner: Sapphire64
- License: mit
- Created: 2013-01-14T17:04:00.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-01-26T15:44:11.000Z (almost 12 years ago)
- Last Synced: 2024-11-06T00:42:20.445Z (about 2 months ago)
- Language: Python
- Size: 121 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.txt
- License: LICENSE.txt
Awesome Lists containing this project
README
python-rhvoice
==================Simple bindings to use excellent `RHVoice `_ library with Python.
Usage
------------------
Download or clone this project, then install it:.. code::
$ python3 setup.py install
Add it into your project:
.. code::
>>> from rhvoice import RHVoice
There are two ways to use it, as direct audio output to be manipulated by you:
.. code::
>>> audio = RHVoice("Преступление и наказание")
>>> with open('wav.wav', 'wb') as f:
... f.write(audio)
Or to be saved by this class:.. code::
>>> RHVoice("Дневник писателя", output_file="wave.wav")
Things to do
------------------
1) Test it with Python 2
2) Add to PyPiAs you can see, code base is simple. It can be improved so feel free to suggest patches with new features.