
How to use JEsd
====================================================================
Last modified: Sat Dec 25 01:51:53 UTC 1999


SUPPORTED PLATFORMS
===================
JEsd includes a daemon program, which corresponds to
'esd' and classes for communicating with 'esd', which
correspond to 'libesd'.
That daemon program is implemented with JavaTM Sound API.
So, it will be available on any platform, which support that API.
At present, it seems that JavaTM Sound API is only available in
Java2(JDK 1.3beta or later).
Here, we list supported platforms, which we have confirmed already.

- Windows 98

On the other hand, client side codes will be available on JDK 1.0* or later.

REQUIREMENTS:
=============

The following softwares are required to use the audio server
functionality.

- JDK 1.3beta or later
- esd compliant applications, for example x11amp, xmms, etc,. 


USAGE:
======
Before running an audio server, confirm you have already 
installed JDK 1.3beta or later. Then type,
     
       javac -O -g:none com/jcraft/jesd/*.java
       java com.jcraft.jesd.Daemon

The audio server will wait for connections at port 16001.

To use this daemon, just specify a location, where JEsd is running, 
to esd compatible applications.
Suppose that an audio server is running on some machine, named 'foo',
and you have Un*x machine, named 'bar'. Try next commands on machine 'bar'

       export ESPEAKER=foo
       x11amp

Concerning the usage of client side library,
we have tried to mimic APIs of 'libesd' and
some sample programs in an 'examples' directory will be
helpful for understanding it. At present, documents for that
library has not been written. Please bear with us.
