
CoInitialize - Initializes the COM library on the current thread. In my simple application I use 3 functions which comes from Component Object Model (COM) library. If I had installed the application for speech recognising, which supported SAPI 5, I could see it in the node "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Speech\\Recognizers". It's interesting that Speech API can be used not only for speech synthesising but also for speech recognising. You can indicate the voice you are interested in by passing of attributes like Age, Gender, Language, Name and Vendor. There is a list of all voices you can use.

#IVONA VOICE TESTING WINDOWS#
How do you know what to write here? Please open the windows registry (regedit command) and open the node "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices". This attribute is used by the function " SpFindBestToken" for indicating the speech synthesiser and the voice. When I call the function "speak(.)" I pass the text which will be read aloud and the description of the voice which will be used. To do that, I use ProcessBuilder class or method.īefore I describe the "speak(.)" function, look at the "main(.)" function. I can execute EXE application with proper command-line arguments from Java. There is also one more solution, a little dirty. Thanks to this I will use C++ application in my Java application. If I could use SAPI in the application written in Java, I can, for example, make in C++ the library DLL (Dynamic-link library) and take the benefit from Java Native Interface. My simple application is written in the C++ language. It is required to program it in C++ or C# or Visual Basic. SAPI 5 is not available from Java Virtual Machine position. The documentation for SAPI is available at the website MSDN Library. SAPI 5 is the native Microsoft Speech API (SAPI). It is important that the voices of this synthesiser support SAPI 5 interface. I did it and I'm still testing these voices. As you can see the Brian voice costs 45$. It is quite pleasant to hear something like this, knowing this is a software. For example English language involves Amy, Brian and Emma voices. At this website you can see all available IVONA voices. It speaks in over 18 languages, Polish, English, German as well. I have found good speech synthesiser, called IVONA. Would you like to have your e-book read aloud like this? I think you would be tired after listening to a couple of paragraphs.

On the left side you can see the links to the sound files. If you see release notes page, you read that the development of this library was finished in 2005. This is the link to the website of this library.
#IVONA VOICE TESTING FREE#
I found free library FreeTTS which was entirely written in Java language. I program mostly in Java language but I haven't found any solution which is completed and has enough quality to satisfy me. I have been looking the best speech synthesiser for couple of days which I could use in my home made applications. This is my first video I publish at YouTube and I made in English so try being nice and indulgent when you rate it.
