rhvoice-wrapper-bin
Provides RHVoice libraries for rhvoice-wrapper. Depends on rhvoice-wrapper-data, that contains languages and voices.
Linux only.
If this package installed, rhvoice-wrapper will automatically use it by default.
Install
pip install rhvoice-wrapper-bin --only-binary rhvoice-wrapper-bin
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-bin --no-binary rhvoice-wrapper-bin
Usage
rhvoice-wrapper will automatically use data path from rhvoice-wrapper-bin (but of course of rhvoice-wrapper-data).
You must set package library path for LD before run python scripts. You may set LD_LIBRARY_PATH, this must be works:
export LD_LIBRARY_PATH=$(pip3 show rhvoice-wrapper-bin | grep Location | awk '{print $2}')/rhvoice_wrapper_bin/lib/
python3 -u <script using rhvoice_wrapper>
Get info from library
import rhvoice_wrapper_bin
# All the paths will None in error
# Contains path to the RHVoice library
print(rhvoice_wrapper_bin.lib_path)
# Contains path to the RHVoice data
print(rhvoice_wrapper_bin.data_path)
# Contains path to the RHVoice libraries. Must be set as dynamic libraries path
print(rhvoice_wrapper_bin.LIBS_PATH)
# Contains path to the rhvoice-wrapper-data
print(rhvoice_wrapper_bin.PATH)
Links
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file rhvoice-wrapper-bin-0.0.2.tar.gz.
File metadata
- Download URL: rhvoice-wrapper-bin-0.0.2.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b71699bf629960082546c129999e88de2e65dd402d103948340d7b6be8971dfe
|
|
| MD5 |
c8d20b69fc977a68ec57fc59a2208caa
|
|
| BLAKE2b-256 |
773be2901c45e7452013a8edeffe428fd784391fbfd9b262aac012ccbc683653
|