我想知道是否可以使用来自here的额外语音与FreeTTS,而不仅仅是us1,us2和us3。特别是非英语的声音。
import com.sun.speech.freetts.Voice;
import com.sun.speech.freetts.VoiceManager;
public class TestTTS {
public static void main(String [] args) {
VoiceManager freettsVM;
Voice freettsVoice;
System.setProperty("mbrola.base", "C:\\Java\\mbrola\\mbr301d");
freettsVM = VoiceManager.getInstance();
freettsVoice = freettsVM.getVoice("mbrola_us1");
freettsVoice.allocate();
freettsVoice.speak("Hello");
}
}
如果没有,那该声音怎么用?
由于