Skip to content

Instantly share code, notes, and snippets.

@JakubOboza
Last active March 7, 2017 15:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JakubOboza/6cdec98763bff8cccbe2c52cb1609e9a to your computer and use it in GitHub Desktop.
Save JakubOboza/6cdec98763bff8cccbe2c52cb1609e9a to your computer and use it in GitHub Desktop.
Speech 'say' on mac to mp3 file

Create Aiff file from yout text input

You can do it like this say -f script.txt -o say_output.aiff with text file input or like this say "hello you cheeky scrublords" -o say_output.aiff

Converting to Mp3

Convert using lame like this lame -m m say_output.aiff final_speech.mp3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment