Created
April 14, 2026 17:26
-
-
Save charlesbedrosian/9375d6327210192b5572bcdc5a4d2929 to your computer and use it in GitHub Desktop.
Generate an audio MP3 from a text string
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Runs on MacOS | |
| say $2 -o $1.aiff && ffmpeg -i $1.aiff $1.mp3 && rm $1.aiff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment