Are you interested in making your application speak? Converting text to speech within your application is fairly simple with the help of a few libraries. Let’s take a look at what is required to get FreeTTS and MBROLA working within your Java application.
In our earlier tutorial, JavaFX Text to Speech we introduced an application to allow us to configure and test a collection of voices from the FreeTTS and MBROLA voice synthesizer engines. This application was based on the libraries and tools we will install here. Once all is installed we will get our simple Java application to talk.
To download the code and the libraries take a look at this blog, JavaFX and adding basic speech.