Skip to content

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

Notifications You must be signed in to change notification settings

cheshire137/rvocalware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RVocalware

Text-to-speech tool using the Vocalware HTTP REST API. Requires you to sign up for a Vocalware account then create an API 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 <i>:   Language ID (default: 1)
       --vid, -v <i>:   Voice ID (default: 3)
       --txt, -t <s>:   Text to be used for audio creation (encoded)
       --ext, -e <s>:   SWF or MP3; default MP3 (default: mp3)
   --fx-type, -f <i>:   Sound effect type; default empty
  --fx-level, -x <i>:   Sound effect level; default empty
       --acc, -a <s>:   Account ID
       --api, -p <s>:   API ID
   --session, -s <s>:   Used to verify the session
    --secret, -c <s>:   Secret phrase
    --output, -o <s>:   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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages