Update: "say -f foo.txt -o foo.aiff". How about that!
text to speech?
I know OSX has all this text-to-speech junk built in, but is there some simple way to take a text file and convert it to an audio file (WAV, AIFF, MP3, anything)?
Tags: computers, firstperson, lazyweb, mac
Current Music: Skunk Anansie -- Cheap Honesty ♬
30 Responses:
there is a command called say, which you can pipe stuff into, say -o foo.aiff will write the output to a file.
-b
Thank you. Thank you for actually answering the question, and thank you for not being like all these other cock-knockers below.
Comparison of question-answer fora:
Your table is seriously breaking the layout. At least, I think I'm responding to <lj user=strspn>'s comment, which is currently below my comment box. I think you mislaid a row somewhere.
Sorry, I don't know why it did that. The HTML is perfect except for a missing slash before the final td tag. Still, that's perfectly legal and it shouldn't be messing everything else up.
On a second look, it's just screwing up its own comment box a bit. Never mind.
No, it has completely fucked the entire layout of the page if you look at it in Generator style.
In which case I stand correct in the first place. Looks almost correct in the default BML view, though. I wonder why the layout's failing so dramatically.
Holy crap!
lazyweb works?!?
I may have to re-examine my whole outlook on life...
I know how much you hate teh lunix, but as I don't have a Magical Mac could you please, if you've some idle time, upload samples of piping the text through the chef / B1FF / etc filters before they go through
/usr/bin/say
?I find it incredibly hard to believe that you haven't heard of festival before. It's a bit bloaty, but kinda neat. The suggestion to use "say" is better though.
Not wanting to use festival can be the result of not knowing about it...
Or just as likely, not wanting to use festival can be the result of knowing about it.
I think you presume too much. Festival isn't much easier than writing a Linux driver to control a Speak n' Spell, with similar quality results.
Or just as likely, not wanting to use festival can be the result of knowing about it.
Bingo
all the good voices are on windows :( which sucks on a number of levels.
There are some great (commercial, $30ea) voices for Mac OS X's native text-to-speech synth available from Cepstral. If you're even a moderate user of TTS, they can be a fun addition to the standard set. And if anyone else hears your TTS audio, using one of the Cepstral voices sets it apart from the usual choices.
Now about getting those National Weather Service voices...
Thirty dollars? I can get one of my students to sit under the desk and read it off an LCD for that price!
WTF is wrong with you people?? The first god damn post answered the question concisely and correctly. I don't understand why you all feel the need to continue to go on about garbage like festival (you morons think that compiling some software is somehow easier than 'say?') and other shit that you have to pay for!
I suppose you are all probably just doing it on purpose to piss off jwz.
Hmm, now that you mention it.
Um, the Cepstral voices work with the built-in Mac OS X text-to-speech engine. They are plug-ins for it. They extend it. They make it work better. In this case the "shit" that you "have to pay for" is completely optional.
Thirty dollars? I can get one of my students to sit under the desk and read it off an LCD for that price!
If I'm going to pay someone $30 to get under my desk, "reading text off an LCD" might not be the first thing I'd want them to do, but maybe that's just me.
I wonder if there's a "talking with your mouth full" voice module out there somewhere?
I laughed. Giggled, even.
You're a dumbass.
Dude, holy crap...
Either I'm a retard when it comes to computers, or that festival program is really freakin' hard to install. Compiling? C++? ARGH! Plus, there's like 23 different files to download and I have no clue which ones I need!
Yeah, I guess I could Google for that C++ compiler thing but...isn't there anything out there that's a tad easier to install?
who are you?
i searched for crack monkey on google and found this
It's official then, I now hate google.
I'm your mom, and I should have sold you when I had the chance.
automator makes it easy. you can set up automator to allow you to drag a text file onto a workflow that will create an audio file. You even get a choice of what voice to use.
Assuming you have 10.4 of course.
Wow, that sounds so much easier than using /usr/bin/say!
But hey thanks for reading before posting. You know how that really makes my day.
What does "drag a text file onto a workflow" mean anyway?
Once upon a veery long time ago there was such nifty tool for DOS. But that looks more like one of useless facts I have.