Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install python-acapela

How to install python-acapela

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install python-acapela
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
Linux (64-bit)
0.2.1 Available View build log
 
License
MIT license
Dependencies
Imports
Lastest release
version 0.2.1 on Jan 9th, 2014

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
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:

http://github.com/areski/python-acapela/issues

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!

http://github.com/areski/python-acapela

Subscribe to package updates

Last updated Jan 9th, 2014

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.