private static MaryInterface marytts;
private Voice defaultVoice;
public void activate() {
try {
marytts = new LocalMaryInterface();
Locale systemLocale = Locale.getDefault();
if (marytts.getAvailableLocales().contains(systemLocale)) {
defaultVoice = Voice.getDefaultVoice(systemLocale);
}
if (defaultVoice==null) {