Speech Synthesis - Desperate Help Needed

Discussion in 'Mac Apps and Mac App Store' started by andyinmanc, Jul 29, 2003.

  1. andyinmanc macrumors newbie

    Joined:
    Jul 11, 2003
    #1
    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
     
  2. irmongoose macrumors 68030

    irmongoose

    Joined:
    Dec 3, 2001
    Location:
    Sometimes Tokyo, sometimes California
    #2
    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
     
  3. andyinmanc thread starter macrumors newbie

    Joined:
    Jul 11, 2003
    #3
    I've done the AppleScript thing as well, but have struggled running it from Java.

    Cheers though,
    any other thoughts anyone?


    Andy
     
  4. irmongoose macrumors 68030

    irmongoose

    Joined:
    Dec 3, 2001
    Location:
    Sometimes Tokyo, sometimes California
  5. andyinmanc thread starter macrumors newbie

    Joined:
    Jul 11, 2003
    #5
    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
     

Share This Page