Re: AIFF Writer Component exits
Re: AIFF Writer Component exits
- Subject: Re: AIFF Writer Component exits
- From: Kurt Revis <email@hidden>
- Date: Thu, 24 Oct 2002 19:29:13 -0700
On Thursday, October 24, 2002, at 06:32 PM, Phil Burk wrote:
I am trying to capture the audio output of the Speech manager to an
AIFF
file. I am trying to use the technique here:
http://developer.apple.com/qa/snd/snd15.html
Does anyone know how to make this work, or is there an easier
approach???
There may be an easier way, if you don't need all of the Speech Manager
functionality. Under 10.2, there is a standard AppleScript addition
that will speak text, and it can direct its output to a file. So for
example:
1. Open /Applications/AppleScript/ScriptEditor
2. type this into the window (filling in the path as appropriate):
say "foo bar" saving to "MyDisk:Users:username:foobar.aiff"
3. Press the Run button.
In the Script Editor, File->Open Dictionary... and select Standard
Additions to see the possible arguments to 'say'.
You can of course run a script from within an application, or from the
command line (using the osascript command). I don't know if there is a
lower level interface to this functionality though (I don't know much
about the Speech Manager).
--
Kurt Revis
email@hidden
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.