I want to read a very long text with the SAY mac's command (say -f file.txt
), and to record the output to file.mp3
. I thought about using ffmpeg to record all of it, but then i'll need to wait for all the reading process to complete..
I don't really need to listen to it, so if there is a way to directly have an mp3
file just by hitting enter, it would be great..
There is also this project txt2mp3mac but i can't use it in a shell script..
Thanks..
Update
Check this gist for a script that does it