!7 import com.sun.speech.freetts.Voice; import com.sun.speech.freetts.VoiceManager; p { S words = "Hello there! Now M BROLA and Free T T S work together!"; VoiceManager freettsVM; Voice freettsVoice; // Most important part! System.setProperty("mbrola.base", f2s(userDir("dev/mbrola"))); freettsVM = VoiceManager.getInstance(); // Simply change to MBROLA voice freettsVoice = freettsVM.getVoice("mbrola_us1"); // Allocate your chosen voice freettsVoice.allocate(); // Make her speak! freettsVoice.speak(words); } // speech libraries! lib 1000722 lib 1000723 lib 1000724 lib 1000730 lib 1000731 lib 1000732 lib 1000726 lib 1000727