Difference between revisions of "250a Accelerometer Lab"

From CCRMA Wiki
Jump to: navigation, search
(Get connected and get oriented)
Line 10: Line 10:
  
 
If you prefer to use your own iPod or iPhone, you are welcome to use one of the other apps which perform similar functions.  Here is a review of some options: http://heuristicmusic.com/blog/?p=124.
 
If you prefer to use your own iPod or iPhone, you are welcome to use one of the other apps which perform similar functions.  Here is a review of some options: http://heuristicmusic.com/blog/?p=124.
 +
 +
=== getting osc messages going to your computer ===
 +
* Make sure your computer and iPod are on the same network. 
 +
* Find out the name or IP address of your computer.
 +
* On the iPod start TouchOSC and press the small 'i' to get to preferences. Select 'Network' and set Host to the name of your computer (e.g. 'cmn37.stanford.edu' or 'mylaptop.local'.)
 +
 +
Open accel_osc.pd (INSERT LINK AND MAX PATCH HERE)

Revision as of 15:57, 13 October 2009

Lab 4: Accelerometers, Audio Filters, and (optionally) Multitouch
Due on Wednesday, October 21th at 5PM

For this lab you need an iPod Touch (loaners are available) or an iPhone running TouchOSC, and Max/MSP or Pd on a computer.

Get connected and get oriented

iPod Touches, like many newer portable electronic devices, have a 3-axis accelerometer in them, which allows designers to take into account both orientation of the device with respect to gravity as well as detecting physical gestures that are made with the phone.

For this lab, instead of writing our own iPod applications (the subject of an entire course), we will use an iPod app called TouchOSC to send accelerometer data from the iPod to max or pd. This app is installed on the iPods available to use in this lab.

If you prefer to use your own iPod or iPhone, you are welcome to use one of the other apps which perform similar functions. Here is a review of some options: http://heuristicmusic.com/blog/?p=124.

getting osc messages going to your computer

  • Make sure your computer and iPod are on the same network.
  • Find out the name or IP address of your computer.
  • On the iPod start TouchOSC and press the small 'i' to get to preferences. Select 'Network' and set Host to the name of your computer (e.g. 'cmn37.stanford.edu' or 'mylaptop.local'.)

Open accel_osc.pd (INSERT LINK AND MAX PATCH HERE)