1

I am creating a native OS X application, and I was surprised at how difficult it is to find documentation on text-to-speech with native APIs. What would be the easiest way of having my application speak (using Alex's voice for example)?

Thanks!

2 Answers 2

2

What you call “text-to-speech” is also commonly abbreviated as TTS and alternatively called “speech synthesis”.

The Cocoa class NSSpeechSynthesizer is the API to use. The canonical sample code is CocoaSpeechSynthesisExample.

There also is a guide to “Speech Programming Topics” and a “Speech Synthesis Programming Guide” available.

Finally, there are lower level APIs available if you need access to stuff that is abstracted away for you by NSSpeechSynthesizer.

Sign up to request clarification or add additional context in comments.

Comments

0

Look at this please NSSpeechRecognizer example

its a text to speech built in library for OS X .. NSSpeechRecognizer

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.