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
- Host: GitHub
- URL: https://github.com/cheshire137/rvocalware
- Owner: cheshire137
- Created: 2013-04-20T23:04:40.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-04-20T23:34:33.000Z (about 13 years ago)
- Last Synced: 2025-07-21T16:13:56.093Z (11 months ago)
- Topics: ruby, text-to-speech, vocalware
- Language: Ruby
- Homepage:
- Size: 105 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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