!7 lib 1400106 lib 1400107 lib 1400108 lib 1400110 lib 1400111 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; System.setProperty("freetts.voices", "de.dfki.lt.freetts.en.us.MbrolaVoiceDirectory"); // 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); }