WebSynth 
Audio 
Release 3.0


Introduction

Server Components

The Applet

Controlling the Applet :
    WebSynth API

The Player

WebSynth Live:
   
Single Session
   
Multiple Session

Notes

 

 

Multiple Session Example Configuration



To run a multisession, you will need the Session Server. Choose any machine on the local network to be the Session Server:
  1. Create a new directory (let's say "/export/home/wsaudio")
  2. Place the wsaudio.jar file inside here.
  3. Add the jar file to your CLASSPATH
  4. Edit a new "sessions.properties" text file (Make  sure IP are in the Multicast IP range):
    conference1=228.2.3.4:1111
    conference2=228.2.3.5:1112
  5. Run: java.com.sonicle.wsaudio.SessionServer (You may name  the text file differently and use the -f switch)

 

You will also need more audio cards on the Sparc machine, or use more sparc machines with one audio card. The following must be done on the Solaris Sparc machines:

  1. Create a new directory (let's say "/export/home/wsaudio")
  2. Place the wsaudio.jar and the libwsaudio.so files inside  here.
  3. Add the jar file to your CLASSPATH
  4. Make sure that your LD_LIBRARY_PATH references the current  directory
    (if not, issue "LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH; export  LD_LIBRARY_PATH")
  5. In case of multiple audio cards run:
    java com.sonicle.wsaudio.LiveEncoder -d /dev/audioxxx -n conference1
    java com.sonicle.wsaudio.LiveEncoder -d /dev/audioyyy -n conference2
  6. In case of multiple machines with single audio cards run:
    (machine1) java com.sonicle.wsaudio.LiveEncoder -n conference1
    (machine2) java com.sonicle.wsaudio.LiveEncoder -n conference2
  7. Plug microphones into the audio devices.

 

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

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

 

LiveServer solution

  1. Create a new directory (let's say "/export/home/wsaudio")
  2. Place the wsaudio.jar files 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")
  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 index1.html file with the following tags:
    <APPLET CODE=com.sonicle.wsaudio.Streams WIDTH="2"  HEIGHT="2">
    <PARAM NAME=LIVESESSION VALUE=conference1>
    </APPLET>
  7. Create an index2.html file with the following tags:
    <APPLET CODE=com.sonicle.wsaudio.Streams WIDTH="2"  HEIGHT="2">
    <PARAM NAME=LIVESESSION VALUE=conference2>
    </APPLET>
  8. Run: java com.sonicle.wsaudio.LiveServer -r /export/home/wsaudio/htdocs
  9. Use some clients to contact the URL to this index1.html or  index2.html file to start hearing the live sessions.


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.