examples.remote
Class WhatTimeIsItClient
java.lang.Object
|
+--examples.remote.WhatTimeIsItClient
- public class WhatTimeIsItClient
- extends java.lang.Object
Demonstrates sending and receiving speech to/from a remote recognizer/synthesizer
using the local AudioClientSource/Sink objects. The new AudioMediaLineSource/Sink
classes are used (instead of AudioLineSource/Sink) since the javax.sound package
caused problems when a TargetDataLine and SourceDataLine were opened
simultaneously (ie, the audio data was not captured in the correct format).
The javax.media classes (which AudioMediaLineSource/Sink use) do not have this problem.
|
Constructor Summary |
WhatTimeIsItClient(java.lang.String server,
int port,
java.lang.String serverID)
|
|
Method Summary |
static void |
main(java.lang.String[] args)
|
void |
start()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WhatTimeIsItClient
public WhatTimeIsItClient(java.lang.String server,
int port,
java.lang.String serverID)
start
public void start()
main
public static void main(java.lang.String[] args)