Getting weather data from Google API

Apr 21, 2012 at 5:12pm

Getting weather data from Google API

Hello,

I’m very new to MAX/MSP. My first project is to get temperature/weather data from a Google API. I would like to use this data to create a soundscape. As the weather changes, so does the soundscape.

So far I managed to get the xml data from Google and open it in MAX/MSP. The next goal is to get the temperature data in the XML file to a variable MAX/MSP can use to transform sounds.

I’m using jit.str.regexp to filter out the other rubbish I don’t need, but somehow it is not working.

Any ideas what I am doing wrong?

Frits

– Pasted Max Patch, click to expand. –
#63128
Apr 21, 2012 at 8:43pm

Interesting, thought there would be a non jitter based way to do this, but couldn’t think of anything. Anyways, here’s a possible solution:

– Pasted Max Patch, click to expand. –
#227815

You must be logged in to reply to this topic.