Internet sensor projects


updated 3/26/2014 – chatbot and speech updates + bug fixes

updated 2/2/2014 – added echonest segment analysis project


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: The other project uses Pure Data 0.42.5 (extended) from: 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 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)

Sending tweets from Max using curl ([sprintf], [], API, API, JSON, javascript Twitter v1.1 API, Oauth)


Sending tweets from Max using ruby (ruby, API, JSON, javascript Twitter v1.1 API, OSC, Oauth)

Sending tweets from Max using speech (Google speech API, JSON, javascript, sox, API, API, Twitter v1.1 API, Oauth)

A conversation with a robot in Max (Google speech API, sox, JSON,  pandorabots API, python, [aka.speech]

Playing bird calls in Max (xeno-canto API, [jit.uldl], [])

Soundcloud API in Max (JSON, javascript, curl, [], [])

Real time train map using Max and node.js (XML, JSON, OSC, data recorder, web sockets, Irish Rail API)

playing stock market music with Max (OSC, netcat,  php, mysql, html, javascript, Yahoo API, linux)

[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)

Segment analysis player - sonification of audio analysis data from The Echo Nest (echonest API, ruby, Osc, Max/MSP)


Leave a Reply

You must be logged in to post a comment.