Talking Terminal Fun

February 28, 2018 at 2:59 pm / by

Just got Unix in a Nutshell, Fourth Edition and found a nifty little piece of fun to torture coworkers with…

In the terminal you can have the Mac’s Speech app activate and say whatever you want, such as if you type in:
say “i feel pretty, oh so pretty”
and then hit ENTER, it will of course say those exact words.

Take it up a notch though and type in:
say -o example.aiff “i feel pretty, oh so pretty”
and then hit ENTER.

It will then save the speech to that sound file, you won’t hear anything, but if you replay in a sound app like iTunes then you’ll hear it perfectly.

 
 

Comments are closed.