 |
 |
Convert text to speech to sound file?
|
 |
|
 |
Fresh-Faced Recruit
Join Date: Jan 2002
Location: NH USA
Status:
Offline
|
|
Anyone know of an application that can convert text into speech, and then save it as some sort of sound file?
[email protected]
|
|
|
|
|
|
 |
|
 |
Senior User
Join Date: Aug 2002
Location: Oxford, England
Status:
Offline
|
|
It is possible. Theres an application on versiontracker that does it I believe - don't remember the name.
|
Luke
|
|
|
|
|
 |
|
 |
Fresh-Faced Recruit
Join Date: Dec 2002
Status:
Offline
|
|
I just did an experiment with Audio Hijack. I launched TextEdit from within Audio Hijack and then pasted some text into a blank document. Then I started recording in Audio Hijack, selected the text in TextEdit and selected 'Start Speaking Text' from the Speech section of the Services menu.
The result - Audio Hijack recorded the spoken text as an AIFF file. Audio Hijack is $16 but I think that it is a great little app.
Jeremy
|
|
|
|
|
|
 |
|
 |
Senior User
Join Date: Dec 1999
Location: Bar Harbor
Status:
Offline
|
|
|
I'm cookoo for Cocoa Apps!
|
|
|
|
|
 |
|
 |
Mac Elite
Join Date: Aug 2001
Location: Madison, WI
Status:
Offline
|
|
Somewhere I picked up this Applescript:
property voice_names : {"Agnes", "Albert", "Bad News", "Bahh", "Bells", "Boing", "Bruce", "Bubbles", "Cellos", "Deranged", "Fred", "Good News", "Hysterical", "Junior", "Kathy", "Organ", "Princess", "Ralph", "Trinoids", "Victoria", "Whisper", "Zarvox"}
property default_voice : "Victoria"
set this_voice to ""
set this_string to "Welcome to Mac OS Ten!"
try
repeat
display dialog "Enter the text to render to a sound file:" default answer this_string buttons {"Cancel", "Try", "Render"} default button 3
copy the result as list to {this_string, button_pressed}
if this_string is "" then
beep
else if the button_pressed is "Try" then
set this_voice to (choose from list voice_names default items default_voice with prompt "Pick the voice to use:") as string
if this_voice is "false" then
exit repeat
else
set default_voice to this_voice
end if
say this_string using this_voice
else
if this_voice is "" then
set this_voice to (choose from list voice_names default items default_voice with prompt "Pick the voice to use:") as string
if this_voice is "false" then
exit repeat
else
set default_voice to this_voice
end if
end if
set the target_file to choose file name with prompt "Name and location for the sound file:" default name "rendered.aiff"
say this_string using default_voice saving to target_file
exit repeat
end if
end repeat
on error error_message number error_number
if the error_number is not -128 then
display dialog error_message buttons {"Cancel"} default button 1
end if
end try
cut and paste into script editor, run. It spits out AIFF files.
|
OS X: Where software installation doesn't require wizards with shields.
|
|
|
|
|
 |
|
 |
Dedicated MacNNer
Join Date: Feb 2003
Location: Norwich, England
Status:
Offline
|
|
|
|
|
|
|
|
 |
|
 |
Mac Elite
Join Date: Aug 2001
Location: Madison, WI
Status:
Offline
|
|
They want $4 for that? I'll let you use the script above for $3!
|
OS X: Where software installation doesn't require wizards with shields.
|
|
|
|
|
 |
 |
|
 |
|
|
|

|
|
 |
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
|
|
|
|
|
|
 |
 |
 |
 |
|
 |