 |
 |
Text To Speech Question: How do you get it to say something from a text doc?
|
 |
|
 |
|
Junior Member
Join Date: Sep 2004
Status:
Offline
|
|
And better yet, how can you record it in OSX?
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2002
Status:
Offline
|
|
You can use Terminal.app.
[codex]SAY(1) Speech Synthesis Manager SAY(1)
NAME
say - Convert text to audible speech
SYNOPSIS
say [-v voice] [-o out.aiff] [-f file | string ...]
DESCRIPTION
This tool uses the Speech Synthesis manager to convert input text to
audible speech and either play it through the sound output device cho-
sen in System Preferences or save it to an AIFF file.
OPTIONS
string
Specify the text to speak on the command line. This can consist of
multiple arguments, which are considered to be separated by spaces.
-f file
Specify a file to be spoken. If file is - or neither this parameter
nor a message is specified, read from standard input.
-v voice
Specify the voice to be used. Default is the voice selected in Sys-
tem Preferences.
-o out.aiff
Specify an AIFF file to be written.
If the input is a TTY, text is spoken line by line, and the output
file, if specified, will only contain audio for the last line of the
input. Otherwise, text is spoken all at once.[/codex]
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: May 2007
Status:
Offline
|
|
Or, you could just highlight what you want spoken, right click, and go to the "speech" menu...
For recording, Terminal seems the only OS X built in way...
|
Unibody MacBook Pro 2.53 GHz, 24" LED Cinema Display, 8 GB iPod Touch 2G
adamfishercox.com
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Feb 2005
Location: 888500128
Status:
Offline
|
|
Thank you! 
|
|
|
| |
|
|
|
 |
|
 |
|
Administrator 
Join Date: May 2000
Location: California
Status:
Online
|
|
Highlight the text you want read (or hit Command-A to highlight everything). Go to the App's menu -> Services -> Speech -> Start Speaking Text
This only seems to work in Cocoa apps.
|
|
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Feb 2005
Location: 888500128
Status:
Offline
|
|
Doesn't record, though, which the applescript linked to above does.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Jan 2001
Location: Between Sydney and Melbourne
Status:
Offline
|
|
I find the speech recognition works a bit better if you set the font size above 11 and choose a more readable font like Times New Roman. im only joking!
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|