protected void init(){
  LOG.info("Initializing sound service.");
  long startTime=System.currentTimeMillis();
  bughouseSoundKeys=getSoundsKeys("bughouse");
  soundKeys=getSoundsKeys("");
  initSoundPlayer();
  initSpeech();
  LOG.info("Initializing sound service complete: " + (System.currentTimeMillis() - startTime) + "ms");
}

protected void init ( ) { LOG . info ( "Initializing sound service." ) ; long startTime = System . currentTimeMillis ( ) ; bughouseSoundKeys = getSoundsKeys ( "bughouse" ) ; soundKeys = getSoundsKeys ( "" ) ; initSoundPlayer ( ) ; initSpeech ( ) ; LOG . info ( "Initializing sound service complete: " + ( System . currentTimeMillis ( ) - startTime ) + "ms" ) ; }
i have tried caching the clips . however i ran out of lines . so now i just create a new clip each time .
