NanoTTS python wrapper
This package is a python wrapper for the NanoTTS speech synthesizer utility as described here: https://github.com/gmn/nanotts.
Installation
You can install this package with pip install nanotts.
Make sure you have the NanoTTS synthesizer installed and added to your $PATH.
Usage
The NanoTTS python wrapper provides two methods to generate speech, one from a string input, the other from a text file.
import nanotts
ntts = nanotts.NanoTTS()
# Generate speech from a string
ntts.speaks("Hello World!")
# Generate speech from a text file
ntts.speak("input.txt")
The attributes that can be set are described below:
loglevel: set loglevel for the logging module (i.e.logging.*)outputFile: set name of the output .wav file (at least one ofoutputFileandplayhas to be set)pitch: set pitch in range [0.5, 2.0]play: toggle whether to directly play the created speech (at least one ofoutputFileandplayjas to be set)speed: set speed in range [0.2, 5.0]voice: choose language from "de-DE", "en-GB", "en-US", "es-ES", "fr-FR", "it-IT"volume: set volume in range [0.0, 5.0]
Metadata
Release files for nanotts 0.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 | Provenance | Actions |
|---|---|---|---|---|
| nanotts-0.0.1.tar.gz | 2.9 kB | Without provenance | Details for nanotts-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nanotts-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for nanotts-0.0.1-py3-none-any.whl |
Total release size: 7.0 kB
Release files / nanotts-0.0.1.tar.gz
| Download URL | nanotts-0.0.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80fd6a807a7c0fc991b0724e781bba8fcaef8547490405c543911b8330dfcf04
|
|
BLAKE2b-256 checksum How to use checksums |
6b58baa8bc0be4caf6bf41d1e920a12ff93a964839ddfa736bbf496ebd1d2e35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.6.12
|
Release files / nanotts-0.0.1-py3-none-any.whl
| Download URL | nanotts-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0591da90477d4974e9195342ead35b23cbef24e62c8c55686d4c7dd6265dda53
|
|
BLAKE2b-256 checksum How to use checksums |
596a65e1d9b1668ca0494fffc3457ce0258956cd61378a0fb4a0fdcbab326344
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.6.12
|
Security for nanotts 0.0.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.