Download Documented open
Transcript
rlwrap urbi −i −H localhost −P 54000
Console 3 | launch remote component:
cd $SVN_ALIZE/components/tts/mary
./start−component.sh $(readlink −f ../../../share/config/config.sh)
Console 2 | create a new object and test on urbi:
var tts=UMaryTTSRTPPlayer.new;
tts.start;
tts.say("hello!");
If you want to observe the events emitted by the tts, use something like this:
at (tts.event_isSpeaking?(var isSpeaking)) {
echo("tts started speaking event with isSpeaking="+isSpeaking);
};
IMPORTANT: There are a number of settings relevant for MARY TTS, including the RTP server host, which
can be set in ../../../share/config/config.sh.
57