Changes between Version 3 and Version 4 of TTSGenerator


Ignore:
Timestamp:
01/15/13 10:29:18 (7 years ago)
Author:
welberge
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TTSGenerator

    v3 v4  
    33== Create a new TTSGenerator == 
    441. Create a ttsgenerator (that is a class that extends hmi.tts.AbstractTTSGenerator), implement all abstract methods for the TTS system. 
    5    a. If desired, create bridges for specific 
     5   a. If desired, create bridges for specific speech annotations your TTS system supports (e.g. SSML, SAPI, MaryTTS XML) 
    661. 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.: 
    77{{{ 
    88ttsBridgeMap.put(SpeechBehaviour.class, new BMLTTSBridge(mySpeechGenerator)); 
    99}}} 
     101. Create a loader for this binding (that is: a class that implements asap.speechengine.ttsbinding.TTSBindingLoader 
    1011 
    11 1. Create a  
     12See AsapTTSIpaaca for an example of this. 
     13 
     14== Use the new TTSBinding == 
     15In your VirtualHumanLoader XML 
     16{{{ 
     17<Loader id="ttsbinding" loader="mypackage.MyTTSBindingLoader"> 
     18  <!-- inner elements that are specific for the configuration of MyTTSBindingLoader --> 
     19   ... 
     20</Loader> 
     21 
     22<Loader id="speechengine" loader="asap.speechengine.loader.SpeechEngineLoader" requiredloaders="facelipsync,jawlipsync,ttsbinding"> 
     23   <Voice factory="WAV_TTS"/> 
     24</Loader>  
     25}}} 
     26