PDA

View Full Version : Speech Synthesis - Desperate Help Needed




andyinmanc
Jul 29, 2003, 10:07 AM
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



irmongoose
Jul 29, 2003, 10:16 AM
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 (http://developer.apple.com/ue/speech/)... look at the 'Speech in Java' section. Seems Apple has created a Speech Framework for Java.



irmongoose

andyinmanc
Jul 29, 2003, 10:19 AM
I've done the AppleScript thing as well, but have struggled running it from Java.

Cheers though,
any other thoughts anyone?


Andy

irmongoose
Jul 29, 2003, 10:20 AM
Look at my post above.



irmongoose

andyinmanc
Jul 29, 2003, 10:27 AM
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