@Override public void startup() throws Exception {
  Log.d(Mary.LOG,"Register UnitSelection voices:");
  List<String> voiceNames=MaryProperties.getList("unitselection.voices.list");
  for (  String voiceName : voiceNames) {
    long time=System.currentTimeMillis();
    Voice unitSelVoice=new UnitSelectionVoice(voiceName,this);
    Log.d(Mary.LOG,"Voice '" + unitSelVoice + "'");
    Voice.registerVoice(unitSelVoice);
    long newtime=System.currentTimeMillis() - time;
    Log.i(Mary.LOG,"Loading of voice " + voiceName + " took "+ newtime+ " milliseconds");
  }
  Log.i(Mary.LOG,"started.");
}

@ Override public void startup ( ) throws Exception { Log . d ( Mary . LOG , "Register UnitSelection voices:" ) ; List < String > voiceNames = MaryProperties . getList ( "unitselection.voices.list" ) ; for ( String voiceName : voiceNames ) { long time = System . currentTimeMillis ( ) ; Voice unitSelVoice = new UnitSelectionVoice ( voiceName , this ) ; Log . d ( Mary . LOG , "Voice '" + unitSelVoice + "'" ) ; Voice . registerVoice ( unitSelVoice ) ; long newtime = System . currentTimeMillis ( ) - time ; Log . i ( Mary . LOG , "Loading of voice " + voiceName + " took " + newtime + " milliseconds" ) ; } Log . i ( Mary . LOG , "started." ) ; }
start up the waveform synthesizer . this must be called once before calling synthesize ( ) .
