Which laguages does FreeTTS Supported.

Hi all !
I want use FreeTTS for my application. I can use the code bellow to read the Hello World in English.
How can i read another language for example German or French,...
My code here :
Can anybody help me ?
package com.myprj.demo;
//Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov Date: 5/16/2009 1:26:02 PM
//Home Page : http://members.fortunecity.com/neshkov/dj.html - Check often for new version!
//Decompiler options: packimports(3)
//Source File Name: HelloWorld.java
import java.io.File;
import java.io.PrintStream;
import java.util.Locale;
import javax.speech.Central;
import javax.speech.EngineList;
import javax.speech.synthesis.*;
public class HelloWorld
public HelloWorld()
private static String noSynthesizerMessage()
String message = "No synthesizer created. This may be the result of any\nnumber of problems. It's typically due to a missing\n\"speech.properties\" file that should be at either of\nthese locations: \n\n";
message = message + "user.home : " + System.getProperty("user.home") + "\n";
message = message + "java.home/lib: " + System.getProperty("java.home") + File.separator + "lib\n\n" + "Another cause of this problem might be corrupt or missing\n" + "voice jar files in the freetts lib directory. This problem\n" + "also sometimes arises when the freetts.jar file is corrupt\n" + "or missing. Sorry about that. Please check for these\n" + "various conditions and then try again.\n";
return message;
public static void listAllVoices(String modeName)
System.out.println();
System.out.println("All " + modeName + " Mode JSAPI Synthesizers and Voices:");
SynthesizerModeDesc required = new SynthesizerModeDesc(null, modeName, Locale.US, null, null);
EngineList engineList = Central.availableSynthesizers(required);
for(int i = 0; i < engineList.size(); i++)
SynthesizerModeDesc desc = (SynthesizerModeDesc)engineList.get(i);
System.out.println(" " + desc.getEngineName() + " (mode=" + desc.getModeName() + ", locale=" + desc.getLocale() + "):");
Voice voices[] = desc.getVoices();
for(int j = 0; j < voices.length; j++)
System.out.println(" " + voices[j].getName());
public static void main(String args[])
listAllVoices("general");
String voiceName = args.length <= 0 ? "kevin16" : args[0];
System.out.println();
System.out.println("Using voice: " + voiceName);
try
SynthesizerModeDesc desc = new SynthesizerModeDesc(null, "general", Locale.US, null, null);
Synthesizer synthesizer = Central.createSynthesizer(desc);
if(synthesizer == null)
System.err.println(noSynthesizerMessage());
System.exit(1);
synthesizer.allocate();
synthesizer.resume();
desc = (SynthesizerModeDesc)synthesizer.getEngineModeDesc();
Voice voices[] = desc.getVoices();
Voice voice = null;
int i = 0;
do
if(i >= voices.length)
break;
if(voices.getName().equals(voiceName))
voice = voices[i];
break;
i++;
} while(true);
if(voice == null)
System.err.println("Synthesizer does not have a voice named " + voiceName + ".");
System.exit(1);
synthesizer.getSynthesizerProperties().setVoice(voice);
synthesizer.speakPlainText("Hello World!", null);
synthesizer.waitEngineState(0x10000L);
synthesizer.deallocate();
System.exit(0);
catch(Exception e)
e.printStackTrace();
Best regards!

