The Source for Java Technology Collaboration


Home | Changes | Index | Search | Go

Microphone Administration


The microphone is loaded into Wonderland using WFS. A sample WFS property file is provided here: MicrophoneWFSFile.

To microphone, copy the WFS property file to the WFS directory on your Wonderland server. For example, to install the viewer in the default Wonderland MPK20 world, copy Microphone-wlc.xml to lg3d-wonderland/src/worlds/default-wfs/building-wld/DemoFloor-wld.

Next, edit the file and customize the following properties:

fullVolumeRadius is the radius around the microphone where an avatar will hear the microphone at full volume.

    <void property="fullVolumeRadius">
       <double>35</double>
    </void>

name is an identifier for the microphone.

    <void property="name">
       <string>Microphone1</string>
    </void>

position is the location of the microphone relative to the origin.

<verbatim>
    <void property="position">
      <void index="0">
       <double>-.8</double>
      </void>
      <void index="1">
       <double>0.0</double>
      </void>
      <void index="2">
       <double>0.0</double>
      </void>
    </void>
<verbatim>

scale is used to adjust the size of the microphone.

<verbatim>
    <void property="scale">
       <double>.42</double>
    </void>
</verbatim>

origin is location of the microphone cell within the WFS cell.

  <void property="origin">
   <void index="0">

   </object>
  </void>
      <double>22</double>
   </void>
   <void index="1">
      <double>0.05</double>
   </void>
   <void index="2">
      <double>0</double>
   </void>
  </void>

boundsRadius is the size of circle or box around the microphone.  When an avatar is in this
circle or box, the microphone is effective.

  <void property="boundsRadius">
     <double>2</double>
  </void>

  <void property="boundsType">
     <string>BOX</string>
  </void>


Once you've installed the file in the WFS directory, restart the Wonderland server, or use the Wonderland Manager application to reload WFS.</verbatim>
<nop>

Topic ProjectWonderlandMicrophoneAdmin . { Edit | Ref-By | Printable | Diffs r2 < r1 | More }
 XML java.net RSS

Revision r2 - 18 Jul 2008 - 14:20:57 - Main.jprovino