If you post to the speech-dev list you'll likely get a more detailed reply as Apple's TTS engineers hang out there.
I believe it is possible to hook up the synthesizer as an Audio Unit and capture the output that way. A more basic approach would be to use the venerable UNIX mkfifo function to create a file which is really a pipe: http://linux.die.net/man/3/mkfifo Then you can direct the synthesizer to write down one end of it and read the other end to get the data without going via the disk. But really ask on the other list. > On Feb 6, 2014, at 7:15 PM, Alex Hall <mehg...@gmail.com> wrote: > > Hello again, > The NSSpeechSynthesizer can output speech to a sound output device or a file. > However, I want to capture the output and store it as audio data, so I can > string together multiple outputs and then save the whole thing to a file. > I've looked, but the only link I found that might have offered this is full > of deprecated functions. Is what I'm looking to do possible, or am I better > off somehow re-loading all the outputted files and stitching them together > after the fact? That just seems like a less graceful, more disk-intensive > process than capturing the data in real-time and performing the manipulations > then. Thanks! > > -- > Have a great day, > Alex > mehg...@gmail.com > > > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/lordpixel%40mac.com > > This email sent to lordpi...@mac.com
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com