Can Rev turn text to speech and record it?

Kay C Lan lan.kc.macmail at gmail.com
Fri Apr 10 11:19:16 EDT 2009


On Fri, Apr 10, 2009 at 11:02 PM, BNig <niggemann at uni-wh.de> wrote:

>
> ---------------
> set myDesktop to (path to desktop) as text
> set myfilePath to myDesktop & "myRecording.aif"
> set myText to "What to say, this is a recorded message and nothing more"
> say myText saving to file myfilePath
> set myExportPath to myDesktop & "myRecording.wav"
> set myPrefPath to myDesktop & "QTExportSettingWAV"
> tell application "QuickTime Player"
>        open file myfilePath
>        export document 1 as wave replacing yes to file myExportPath using
> settings
> file myPrefPath
> end tell
> ---------------
>

Brilliant! You'd never figure that out reading an AppleScript manual; you
gotta love this List.



More information about the use-livecode mailing list