Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 505 Bytes

README.md

File metadata and controls

11 lines (7 loc) · 505 Bytes

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!