|
|
Speak a text file to AIFF
If you'd like to synthesize a lot of text (more than a small phrase in a dialog box), you can type it into a text file in your favorite text editor. Then you can run the following script:
set file_to_read to (choose file with prompt "What should I read?") open for access file_to_read set speak_me to read file_to_read say speak_me saving to (choose file name with prompt ¬ "Save sound file..." default name "speak_me.aiff") When it asks what file to read, jut choose the text file into which you typed your text. Or if you wanted, you could save a web page from your web browser as text (not as source) and have it read that file to you.
Speak a text file to AIFF
Actually, it looks like I figured that out for nothing...
Speak a text file to AIFF
Here's a Bourne shell version (which is perhaps more convenient for use from the Terminal):
backslash screw-up
Those double backslashes should be single backslashes. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|