This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | ||
| |
README.md | ||
| |
Rakefile | ||
| |
init.rb | ||
| |
install.rb | ||
| |
lib/ | ||
| |
tasks/ | ||
| |
test/ | ||
| |
uninstall.rb |
README.md
ActsAsSayable
Copyright 2008 by Kevin Wythe Gisi
Abstract
ActsAsSayable provides an API for working with text-to-speech tools like Festival. Defining that a model acts_as_sayable adds a to_mp3 method to every instance, which returns an audio file of the to_speech function (which defaults to to_s).
Supported Configurations
- Festival/LAME
Installation
Add a file to your config/initializers folder to set up the configuration for the plugin:
Acts::Sayable.configure(:os => "linux",:filter=>false)
In your model, simply add:
acts_as_sayable
If you want to be able to render mp3 objects, don't forget to add the following to your config/initializers/mime_types.rb:
Mime::Type.register "audio/mpeg", :mp3








