That someone was me and thanks for the new command. I didn't know afconvert existed. Seems like there ought to be a way to pipe the file output from say into afconvert but I wasn't able to figure that out. While fiddling with that I also stumbled upon another new command pbcopy. Whatever you pipe into pbcopy goes onto the Mac clipboard. So I could do

ls | pbcopy

and then goto textedit and paste in a current directory list. As you might expect, there is also pbpaste.

CB

On 8/30/12 9:30 AM, - wrote:

Someone suggested:

"There is probably some clever way to do it from the GUI but I'm
comfortable doing stuff in terminal so here is how I would do it. Get a
text file with what you want said. In terminal do

say -o audiofile.aiff < textfile.txt

That will use voiceover to generate an aiff audio file of the spoken
version of whatever text is in textfile.txt. You can then load up that
AIFF into iTunes to convert it to mp3 or use Sox if you have that"

Me:

While in terminal use afconvert to convert audio file type. Instead of the aif output for say choose the caf instead. Afconvert can then convert the caf type into mp3.

Afconvert can also handle ios types for use on iphone etc.

XB


--
¯\_(ツ)_/¯

--
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/macvisionaries?hl=en.

Reply via email to