Can Rev turn text to speech and record it?
Kay C Lan
lan.kc.macmail at gmail.com
Fri Apr 10 00:59:46 EDT 2009
On Fri, Apr 10, 2009 at 8:16 AM, Richard Miller <wow at together.net> wrote:
> Is there a reasonably elegant way (on a Mac) to have Rev turn text into
> speech and record it as a wav file...
Ah, so you are on Mac. Well, it looks like AppleScript or Automator is your
friend again. Take a look here:
Then there is the problem of converting the AIFF file to WAV. It is possible
to do this with Automator using the Import Audio Files action. You can
specify the WAV encoder, but that is all you can specify, there are no
options to set 16 bit 16k mono :-( Unfortunately Audacity doesn't have
Another option maybe to preset your iTunes Preferences to import to 16 bit
16k mono WAV format and then use AppleScript to tell iTunes to import the
files you just created with 'text-to-audio' action above. In this case
basically all you need is:
tell application "iTunes"
Of course it's probably worth testing to see what format (bit/k/channels)
the Automator Music Action 'Import Audio Files' outputs. You may be lucky,
if you set iTunes Preferences to 16 bit 16 k mono WAV and you use Import
Audio Files to encode to WAV it might possibly come out at 16 bit 16 K mono
thereby eliminating that need to actual import into iTunes.
More information about the use-livecode