Skip to content

mchilson/speak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

speak

Ruby text to speech example in Ruby for Windows, Linux, and Mac

If you have ever wanted to try text to speech this is a very basic example. If you are using Windows, uncomment the gem in the gemfile, if using linux make sure espeak is installed. I have not tried it on Mac but it should work. If not please let me know what you did to make it work.

🔨 I have tested this with Ruby 3.01 and it appears to work fine.

USAGE: ruby speak.rb "text you wish to be spoken"

HAVE FUN!

About

Ruby text to speech example in Ruby for Windows, Linux, and Mac

Resources

Stars

Watchers

Forks

Languages