A student in my Programming Media II class wanted to use some text-to-speech for a project, so I created a processing library that is a light wrapper around Apple’s Java API for accessing the speech engine. The library allows you to set the current voice and speak away. Of course, its mac only.

You can get the library from the project page and you can download the eclipse project for the library from github.

4 Comments

  1. peripecio says:

    Hi!

    I’m trying to run in an Snow Leopard the examples included in library but i’va an error:

    ClassNotFoundException: com.apple.cocoa.application.NSSpeechSynthesizer

    What colud be the problem?

    Thanks in advance!

  2. chandler says:

    Sadly, Apple removed all Cocoa Java classes in Snow Leopard. I’m going to try and get it working again using rococoa. Until i get that sorted perhaps take a look at ttslib .

  3. peripecio says:

    Thanks a lot for yr answer!

    I’m new with apple and i’m not familiar with apple libraries and architecture.

    DO you know about some java or c++ open library to give speech-to-txt functionallity?

  4. chandler says:

    For java the ttslib mentioned above is a good place to start. Or if you are familiar with c++ it isn’t too much obj-c to use NSSpeechSynthesizer.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*