An open API service indexing awesome lists of open source software.

https://github.com/cheshire137/rvocalware

Command-line Ruby tool for Vocalware text-to-speech HTTP REST API
https://github.com/cheshire137/rvocalware

ruby text-to-speech vocalware

Last synced: 11 months ago
JSON representation

Command-line Ruby tool for Vocalware text-to-speech HTTP REST API

Awesome Lists containing this project

README

          

# RVocalware

Text-to-speech tool using the [Vocalware HTTP REST API](https://www.vocalware.com/support/rest-api). Requires you to [sign up for a Vocalware account](https://www.vocalware.com/auth/signup) then [create an API](https://www.vocalware.com/myapis/) so that you have an Account ID, an API ID, and a Secret Phrase.

# Installation

`bundle install` to install the necessary gems. Then run `rvocalware.rb` with the following parameters:

Options:
--lid, -l : Language ID (default: 1)
--vid, -v : Voice ID (default: 3)
--txt, -t : Text to be used for audio creation (encoded)
--ext, -e : SWF or MP3; default MP3 (default: mp3)
--fx-type, -f : Sound effect type; default empty
--fx-level, -x : Sound effect level; default empty
--acc, -a : Account ID
--api, -p : API ID
--session, -s : Used to verify the session
--secret, -c : Secret phrase
--output, -o : Output audio file name, without extension (default: rvocalware-txt-to-speech)
--help, -h: Show this message

For example:

ruby rvocalware.rb --txt "Hello from Ruby" --secret "myAwesomeSecretKey" --acc 12345678 --api 98765432