wiki:Speech

Speech in AsapRealizer

AsapRealizer includes two default Engines to handle BML 1.0 <speech> behaviors: a SpeechEngine, that uses TTS to speak the behavior and a TextEngine that simply prints the speech to a desired text output (JLabel, Android UI element, stdout, ..). More information on configuring these engines can be found at their own wiki pages (SpeechEngine, TextEngine).

BML support and extensions

Both Engines support default BML 1.0 speech. In addition to that, the SpeechEngine supports (depending on its connected TTS system):

The SpeechEngine also supports a custom BMLT attribute extension for voice selection: e.g.

<speech id="s1" xmlns:bmlt="http://hmi.ewi.utwente.nl/bmlt" bmlt:voice="myvoice"><text>Hello world.</text></speech>