wiki:TTSGenerator

Version 3 (modified by welberge, 6 years ago) (diff)

--

Hooking up a new TTS system to AsapRealizer's default SpeechEngine

Create a new TTSGenerator

  1. Create a ttsgenerator (that is a class that extends hmi.tts.AbstractTTSGenerator), implement all abstract methods for the TTS system.
    1. If desired, create bridges for specific
  2. Create a binding (that is: a class that extends asap.speechengine.ttsbinding.TTSBinding), that binds bml behaviors to the created bridges. At least one bridge must exist to bind the core BML speech behavior to your realizer. e.g.:
    ttsBridgeMap.put(SpeechBehaviour.class, new BMLTTSBridge(mySpeechGenerator));
    
  1. Create a