emacsVoice.setAudioPlayer(new JavaClipAudioPlayer());
emacsVoice.setAudioPlayer(new JavaStreamingAudioPlayer());
    private void createVoice() {	String voiceClassName = System.getProperty	    ("voiceClass", "com.sun.speech.freetts.en.us.CMUDiphoneVoice");	String diphoneDatabase = System.getProperty	    ("diphoneDatabase", "cmu_kal/diphone_units16.bin");	try {	    Class voiceClass = Class.forName(voiceClassName);	    System.out.println("Creating " + voiceClassName + "...");	    emacsVoice = (Voice) voiceClass.newInstance();	    System.out.println("Loading " + voiceClassName + "...");	    emacsVoice.getFeatures().setString		(Voice.DATABASE_NAME, diphoneDatabase);	    emacsVoice.setLexicon(new CMULexicon());	    emacsVoice.setOutputQueue(Voice.createOutputThread());	    emacsVoice.load();	    emacsVoice.setAudioPlayer(new JavaClipAudioPlayer());	    System.out.println("...Ready");	} catch (Exception e) {	    System.out.println("Error creating " + voiceClassName);	    System.exit(1);	}    }