-
Notifications
You must be signed in to change notification settings - Fork 2
mheld/acapela-ruby
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
put acapela.rb in your lib/ folder; assuming that you're using rails, otherwise you're on your own. require 'acapela' in the file you'd like to use the library. speak("I like cheese") will return a url that points to the MP3 of the file generated. Keep in mind that the thing you download can be really small, so you might end up with a StringIO if you try to open() the url. speak("I like cheese", "bob") will change the speaker from the rather sensible default of rachel22k. Included is a downloadMP3(url) function that will coax the downloaded material to be a file. downloadMP3() also returns the file downloaded.
About
Ruby library for acapela
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published