Skip to content

newfies-dialer/lua-acapela

Repository files navigation

lua-acapela

Author: Arezqui Belaid
Description:Lua wrapper for text-to-speech synthesis with Acapela
Company:Developed by Star2Billing http://www.star2billing.com
License:MIT

Lua Acapela Wrapper

lua-acapela is a library to produce a text-to-speech file using Acapela web services.

Quickstart

require "acapela"

ACCOUNT_LOGIN = 'EVAL_XXXX'
APPLICATION_LOGIN = 'EVAL_XXXXXXX'
APPLICATION_PASSWORD = 'XXXXXXXX'
SERVICE_URL = 'http://vaas.acapela-group.com/Services/Synthesizer'

tts_acapela = Acapela(ACCOUNT_LOGIN, APPLICATION_LOGIN, APPLICATION_PASSWORD, SERVICE_URL, QUALITY, directory)

TEXT="Hola! Buenos días"
LANG = 'ES'
ACAPELA_GENDER = 'W'
ACAPELA_INTONATION = 'NORMAL'
tts_acapela:prepare(TEXT, LANG, ACAPELA_GENDER, ACAPELA_INTONATION)
output_filename = tts_acapela:run()

print("Recorded TTS = "..output_filename)

Features

Dependencies

There is few dependencies md5, lfs and lua-curl. We use this version of lua curl : http://msva.github.com/lua-curl/

To install md5 and lfs:

luarocks install md5
luarocks install luafilesystem

To install lua-curl:

cd /usr/src/
wget https://github.com/msva/lua-curl/archive/master.zip -O lua-curl.zip
unzip lua-curl.zip
cd lua-curl-master
cmake . && make install

Feedback

Write email to [email protected] or post bugs and feature requests on github:

https://github.com/areski/lua-acapela/issues

Extra information

Newfies-Dialer, an Open Source Voice BroadCasting Solution, 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 Python : https://github.com/areski/python-acapela

Similar library in Ruby : https://github.com/mheld/acapela-ruby

Source download

The source code is currently available on github. Fork away!

https://github.com/areski/lua-acapela

About

Lua wrapper for text-to-speech synthesis with Acapela

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages