This is a series of projects that demonstrate ways to use Internet API’s for interactive media projects.
Projects have been tested on Mac OS 10.7 (Lion). All but one of the projects use Max/MSP 6.1.0 from: http://cycling74.com. The other project uses Pure Data 0.42.5 (extended) from: http://puredata.info. Other required programs are listed in the documentation for individual projects.
The links for the projects below include operating instructions. All the patches, source code, and data can be downloaded from a github repository:
Some of the projects require passwords and API-keys from providers.
For example, for the ‘Twitter streaming API in Max’ project you’ll need to set up a Twitter application from your account to get authorization credentials.
For the projects that need authorization usually you’ll just need to modify the patches/source code with your user information – as directed in the instructions.
The API’s used in the projects change fairly often. So there’s no guarantee they’ll work. If you find problems or have ideas – please post to them to the github repository. Or email me at email@example.com with “Internet sensor projects” somewhere in the subject heading.
Twitter streaming API in Max (FM, php, curl, geocoding, [aka.speech], Soundflower, Morse code, OSC, data recorder, Twitter v1.1 API, Twitter Apps, Oauth)
A conversation with a robot in Max (Google speech API, sox, JSON, pandorabots API, python, [aka.speech]
Playing bird calls in Max (xenon-canto API, [jit.uldl], [jit.qt.movie])
Real time train map using Max and node.js (XML, JSON, OSC, data recorder, web sockets, Irish Rail API)
[Note] This project is currently not part of the github archive.
Using wind forecast data to drive wind sounds in Pure Data (ruby, OSC, JSON, CORDC API, “Designing Sound” by Andy Farnell)
Using ping times to control oscilators in Max (Mashape ping-uin API, ruby, OSC, JSON)