Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

andyinmanc

macrumors newbie
Original poster
Jul 11, 2003
6
0
Hi,
I'm trying to use the build in speech synthesis API in MacOSX with Java but am having a nightmare.

I've been unable for ages to make it say anything!

Can anyone make the Mac talk using Java?? Anything will do, thanks,


Andy
 
The only way I know is using Applescript using the 'say' command. Simple, I know... but I don't know if there's a way to implement Applescript in Java.

edit: I did a quick Google search and came up with this... look at the 'Speech in Java' section. Seems Apple has created a Speech Framework for Java.



irmongoose
 
I've done the AppleScript thing as well, but have struggled running it from Java.

Cheers though,
any other thoughts anyone?


Andy
 
Oh yes just seen the end of your other message sorry.

I have been spending days researching the Apple Speech framework, but the documentation is rubbish. I haven't been able to get it to work.

I even have examples of 3 different methods (all compiling) but won't work, I can't figure it out!

Just hoping someone has done this before.

Andy
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.