examples.synthesis
Class ReadAliceToMPEGFile

java.lang.Object
  |
  +--examples.synthesis.ReadAliceToMPEGFile
All Implemented Interfaces:
javax.media.ControllerListener, javax.media.datasink.DataSinkListener

public class ReadAliceToMPEGFile
extends java.lang.Object
implements javax.media.ControllerListener, javax.media.datasink.DataSinkListener

Demonstrates the new methods in AudioManager to save speech to an mpeg file.


Constructor Summary
ReadAliceToMPEGFile()
           
 
Method Summary
 void controllerUpdate(javax.media.ControllerEvent evt)
           
 void dataSinkUpdate(javax.media.datasink.DataSinkEvent evt)
           
static void main(java.lang.String[] args)
           
 void speak()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadAliceToMPEGFile

public ReadAliceToMPEGFile()
Method Detail

main

public static void main(java.lang.String[] args)

speak

public void speak()

dataSinkUpdate

public void dataSinkUpdate(javax.media.datasink.DataSinkEvent evt)
Specified by:
dataSinkUpdate in interface javax.media.datasink.DataSinkListener

controllerUpdate

public void controllerUpdate(javax.media.ControllerEvent evt)
Specified by:
controllerUpdate in interface javax.media.ControllerListener