Hi all !
I want use FreeTTS for my application. I can use the code bellow to read the Hello World in English.
How can i read another language for example German or French,...
My code here :
Can anybody help me ?
package com.myprj.demo;
//Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov Date: 5/16/2009 1:26:02 PM
//Home Page : http://members.fortunecity.com/neshkov/dj.html - Check often for new version!
//Decompiler options: packimports(3)
//Source File Name: HelloWorld.java
import java.io.File;
import java.io.PrintStream;
import java.util.Locale;
import javax.speech.Central;
import javax.speech.EngineList;
import javax.speech.synthesis.*;
public class HelloWorld
public HelloWorld()
private static String noSynthesizerMessage()
String message = "No synthesizer created. This may be the result of any\nnumber of problems. It's typically due to a missing\n\"speech.properties\" file that should be at either of\nthese locations: \n\n";
message = message + "user.home : " + System.getProperty("user.home") + "\n";
message = message + "java.home/lib: " + System.getProperty("java.home") + File.separator + "lib\n\n" + "Another cause of this problem might be corrupt or missing\n" + "voice jar files in the freetts lib directory. This problem\n" + "also sometimes arises when the freetts.jar file is corrupt\n" + "or missing. Sorry about that. Please check for these\n" + "various conditions and then try again.\n";
return message;
public static void listAllVoices(String modeName)
System.out.println();
System.out.println("All " + modeName + " Mode JSAPI Synthesizers and Voices:");
SynthesizerModeDesc required = new SynthesizerModeDesc(null, modeName, Locale.US, null, null);
EngineList engineList = Central.availableSynthesizers(required);
for(int i = 0; i < engineList.size(); i++)
SynthesizerModeDesc desc = (SynthesizerModeDesc)engineList.get(i);
System.out.println(" " + desc.getEngineName() + " (mode=" + desc.getModeName() + ", locale=" + desc.getLocale() + "):");
Voice voices[] = desc.getVoices();
for(int j = 0; j < voices.length; j++)
System.out.println(" " + voices[j].getName());
public static void main(String args[])
listAllVoices("general");
String voiceName = args.length <= 0 ? "kevin16" : args[0];
System.out.println();
System.out.println("Using voice: " + voiceName);
try
SynthesizerModeDesc desc = new SynthesizerModeDesc(null, "general", Locale.US, null, null);
Synthesizer synthesizer = Central.createSynthesizer(desc);
if(synthesizer == null)
System.err.println(noSynthesizerMessage());
System.exit(1);
synthesizer.allocate();
synthesizer.resume();
desc = (SynthesizerModeDesc)synthesizer.getEngineModeDesc();
Voice voices[] = desc.getVoices();
Voice voice = null;
int i = 0;
do
if(i >= voices.length)
break;
if(voices.getName().equals(voiceName))
voice = voices[i];
break;
i++;
} while(true);
if(voice == null)
System.err.println("Synthesizer does not have a voice named " + voiceName + ".");
System.exit(1);
synthesizer.getSynthesizerProperties().setVoice(voice);
synthesizer.speakPlainText("Hello World!", null);
synthesizer.waitEngineState(0x10000L);
synthesizer.deallocate();
System.exit(0);
catch(Exception e)
e.printStackTrace();
Best regards!

