How can I integrate eSpeak into the Speech Manager on OS X?

Forum
App Development & Programming
Hi all, This is Mac OS X related, but I didn’t see any Mac development forums here, so I thought I’d try my luck on this forum. I’m looking for a solution to integrate eSpeak (a third-party synthesizer) into the Mac Speech Manager so that it can be used by Voiceover. Is there a way to do this? Thanks.

Options

Comments

Submitted by mehgcap on Saturday, December 21, 2013

Member of the AppleVis Editorial Team
The only way to do this is to convert it. You'd probably need to wrap the Espeak header in a Cocoa header that converts Espeak's functions to those that OS10 requires. Google "morse synthesizer code" to find Apple's sample on writing a custom synthesizer, and that should get you started. I've wanted to do this, but I simply don't know enough about speech synthesizers to properly convert everything over to Cocoa/Objective-C. Best of luck, and let us know if you get it working.

Submitted by Parham Doustdar on Saturday, December 21, 2013

In reply to by mehgcap

Thanks a lot for the prompt and informative answer, @mehgcap. I don’t know much about synthesizers and Objective-C both. However, I’m planning on asking for help from the Objective-C coders and eSpeak’s developer to try and bridge the gap. Are you interested in a joined effort, or do you know someone who is? I’m guessing a joined effort with someone who at least knows Objective-C will both help my learning progress faster and help this project to be finished sooner. Thanks!

Submitted by mehgcap on Saturday, December 21, 2013

Member of the AppleVis Editorial Team

In reply to by Parham Doustdar

The Espeak developers might not be able to do much. I've asked on the Espeak discussion list, and no one has been able to offer anything past an iOS example that uses Espak to speak, but in the app, not as a system voice.