get live data from web

Sep 13, 2008 at 11:58am

get live data from web

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

#39680
Sep 13, 2008 at 5:02pm

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.

#139917
Sep 14, 2008 at 8:54pm

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.

#139918
Nov 22, 2008 at 7:02pm

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

thanks!

#139919
Nov 23, 2008 at 10:12pm

#139920
Apr 1, 2013 at 7:50pm
#139921
Jul 29, 2013 at 1:38pm

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

#257526

You must be logged in to reply to this topic.