rvTTS - ResponsiveVoice TTS CLI Tool
Project description
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.txt
tochuong-0001.mp3
:rvtts -i chuong-0001.txt -o chuong-0001.txt -v vietnamese_male
-
Print all supported voices:
rvtts --lang
Projects
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
Built Distribution
File details
Details for the file rvtts-1.0.1.tar.gz
.
File metadata
- Download URL: rvtts-1.0.1.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f817ad337cf7db9293b341f490678c6925923dbe6ab21d5f9d0159d9172f5e57 |
|
MD5 | 73050154a1a8295995b9900c891fb947 |
|
BLAKE2b-256 | de5c5dfb2ac2d30754a845f2febd6d332b27bd674e666e28a3c9a62e62aa3186 |
File details
Details for the file rvtts-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: rvtts-1.0.1-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a673fefc802f96e340043dd938a6fa3f8bd7222f35e742b692b4c9d6ee539cc7 |
|
MD5 | 500a14e8614873bd57e45f7ebeb508a9 |
|
BLAKE2b-256 | 36c13e7eb5cb694e6884647cf399095fcd2af5089a1474ba7228be44bd201be1 |