Provides RHVoice libraries and data for rhvoice-wrapper
Project description
rhvoice-wrapper-data
Provides RHVoice libraries and data for rhvoice-wrapper. Linux only.
If this package installed, rhvoice-wrapper will automatically use it by default.
Install
pip install rhvoice-wrapper-data --only-binary rhvoice-wrapper-data
Install from source
First, install dependencies to build:
apt-get install --no-install-recommends scons build-essential python3-pip python3-setuptools python3-wheel
Install package from source. This download and build RHVoice and may take many time:
pip install rhvoice-wrapper-data --no-binary rhvoice-wrapper-data
Usage
rhvoice-wrapper will automatically use paths from rhvoice_wrapper_data:
from rhvoice_wrapper import TTS
tts = TTS()
Or you may use this manually:
from rhvoice_wrapper import TTS
import rhvoice_wrapper_data
# Contains path to the RHVoice library or None if errors
print(rhvoice_wrapper_data.lib_path)
# Contains path to the RHVoice data or None if errors
print(rhvoice_wrapper_data.data_path)
tts = TTS(lib_path=rhvoice_wrapper_data.lib_path, data_path=rhvoice_wrapper_data.data_path)
Or use installed RHVoice instead of rhvoice-wrapper-data
from rhvoice_wrapper import TTS
tts = TTS(lib_path=None, data_path=None)
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for rhvoice-wrapper-data-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | efb9503422753cc75b31d80ce9b40c9ff62a02540d380e4985bf9ca51f9502e0 |
|
MD5 | 9d707f44e952688ce960341b1d7c77bb |
|
BLAKE2b-256 | 3cb30a47b833540c86d7baedf0df5759181771fb323521fa77350ba33ff32cf6 |