In applescript there is a say command. Is there something like this for objective c?
Thanks, Elijah
In applescript there is a say command. Is there something like this for objective c?
Thanks, Elijah
Are you switching to the windows environment?? If so, you can utilized the Speech SDK:
http://msdn.microsoft.com/en-us/library/ms723627(VS.85).aspx
Here is an example of how to implement it in C# (sorry, not that familiar with C, hopefully its helpful):
If you aren't switching to windows, hopefully there is a way to use the say SKD...
On the iPhone there is no way. If you are talking about mac code, Cocoa has a class to do this (NSSpeechSynthesizer).
Code:
NSSpeechSynthesizer * syn = [[NSSpeechSynthesizer alloc] init];
[syn startSpeakingString:@"my string"];