Forums > MaxMSP

Getting weather data from Google API

April 21, 2012 | 5:12 pm

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. –

April 21, 2012 | 8:43 pm

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. –

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