Experimentation with voice cloning for performance.
Project description
voice-puppet
Command line tool to clone voice with TTS. Can be used for individual lines or fed a script file.
Basic usage:
voice_puppet --clone AUDIOFILETOCLONE.wav --text "Text to say." --output "cloned.wav"
Usage with a script file
You can also provide a script file and a folder with voices to clone.
voice_puppet --script SCRIPTFILE.txt --voices FOLDERWITHVOICES --output OUTPUTDIRECTORY
The script file should follow this format:
## Scene 1
### Karl
A spectre is haunting this script.
### Fred
The spectre of voice cloning.
## Scene 2
### Karl: excited
So many spectres!
A folder will be created for each scene, and indidual wav files for each line of dialog.
Scene names are preceded by 2 hashes ##
.
Lines of dialog are preceded by 3 hashes ###
, followed by a voice file to use as the source of the clone, and optionally followed by a colon and a mood.
You must provide a folder with wav files for each voice that matches the names you put in the script. So if you write "Karl" in the script, there should be a file called Karl.wav
in a voices
directory (or another directory name that you can specify).
If you optionally provide a mood with a character name, you should provide another voice file, in the format Character_mood.wav
.
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 voice_puppet-0.2.1.tar.gz
.
File metadata
- Download URL: voice_puppet-0.2.1.tar.gz
- Upload date:
- Size: 156.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e0ceacc1847e0eebea8ee5398441e4f8fe068a1bb084c32dc2c9084dc1a9c05 |
|
MD5 | e2499823030ef1561da2f679df873a71 |
|
BLAKE2b-256 | f45dee2cc44e74b46eb9ca7f410f11d30d40fe1afc9f2f735d7879effe52987c |
File details
Details for the file voice_puppet-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: voice_puppet-0.2.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e06425aa6c257ce281747957b8cfc4ce0fa0208f3a43a19438e65ce3bd539fb |
|
MD5 | 51eba9b9fa57e7234b84384b63cf094f |
|
BLAKE2b-256 | 53946cac58ee9d2affbb5e8d7073b80c770e36b127f0bab351eafcc2b49d2b1f |