Sonification of Mass Ave buses, from Harvard to Dudley.
This patch sends requests to the MBTA developer portal to get the current location of buses – using the Max js object. Latitude and Longitude data is mapped to oscillator pitch. Data is polled every 10 seconds, but it seems like the results might be more interesting to poll at a slower rate, because the updates don’t seem that frequent. And buses tend to stop a lot.
MBTA developer portal: http://reactivemusic.net/?p=17511
Here is the get request URL used in the patch:
You will not need authentication to run run this patch. It uses the default developer API-key for testing. Please read the terms of service at the MBTA developer portal. Data should not be polled more often than 10 seconds. You can also request your own developer API key from MBTA.
- Open mbta.maxpat
- Toggle the metro (at the top of the patch) to start polling
- Turn on the audio (at the bottom of the patch) and turn up the gain
Note: there will be more buses running during rush hours in Boston. Try experimenting with the polling rate and ramp length in the poly-oscillator patch. Also, you can experiment with the pitch range.
Boston transportation API
Curl example – predictions by stop – Back Bay Station:
Yes its a list.
Most of the examples are broken, but the ideas are great, and so is the cat.
An example of the Soundcloud API in Max.
At the Cycling 74 Wiki
local version: tkzic/max teaching examples/souncloud-test
Uses Twitter Widgets – parsing the ‘JSON like response’ using Jquery.
By Jason Mayes
Here is a sample URL that returns a response for the hashtag #cats using my widget: https://cdn.syndication.twimg.com/widgets/timelines/528661733678657536 If you set up a Twitter widget, just replace the ID number in the URL with the one that shows up when you run your widget.
Here is a derivative project by Alessio Zappa that doesn’t use Jquery: http://www.snip2code.com/Snippet/145533/Customize-twitterFetcher-JS-lib-for-our-
This method is not approved by Twitter. Use at your own risk: https://twittercommunity.com/t/can-i-use-cdn-syndication-twimg-com-widgets-timelines-for-my-website/20134
local version – tkzic/Twitter-Post-Fetcher-master/
Generates a sequence of movie clips that ‘speak’ text input.
Crowd sourced music video. (NSFW)
Prompts for and records user mouse pointer position. Then aggregates sensor data into future playbacks.
By Light Light https://www.facebook.com/lightlight