examples.synthesis
Class WAVFileWriter

java.lang.Object
  |
  +--examples.synthesis.WAVFileWriter

public class WAVFileWriter
extends java.lang.Object

Utility class for saving synthesized speech to a WAV file. Used by the VoicePad application.

See Also:
VoicePad

Constructor Summary
WAVFileWriter()
          Creates a new instance of WAVFileWriter
 
Method Summary
 void speakToFile(Synthesizer synth, java.lang.String text, java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WAVFileWriter

public WAVFileWriter()
Creates a new instance of WAVFileWriter
Method Detail

speakToFile

public void speakToFile(Synthesizer synth,
                        java.lang.String text,
                        java.io.File file)
                 throws java.io.IOException