Similar Messages

  • Google mail tells me that I have an outdated version of Firefox which it does not support. I have Firefox 8.0.1. Why is there a problem?

    Google mail tells me that I have an outdated version of Firefox which it does not support. I have Firefox 8.0.1. Why is there a problem? I am using OSX 7.2
    When trying to access the URL after startup or waking the computer, I get the following message
    sec_error_ocsp_server_error
    The I will get a message that my version of Firefox will not work with google mail.

    You can check the OCSP settings.
    *Firefox > Preferences > Advanced > Encryption: Certificates > Validation:
    *[X] "Use the Online Certificate Status Protocol (OCSP) to confirm the current validity of certificates"
    *[X] "Validate a certificate if it specifies an OCSP server"
    *[ ] "When an OCSP server connection fails, treat the certificate as invalid"

  • HT204389 When iOS 6 Arrives, Which Countries does it support?

    When iOS 6 Arrives, Which Countries does it support? Does it work in Countries like India..? Has any one tried it ?
    Thanks

    Since it has not been released, and won't be released until this fall, your questions cannot be answered. You'll find out when everyone finds out: when Apple releases iOS 6.0.

  • Which HDV does FCP support?

    I'm interested in shooting in HDV and cut it on FCP. But there seems to be 2 different types of HDV from Sony, and JVC. I'm quite confused:
    1) Which one can be cut on FCP.
    2) Can it be output to any deck such as Digibetacam?
    3) Can it be input or output to a deck by component, S-video or composit? Will it lose quality?
    4) does FCP support the new Panasinic P2 camera?
    5) Fianlly, is there any different between the Sony & JVC HDV's, both in cameras and in Decks (if there's any)?
    I'm leaning towards the JVC HDV. But if FCP does not support it, I'll have a problem.
    Thanks for anyone with any insight.

    1) FCP mainly supports the Sony format, but also supports the JVC format, although ONLY the 720p30 setting, not 24p. You can also use HDVxDV to convert the footage to "I" frames, which I hear is a decent way to cut HDV.
    2) Yes, but only if you have a capture card. Outputting to digibeta will always require a capture card. And you will have to render your HDV footage in an SD sequence...as Digibeta is an SD format.
    3) Yes, it can. This is probably the better way to import HDV footage, IMHO. With the use of an HD capture card, you can import HDV in a different HD format which is easier to work with. Lose quality, yes, some quality will be lost, but nothing you'd notice.
    4) It supports the DVCPRO HD format, but as of yet there isn't a card reader for the P2 cards designed for the Mac yet. That will be remedied soon. But hey, the camera isn't even OUT yet, so patience man!
    5) Yes, there is a difference. They record different flavors of HDV. Sony and Canon record using a long GOP (group of pictures) and JVC uses a short GOP.
    If you lean towards the JVC, only shoot 720p30 if you intend on editing with FCP, or get an HD capture card and plenty of high speed storage if you want to capture it in a different HD format.

  • Which OS does BO support?

    Hi all,
    Would you like to give me what OS support BO? Can you give me document about this?
    p/s: Does BO support Window 2008 server?
    Thanks
    Duypm

    Hi Duymp,
    please check the following link:
    [https://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000712240&_SCENARIO=01100035870000000202]
    Just select + BusinessObjects Edge Series (formerly Crystal Decisions)+ on the navigation bar (left side)
    Regards,
    Stratos

  • Which filetypes does iMovie support?

    I recently recorded some HDV footage (.M2T mpeg) for someone else to edit in iMovie. I added a soundtrack in Adobe Premiere on a PC and need to export it out. Should I convert it to something else?
    Alex

    the file icons have padlocks on the Mac
    You can change the permissions in Get Info.
    You need to convert the VOB files in the TS-Folder of the DVD back to DV which iMovie is designed to handle. For that you need mpegStreamclip:
    http://www.squared5.com/svideo/mpeg-streamclip-mac.html
    which is free, but you must also have the  Apple mpeg2 plugin :
    http://store.apple.com/us/product/D2187Z/A/quicktime-mpeg-2-playback-component-f or-mac-os-x
    (unless you are running Lion in which case see below))
    which is a mere $20.
    Another possibility is to use DVDxDV:
    http://www.dvdxdv.com/NewFolderLookSite/Products/DVDxDV.overview.htm
    which costs $25.
    For the benefit of others who may read this thread:
    Obviously the foregoing only applies to DVDs you have made yourself, or other home-made DVDs that have been given to you. It will NOT work on copy-protected commercial DVDs, which in any case would be illegal.
    And from the TOU of these forums:
    Keep within the Law
    No material may be submitted that is intended to promote or commit an illegal act.
    Do not submit software or descriptions of processes that break or otherwise ‘work around’ digital rights management software or hardware. This includes conversations about ‘ripping’ DVDs or working around FairPlay software used on the iTunes Store.
    If you are running Lion:
    From the MPEG Streamclip homepage
    The installer of the MPEG-2 Playback Component may refuse to install the component in Lion. Apple states the component is unnecessary in Lion, however MPEG Streamclip still needs it. See this:
    http://support.apple.com/kb/HT3381
    To install the component in Lion, please download MPEG Streamclip 1.9.3b7 beta above; inside the disk image you will find the Utility MPEG2 Component Lion: use it to install the MPEG-2 Playback Component in Lion. The original installer's disk image (QuickTimeMPEG2.dmg) is required.
    The current versions of MPEG Streamclip cannot take advantage of the built-in MPEG-2 functionality of Lion. For MPEG-2 files you still need to install the QuickTime MPEG-2 Playback Component, which is not preinstalled in Lion. You don't have to install QuickTime 7.

  • Which cameras does lightroom support?

    Where do I find a list of cameras,   other software such as iskysoft dvd maker for mac, and canon printers. 

    The full list: https://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html
    There is a separate list of cameras supported for tethering, which I'm sure you can find using your favorite search engine

  • Which OS does PRODUCTIVITY support?

    Hi all,
    Please, would you like to give me know what OS support PRODUCTIVITY PARK?
    p/s: Does PRODUCTIVITY PARK support for window2008 server?
    Thanks
    Duypm

    Hi
    You could the relevant information what you are looking at www.service.sap.com/pam
    Regards
    Uday

  • Which Ipad2 does not support facetime?

    Hi ,
    I live in Dubai .. I want to buy an Ipad
    how can I know from the sticker behind the box that this ipad is an Miidle east version
    or brought from US
    or from Hong kong .. is there any more?
    I've that Ipad from Middle east version do not support the face time and i really want it.
    How to avoid buying the WRONG Ipad
    note : the seller don't know about this application thats why their answers are not good enough to trust them!!
    I need your help

    You have now posted THREE times with the same question. Do a little research like I did for you on this subject. Enter the model numbers in the search field in your browser and see what you can find.
    I responded to your first post. Lighten up a little and look on your own!

  • Does the later 2009 MacBook support the Apple DVI to Video Adapter (s-video). I want to connect it to an old tv which does not support HDMI. Any suggestions?

    I have a late 2009 MacBook which I want to connect to an old LG tv. The tv does not support HDMI it only has the (red, while, and yellow) ports. Sorry I dunno the exact name for it.
    So I was thinking of using the Apple Mini DVI to Video Adapter (s-video), link below...
    http://store.apple.com/Catalog/dk/Images/M9319_screen.jpg
    But I'm afraid that the MacBook might not support the adapter.
    Can anyone give me a solution for this? Is there an alternative way of doing this? I'm kinda new to apple display adapters.

    The Late 2009 model 6,1 has a Mini DisplayPort not the Mini-DVI. To see which model you have go to the Apple in the upper left corner and select About This Mac, then click on More Info. When the System Profiler comes up check the Model Identifier.
    Composite is the name for the red, white and yellow RCA plugs on your TV or red, white and S-Video plugs. If you want to use the Composite input on your TV there’s no Mini DisplayPort to Composite. You’ll have to get a Mini DisplayPort to VGA adapter http://www.amazon.com/s/ref=nb_sb_ss_i_1_19?url=search-alias%3Delectronics&field -keywords=mini+displayport+to+vga&sprefix=mini+Displayport+to and a VGA Adapter to TV S-Video RCA Out Cable for PC Video. http://www.amazon.com/VGA-Adapter-S-Video-Cable-Video/dp/B000Y7T5UU/ref=sr_1_7?s =electronics&ie=UTF8&qid=1316369974&sr=1-7
    Only the Yellow plug or the S-Video plug for video will work. For sound you'll also need audio cables to the TV using a 3.5mm stereo headphone jack to RCA sound plugs. You attach it from the headphone jack of your MacBook to the appropriate input plugs on your TV  http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=min i-dvi&x=9&y=13#/ref=nb_sb_ss_i_2_19?url=search-alias%3Daps&field-keywords=macboo k+audio+cable&sprefix=macbook+audio+cable&rh=i%3Aaps%2Ck%3Amacbook+audio+cable

  • AS I  FOUND OUT LATE, LION DOES NOT SUPPORT ROSETTA, WHICH SUPPORTS QUICKEN AND CLASSIC AOL, AND MANY OTHER APPS. CAN I TAKE LION AWAY AND GO BACK TO SNOW LEOPARD?

    I found out after the install of LION, that it does not support Rosetta, which runs Quicken and the classic AOL software and a myriad of other apps.
    Can I go back to Snow Leopard? Is there a way to retrieve my thousands of saved E mails, which are saved on my Mac?
    I still see the filing cabinet with my screen name but cannot get them to open.
    Please help! Lion may roar, but the fact it does not support apps like quicken means it purrs.

    I had the Apple store wiped out my hard drive and I restore my last hard drive downloard by first placing Snow leopard DVD in the DVD drive and holding "C" when turning on the machine then I follow the instructions. I am back on snow leopard and trying out two finance software to replace Quicken for mac 2007. I am trialing Quicken essentials and ibank. They are both compatable with LION. So when I am ready will download Lion again. Also, Micorsoft Office needs to be 2011 version for it to work on Lion

  • I want to use icloud on my macbook and cant because I am using OSX10.6.8 - I want to upgrade this but I cant upgrade to mountain lion as my mac does not support this - cannot find a way to go to Version 10.7.4 which i understand supports icloud - help

    want to use icloud on my macbook and cant because I am using OSX10.6.8 - I want to upgrade this but I cant upgrade to mountain lion as my mac does not support this - cannot find a way to go to Version 10.7.4 which i understand supports icloud - help to do this please

    If you purchased Lion for your iMac, just log into the Mac App Store from your MacBook using the Apple ID under which you purchased Lion and go to the Purchases page. You will be able to download and install Lion there. 
    searching the internet i found a link to upgrtade to 10.7
    The only place you get get Lion is from the Mac App Store. If you found some other site, that was an illegal copy and almost certainly tied to someone else's Apple ID and hence unusable by you. If the link was just to the Mac App Store, see above.
    As to the problem with synchronization to iCloud, that's not a 10.6 question, so I'd suggest you take up that specific issue in either the Lion or iCloud forums, providing full details, and someone there can probably help you sort things out.
    Regards.

  • What are the points which the migration program does not support?

    Hi,
    I have a question about migration program 'RSEC_MIGRATION'.
    As described in 'Running the Enterprise Data Warehouse',
    in 'Frequently Asked Questions - Business Intelligence in SAP NetWeaver 2004s',
    this program supports about 80% automatic migration
    according to some documents.
    What is the rest 20%?
    What doesn't this program support?
    Though it may be difficult to make a list for that
    because settings of authorization objects are various,
    I think SAP should list up as many important points
    which this program does not support as possible
    by using some examples.
    If SAP thinks of delivering such a list,
    when will it be delivered?
    Best regards,
    Kaito Hosoyamada

    Hi Kaito,
    this statement relflects the fact that a program will never be able to handle all potential complex scenarios that customers might have.
    The facts that are not completely covered by the migration assistant are:
    1.) The more complex the existing authorization concept, the more manual migration work might be necessary
    2.) Customer-exit variables for 0TCTAUTHH cannot be migrated; the respective hierarchy nodes must be assigned manually
    3.) Intensive tests are highly recommended
      Cheers
       SAP NetWeaver BI Organisation

  • How do i delploy on hosted server which does not support crystal. Is RAS ?

    have to put a solution on a public hosted server. it does not support crystal . cannot add to GAC
    if i use RAS(or cr 2008 server) on another server . Web app works on public server but points to my RAS server. Do I still need components on the public server. if I do this will not work,
    any ideas
    John

    many thanks. there is some tendancy to cloud hosts. all you get is ftp access and .net ompersonation.
    just drop the webisite in. so no MSI use which also rules out merged modules
    thanks
    john

  • Which version of jsdk does 9i support

    Hi
    I am trying to compile a servlet which has calls to methods like
    setAttribute(String, object) and getRequestDispatcher(String )
    But it gives this error - NO such method supported
    What do i have to do so that my ser let runs on oracle 9I with
    these method calls
    Rgds

    Audition CS6 supports plugins up to VST 3. This does not include VSTi (virtual instrument) plugins.
    Which version of VST does CS6 support?.

Maybe you are looking for