rvTTS
rvTTS is a cli tool for converting text to mp3 files using ResponsiveVoice's API.
Features
- Automatically tokenizing sentences. Special thanks to pndurette (https://github.com/pndurette/gTTS) for his tokenizer.
- Support unlimited text length.
- Adjustable pitch, rate, volume.
Installation
pip install rvtts
Usage
rvtts [OPTIONS]
Options
-
Read from stdin:
-t, --text <text> -
Read from file:
-i, --input <filename> -
Output file:
-o, --output <filename> -
Adjust pitch. Valid range 0-1. Default: 0.5:
--pitch <range> -
Adjust rate. Valid range 0-1. Default: 0.5:
--rate <range> -
Adjust volume. 0-1. Default: 1:
--vol <range> -
Output voice. Default: english_us_male:
-v, --voice <voicename> -
Debug mode:
-d, --debug -
Print all supported voices and exit:
-l, --lang -
Show the version and exit:
--version
Examples
-
Convert from stdin to
hello.mp3:rvtts --text "hello wold" -o hello.mp3 -
Convert Vietnamese text:
rvtts --text "một hai ba bốn năm sáu" -o test.mp3 -v vietnamese_female -
Convert from
chuong-0001.txttochuong-0001.mp3:rvtts -i chuong-0001.txt -o chuong-0001.txt -v vietnamese_male -
Print all supported voices:
rvtts --lang
Projects
Release files for rvtts 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rvtts-1.0.1.tar.gz | 11.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rvtts-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.0 kB
Release files / rvtts-1.0.1.tar.gz
| Download URL | rvtts-1.0.1.tar.gz |
|---|---|
| Size | 11.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f817ad337cf7db9293b341f490678c6925923dbe6ab21d5f9d0159d9172f5e57
|
|
BLAKE2b-256 checksum How to use checksums |
de5c5dfb2ac2d30754a845f2febd6d332b27bd674e666e28a3c9a62e62aa3186
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Release files / rvtts-1.0.1-py3-none-any.whl
| Download URL | rvtts-1.0.1-py3-none-any.whl |
|---|---|
| Size | 13.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a673fefc802f96e340043dd938a6fa3f8bd7222f35e742b692b4c9d6ee539cc7
|
|
BLAKE2b-256 checksum How to use checksums |
36c13e7eb5cb694e6884647cf399095fcd2af5089a1474ba7228be44bd201be1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|