Objective
Map multi-dimensional data from a mobile phone to parameters for audio synthesis using PureData
Steps and observations
- Set up a mobile phone to send accelerometer data to a computer using UDP over a wireless network. The easiest way is to download one of many free ("Control" for iOS or Android, "andOSC" or "OSChook" for Android, etc.); join CMU-SECURE wireless with your computer and your mobile phone; find the IP address of your computer and set it as the "destination" or "host" in the mobile App; set the destionation "port" to 10000; activate a user interface with accelerometers
- Learn how to receive, unpack and route OpenSoundControl messages in PureData with the "udpreceive", "unpackOSC" and "routeOSC" objects. "Open Sound Control (OSC) is a protocol for communication among computers, sound synthesizers, and other multimedia devices that is optimized for modern networking technology. "
- Take apart multi-dimensional sensor data and map different elements to different parameters of audio synthesis.
Comments and Challenges
- Use this scheme to get access to every sensor on your mobile phone, within PureData
- Use PureData to communicate bewteen two cellphones, running two Apps that can send and receive OSC