The Arduino is acting as a mini web server, and it serves a single page that refreshes itself every 2 seconds. If the motion sensor has recently started (or stopped) detecting motion, it will embed an appropriate sound clip in the page.
For the next version, it'd be simpler to hook a speaker up to the Arduino directly, and cut out the web server ... but for today, the whole point was find a use for the ethernet shield.
[ Code ]