OsX, you're talking to me ?

Just found a fun command on Mac Os X, named as “say”.

say converts what you give it as input, as an audible sound.

$ say "hello"

Combine it with pipes

$ date | say
$ fortune | say

Let it notify you when a job’s completed.

$ brew update && say 'Brew updated' &

say can

  • save the audible to a mp3 file
  • slow its speech rate
  • send it to a network port
  • use the voice/language you want. male/female/french/dutch…

All options are available with a $ man say

Examples :

With a french voice

$ say --voice Thomas "Bonjour je m'appelle Valère"

To know which voices are available on your system : $ say --voice ?, to install more voices, go to your system preferences.

The same, faster.

$ say --voice Thomas --rate=400 "Bonjour je m'appelle Valère"

Joseph A. Bondy

Joseph A. Bondy is a criminal defense and cannabis business attorney in Manhattan. A graduate of Columbia University and Brooklyn Law School, Mr. Bondy is admitted to practice in New York, the United States District Courts for the Northern, Southern, Eastern and Western Districts of New York, the District of Connecticut, the United States Courts of Appeal for the First, Second, Third, and Fourth Circuits, and the Supreme Court of the United States. Over the past twenty-four years, he has represented more than one thousand individuals at all stages of litigation, including dozens of federal and state cannabis clients.

1776 Broadway Suite 2000 NewYork, NY 10019 /