/xlr8r

Web-based application that creates 3D sound effect based on accelerometer data sent by iOS 4.2+ devices

Primary LanguageJavaScript

XLR8R

XLR8R is a small web-based app that creates 3D sound effect based on accelerometer data sent by iOS 4.2+ devices. It uses the following technologies:

  • DeviceOrientation API (available in Mobile Safari on iOS 4.2+ devices)
  • Web Audio API (available in latest versions of Google Chrome)
  • Websockets support in socket.io (node.js module)

Install

Having fun with XLR8R

  • Start the server by running node server.js
  • Plug in headphones into your computer
  • Open http://<server host>:8888/room on your computer's browser
  • Open http://<server host>:8888 on your iPhone/iPod
  • Move your mobile device and you should see the red dot moving in computer's browser as well as the audio sample moving accordingly (the graphic representation is a top view where the red dot is the audio source and the green dot is you)

Notes

Chrome Web Audio support on Linux doesn't output clear sound, seems to work better on Windows.