CocoaSpeechSynthesisExample

Last Revision:
Version 2.1, 2015-07-10
Replaced depreciated APIs (Get/SetSpeechInfo => Copy/SetSpeechProperty, NSRunAlertPanel), Toll-free bridged NSObjects to CFObjectRefs where-ever possible (all ARC safe). Updated to Modern Objective C syntax (NSDictionary/NSArray literals) Fast enumeration
(Full Revision History)
Build Requirements:
OS X 10.10 SDK or later
Runtime Requirements:
OS X 10.8 or later

Shows how to use the Speech Synthesis API from within a OS X Cocoa application. Once built, the application provides access to virtually all the features of the Speech Synthesis Framework. The application code provides examples of the following concepts:

- Word highlighting using the word callback. - Simple mouth animation using the phoneme callback. - Saving of generated speech audio data to a file. - Creation of a voice pop-up menu. - Starting, stopping, pausing and continuing of the speech generation process.