Skip to content

areski/lua-acapela

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 1 commit ahead of newfies-dialer:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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 areski@gmail.com or post bugs and feature requests on github:

http://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 : http://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!

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

  • Lua 100.0%