- Description:
Python wrapper for text-to-speech synthesis with Acapela
- Company:
Developed by Star2Billing http://www.star2billing.com
Python Acapela Wrapper
python-acapela is a library to produce a text-to-speech file using Acapela web services.
Quickstart
import acapela ACCOUNT_LOGIN = 'EVAL_XXXX' APPLICATION_LOGIN = 'EVAL_XXXXXXX' APPLICATION_PASSWORD = 'XXXXXXXX' SERVICE_URL = 'http://vaas.acapela-group.com/Services/Synthesizer' tts_acapela = acapela.Acapela(ACCOUNT_LOGIN, APPLICATION_LOGIN, APPLICATION_PASSWORD, SERVICE_URL, '22k', '/tmp/') tts_acapela.prepare(text=u"Hola! Buenos días", lang='ES', gender='W', intonation='NORMAL') output_filename = tts_acapela.run() print "Recorded TTS to %s" % output_filename
Features
Produce text to speech in different languages, see list of languages supported : http://www.acapela-vaas.com/ReleasedDocumentation/voices_list.php
Support different type of audio quality 22Hz, 8Hz
Provide voices of different gender and intonation
Installation
Install, upgrade and uninstall python-acapela.py with these commands:
$ sudo pip install python-acapela $ sudo pip install --upgrade python-acapela $ sudo pip uninstall python-acapela
Or if you don’t have pip:
$ sudo easy_install python-acapela
Example usage and output
$ Usage: python-acapela -acclogin <accountlogin> -applogin <applicationlogin> -p <password> -t <text> [-q <quality>] [-d <directory>] [-url <service_url>] [-h] $ Output : Recorded TTS to /tmp/ACAPELA-8895934760117809679-ES.mp3
Feedback
Your feedback is more than welcome. Write email to areski@gmail.com or post bugs and feature requests on github:
Extra information
Newfies-Dialer, an open source Auto Dialer software, uses this module to synthetize audio files being play to the end-user. Further information about Newfies-Dialer can be found at http://www.newfies-dialer.org
This module is built and supported by Star2Billing : http://www.star2billing.com
Similar library in Ruby : https://github.com/mheld/acapela-ruby
Source download
The source code is currently available on github. Fork away!
History
0.2.4 (2015-04-15)
Fix UK language
0.2.3 (2015-04-15)
Fix US language
0.2.1 (2012-10-03)
Add License file, Manifest, Authors
0.2 (2012-10-03)
Improve setup.py, credits to https://github.com/jezdez/django_compressor/blob/develop/setup.py
PEP8 Fixes
0.1 (2012-05-26)
First release.
Metadata
Release files for python-acapela 0.2.6
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 | |
|---|---|---|---|---|
| python-acapela-0.2.6.tar.gz | 12.6 kB | Without provenance | Details |
Release files / python-acapela-0.2.6.tar.gz
| Download URL | python-acapela-0.2.6.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
220b633cb9c239007cd5986fa460074560ea8faf74b4ea1805a65644eea94c2d
|
|
BLAKE2b-256 checksum How to use checksums |
66fc4e6ef40dd59e6285951be11d339e2e1010ac6f4a3800b18935bebd02d31b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for python-acapela 0.2.6
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.