ZeroConfigurationDemo

The Zero-Configuration Demo can showcase two things:

Required Hardware

In order to run just the Zero-Configuration Audio part of the demo, you need:

Registry Machine
1 Mac Mini or other host on the network to run the Registry as well as all other proxies.
Laptop
The laptop needs to be able to both play audio and record audio.
Speaker with "Quarter"
Our "Quarter" is a specially configured iPAQ. Follow the standard configuration directions, but run python off of the SD card and install all of the demo scripts.

If you also want to run the standard O2S chat demo, you need at least one more laptop that can handle audio input and output.

Required Software

On all of the machines, check out the most recent demo branch:

svn co svn+ssh://o2s.csail.mit.edu/home/o2s/svn/tags/ZeroConfigDemo-2005-06-15

This will check out code in a directory named ZeroConfigDemo-2005-06-15 that's equivalent to your o2s directory. [1]

Note

Don't forget to set your PYTHONPATH to point to the code you just checked out.

[1]

The tag was made with the following command:

svn copy svn+ssh://o2s.csail.mit.edu/home/o2s/svn/trunk/o2s \
      svn+ssh://o2s.csail.mit.edu/home/o2s/svn/tags/ZeroConfigDemo-2005-06-15 \
      -m "Create tag of the June 2006 Oxygen Meeting, Zero Configuration Branch" 

On the Registry Machine, if you want visualization, make sure to install vpython. See InstallSoftware.

Starting the Zero Configuration Audio Demo

On o2s.csail.mit.edu, run the registry and the multiserver (which includes the galaxy speech recognition system):

make public_registry
make public_server

On the registry machine:

~/o2sstart.bash

(which should also exists in ./o2s/playground/audiohotswap/). This will run the registry, audio fader, and MP3 server.

On the laptop in the o2s directory:

make nsugr_host
make speakerhost

On the iPAQ/Speaker

  1. Ensure that the iPAQ has an IP address. You can restart the wireless using the wlan-restart script.
  2. With iPAQ on battery power, run the SpeakerHost (the icon labelled SH). Depending on the configuration it may try to find a registry. If this is inconvenient, try the non-fast configuration by ssh-ing into the iPAQ and changing /home/root/speaker-host-d.sh.
  3. Plug and un-plug the iPAQ at will.

    The iPAQ segfaults (reliably) if you unplug it while the SpeakerHost is playing audio. To re-run the demo, you just need to run the SpeakerHost again from the icon.

Starting the O2S Chat Demo

On the registry machine:

~/o2sstart-demo.bash

(which should also exists in ./o2s/playground/audiohotswap/). This will run the registry, audio fader, MP3 server, user proxies for both users "Steve" and "demo". Also be sure that X11 (x server) is running for visualizations.

On the laptop in the o2s directory:

make nsugr_host

Note

You can just use the same nsugr_host from the Audio demo. However, voice recognition will not work if the SpeakerHost is playing audio since it locks the audio subsystem.

last edited 2005-06-20 16:49:32 by HubertPham