Simplifies arranging text fragments with multiple speakers and processing it with coqui.ai TTS
Project description
TTS Arranger
Simplifies arranging text fragments with multiple speakers and processing it with coqui.ai TTS.
Example
from tts_arranger import TTS_Arranger, TTS_Item
t = TTS_Arranger()
t.initialize()
tts_items = []
tts_items.append(TTS_Item('This is a test using speaker with name p330', 'p330'))
tts_items.append(TTS_Item('This is a test with another speaker and a minimum length', 'ED\n', length=10000))
tts_items.append(TTS_Item(length=2000)) # Insert pause
t.synthesize_and_write(tts_items, '/tmp/test2.mp3')
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
tts_arranger-0.0.6.tar.gz
(1.2 MB
view details)
Built Distribution
File details
Details for the file tts_arranger-0.0.6.tar.gz
.
File metadata
- Download URL: tts_arranger-0.0.6.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bc7bd38cb11dd1e2d814ef078c401eab10fe279e4c2e1a58dff794f97d5530d |
|
MD5 | 914fcbc592b9a2de3bc1697873bb9c4c |
|
BLAKE2b-256 | af9db6f1d3d46f7546fcc2cafdd8f00479f4be81279fa3ebf353c61ef647be33 |
File details
Details for the file tts_arranger-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: tts_arranger-0.0.6-py3-none-any.whl
- Upload date:
- Size: 1.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3abc3e36e090078a8f8494a551999087d9d9ac2a5a9d38b3b6cffc3c57d620f8 |
|
MD5 | 6201d50fa4816b6e3b07768522853faa |
|
BLAKE2b-256 | fd08173dca409c944fc25195f7425f0236e4129c4237a9cda646b445102d9e87 |