Data visualization programming tools
By Michael Edgecombe and Eric Micah
http://frontiernerds.com/strata-2012
http://vimeo.com/39536036
Data visualization programming tools
By Michael Edgecombe and Eric Micah
http://frontiernerds.com/strata-2012
http://vimeo.com/39536036
(7/2014 The formatting is not working with this example)
(update) to get your client-id from Soundcloud: From your home page, select more | developers | my apps.
This looks like the easiest way to play streaming content from Soundcloud over the web, Maybe this example could be adjusted to run in Max.
http://stackoverflow.com/questions/13455956/setup-web-audio-api-source-node-from-soundcloud
Example API urls,
this one streams a track: (replace client id with real thing)
http://api.soundcloud.com/tracks/6981096/stream?client_id=CLIENT-ID
This one returns an XML file filled with tracks that can be played:
https://api.soundcloud.com/tracks?client_id=CLIENT-ID
See API reference:
http://developers.soundcloud.com/docs/api/reference#users
(update) Use /resolve to get the user id and user info, given the name – like this:
http://api.soundcloud.com/resolve.json?url=http://soundcloud.com/tkzic&client_id=CLIENT-ID
Soundcloud API idea:
Use the Soundcloud comment feature to display lyrics for a song. i.e.., post a comment with the lyrics at the beginning of each phrase.
Another idea would be to run the comments through a speech synthesizer while the music is playing – so you can hear comments superimposed over the music
http://theweek.com/article/index/237878/the-shocking-number-of-deaths-caused-by-falling-tvs
Not to mention the lives ruined by actually watching TV.
Using the xeno-canto API
Note: 2024/01/21 – patch not working in repository, but has been fixed locally with updates to birdcall4.maxpat.
(updated 1/25/2021)
This Max patch retrieves bird call data from the xeno-canto API, then plays an mp3 file of the bird call using the URL from the query.
If you’d like to modify this patch to play the sounds of other birds, you can get the species names from: http://www.xeno-canto.org
Click to hear the bird call from the patch:
https://github.com/tkzic/internet-sensors
folder: bird-calls
There are two html queries. The first query retrieves an array of recording records for a selected bird. The second query downloads the .mp3 file with the actual recording.
The patch uses [dict] and [maxurl] to format execute the first query. Then it uses [jit.uldl] to download the .mp3 file.
update 6/2014 – This version of the API appears to be broken. Will need to update the example below.
Note: As of June 1, 2014, version 1 of the Article Search API has been deprecated. Please use version 2.
original post
http://developer.nytimes.com/docs/article_search_api
Example that works (except for the api key):
http://api.nytimes.com/svc/search/v1/article?query=dubstep&begin_date=20121101&end_date=20121130&api-key=123
I loaded the result file from this query into a max patch: JSON_readwrite-nyt-test and printed out the title and body of the first article returned.
There are examples in the above link and explanation of using ‘facets’ which give you stuff like counts of articles and mentions of things like corporation names & other common things. Also some logic tricks for doing complex queries.
Another invisible mentor.
by Raymond Yee
A blog about Raymond Yee’s Book Pro Web 2.0 Mashups: Remixing Data and Web Services –
Many of the examples seem to be out of date or broken, but the ideas still work.
Here’s another project he is involved with: