Python Acapela Text-To-Speech
Project description
- Description:
Python wrapper for text-to-speech synthesis with Acapela
- Company:
Developed by Star2Billing http://www.star2billing.com
python-acapela - Python Acapela Library
python-acapela is a library to produce 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 22Hk, 8Hk
Provide different voices gender and different intonation
Installation
You can install, upgrade, 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
Source download
The source code is currently available on github. Fork away!
Changelog
0.1 (2012-05-26)
First release.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file python-acapela-0.1.tar.gz
.
File metadata
- Download URL: python-acapela-0.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e824bc8a9e20d5879c480b8564649cb8f73c53ff57067d225850b325c264be99 |
|
MD5 | bf45629c098ba316d009938f66fcc7bd |
|
BLAKE2b-256 | 318c59d7fd8dc87d112a8a9da224a8936972edb16e1575b05613e2a1ef302360 |