WebSynth 
Audio 
Release 3.0


Introduction

Server Components

The Applet

Controlling the Applet :
    WebSynth API

The Player

WebSynth Live:
   
Single Session
   
Multiple Session

Notes

 

 

Single Session Example Configuration




To make everything operational quickly with just one live session, you may use default settings. You will just need the LiveEncoder and the Front end, without the Session Server.

The following must be done on the Solaris Sparc or Win32 machine:

  1. Create a new directory (let's say "/export/home/wsaudio"  or "C:\wsaudio").
  2. Place the wsaudio.jar and the libwsaudio.so files inside  here.
  3. Add the jar file to your CLASSPATH.
  4. On Solaris make sure that your LD_LIBRARY_PATH references  the directory containing the native library
    (if not, issue "LD_LIBRARY_PATH=/export/home/wsaudio:$LD_LIBRARY_PATH;  export LD_LIBRARY_PATH").
  5. On Win32 make sure that your PATH references the directory  containing the native library
    (if not, issue "set PATH=C:\wsaudio;%PATH%").
  6. For a 14.4 default session run: java com.sonicle.wsaudio.LiveEncoder
    For a 28.8 default session run: java com.sonicle.wsaudio.LiveEncoder  -n default28
    (On Solaris the default device is /dev/audio. if your device  has a different name, use the -d switch).
    (On Win32 the default device is the primary audio device).
  7. Plug a microphone into the audio device.

Next steps may be done on the same machine or on any other machine in the same network. Because this is the front end server, this machine must be reachable via http from client browsers.

LiveServlet solution
Make the wsaudio.jar visible to the servlet engine of your http server

  1. Make sure that the "/servlet" directory is assigned  to servlets on your http server.
  2. Create a new directory inside the html docs directory (let's  say /wsaudio)
  3. Explode the wsapplet.jar inside (obtaining com/sonicle/wsaudio/*.class)  or place the jar file and use the ARCHIVE tag.
  4. Create an index.html file with the following tags:
    <APPLET CODE=com.sonicle.wsaudio.Streams WIDTH="2"  HEIGHT="2">
    <PARAM NAME=LIVESESSION VALUE=default>
    </APPLET>
    (use default28 for a 28.8 quality session)
  5. Start your web server
  6. Use some client to contact the URL to this index.html file  to start hearing the live session.

LiveServer solution

  1. Create a new directory (let's say "/export/home/wsaudio"  or "C:\wsaudio").
  2. Place the wsaudio.jar file inside here.
  3. Add the jar file to your CLASSPATH.
  4. Create a root directory for html documents. (let's say "/export/home/wsaudio/htdocs"  or "C:\wsaudio\htdocs")
  5. Explode the wsapplet.jar inside it (obtaining com/sonicle/wsaudio/*.class)  or place the jar file and use the ARCHIVE tag.
  6. Create an index.html file with the following tags:
    <APPLET CODE=com.sonicle.wsaudio.Streams WIDTH="2"  HEIGHT="2">
    <PARAM NAME=LIVESESSION VALUE=default>
    </APPLET>
    (use default28 for a 28.8 quality session)
  7. On Solaris Run: java com.sonicle.wsaudio.LiveServer -r /export/home/wsaudio/htdocs
  8. On Win32 Run: java com.sonicle.wsaudio.LiveServer -r C:\wsaudio\htdocs
  9. Use some client to contact the URL to this index.html file  to start hearing the live session.


This WebSynth Audio is a product of Sonicle (tm), Srl.
Copyright © 1998, 1999, Sonicle, Srl.
20090 Via Enrico Fermi, Assago, Milano ITALY.
All rights reserved.