this.commands += "ST http://translate.google.com/translate_tts?ln=en&q=\"" + tts + "\"\n";
Google TTS sound pretty nice, but it has something like 97 character limitation. I'll split these later and just stream them back-to-back, or make my own service with festival and a bit of php.
To make a lot of scripts to work easily with nabaztag, I made some dirty API function to Worker.java. Parameter "sn" is for serial number, "tts"is for text-to-speech string and "stream" is for MP3s and web radios. It could use some kind of password or "token" like violet is using.
I'll put a video or something up later, right now I'm getting local weather in speech by pressing the button, and random funny movie sound clips when I show the bunny a RFID tag. Good times.
Ei kommentteja:
Lähetä kommentti