Skip to main content

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.

Metadata

Release files for voice-puppet 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for voice-puppet 0.2.1
File Size Uploaded Provenance
voice_puppet-0.2.1.tar.gz 156.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for voice-puppet 0.2.1
File Interpreter ABI Platform
voice_puppet-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 160.5 kB

Release files / voice_puppet-0.2.1.tar.gz

Download URL voice_puppet-0.2.1.tar.gz
Size 156.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1e0ceacc1847e0eebea8ee5398441e4f8fe068a1bb084c32dc2c9084dc1a9c05
BLAKE2b-256 checksum
How to use checksums
f45dee2cc44e74b46eb9ca7f410f11d30d40fe1afc9f2f735d7879effe52987c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.2

Release files / voice_puppet-0.2.1-py3-none-any.whl

Download URL voice_puppet-0.2.1-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e06425aa6c257ce281747957b8cfc4ce0fa0208f3a43a19438e65ce3bd539fb
BLAKE2b-256 checksum
How to use checksums
53946cac58ee9d2affbb5e8d7073b80c770e36b127f0bab351eafcc2b49d2b1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.2

Security for voice-puppet 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page