Forums > MaxMSP

get live data from web

September 13, 2008 | 11:58 am

hello,

i want to use the live data from this site :

http://www.worldometers.info

i want to use these data streams to control audio and video parameters, but i have no idea how i can read them with max in real time!!!?

thanx for any help,

regards,

laurent


September 13, 2008 | 5:02 pm

In this particular case you could just use the javascript which is driving it:

http://www.worldometers.info/engine0508.js

this doesn’t look up actual data (from the quick scan of it I just did) i.e., it doesn’t count the number of worldwide death certificates issued! I think they’re just estimates based on stats.

For getting actual data from the web (e.g., live sports scores) java is probably a good way to go, look at the mxj StockWatch example with MaxMSP.


September 14, 2008 | 8:54 pm

Check my project I did last year. Stockwatch takes values of the stock market and translates them in realtime into music and also improvizes on it. YOu can dowwnload it here
http://www.filemojo.com/022716332178181/Stockwatch.zip
It uses the stockwatch example as its base. The paatch has an mxj-object. With some tweaking, you could arrange to get other data I guess.
Can you tell more about your project btw, I am going to do research about using complex data on composition, so I would like to know how different composers look after this way of composing.


November 22, 2008 | 7:02 pm

where can i find the stockwatch example (the actual code and patch?) working on a similar project

thanks!


November 23, 2008 | 10:12 pm


April 1, 2013 | 7:50 pm

Here’s a current URL for this patch:

http://mirror.transact.net.au/pub/sourceforge/p/project/ph/phdproject/StockWatch.maxhelp


July 29, 2013 | 1:38 pm

Hey, did you ever get this to work? – Or does anybody know how to get this to work?

I’ve love to be able to get some of this live data into Max!

Let me know, i’ll be eternally grateful!

Tom


Viewing 7 posts - 1 through 7 (of 7 total)