Forums > MaxMSP

Adding weather forecast to max/msp

September 8, 2011 | 12:32 pm

Hello everybody,

I’m a student from holland and i’m a max/msp beginner. I love it, and i’m making a interactive controller for my own little project.

It reacts to my voice and knows what time it is and reacts accordingly. I’m going to connect it with an arduino so i can control light, tv en other stuff in my room. I was thinking how great it would be if she would also now what the weather so she could warn me if it’s raining etc.

My question is:

Is it posible to send some realtime information from a weatherforecast site to max/msp ? If so, where do i start? I would greatly apreciate anyone helping me out a little.

Thanks in advance, greetings from holland!


September 8, 2011 | 1:38 pm

I’ve just experimented by grabbing the latest tweet from my local area (from Manches_weather) and put that straight into [aka.speech]…it was weird.

Out of interest, what are you using for speech recognition and what are you using to get your Max patch to speak?


September 8, 2011 | 4:05 pm

Did you just copy the tweet ? haha, yes that would sound weird. My idea was to translate the "tweet" or weather forecast to a variable. Like rain is 1 and if it’s 1 she will say watch out is rainy !!

but the problem is getting the weather forecast in max.

I use dragon naturally speaking, text edit, tosymbol, select. And i don’t use a max patch yet. I use http://www.acapela-group.com/text-to-speech-interactive-demo.html so far. But i’m thinking if i find a good patch ( or create one myself ) using max for it.

tell me if i’m not making sense. I can be a little confusing at times.


September 8, 2011 | 9:00 pm

I used this:

http://www.maxobjects.com/?v=objects&id_objet=4726

I also recommend using [jit.uldl] if you’re wanting to get information online, probably in conjunction with [jit.str.regexp].

The aka objects are all I’ve tested for speech in and speech out, it’s something I’d like to explore further.


September 9, 2011 | 11:12 am

Thanks a lot Dickmedd!

I;m not sure if the aka. objects work for me because i use Win. The aka.listen didn’t work because of that.


September 9, 2011 | 7:51 pm

Unfortunately I think they are OS X exclusive, I find aka.listen to be quite difficult to use anyway though. Perhaps your solution would work well for now and I’d consider filling it with your own samples for audio feedback. All you need is a bunch of numbers, time-related terms and a bank of different weather variations and you could probably get it working as you want.

I’m tempted to experiment with something similar myself now actually, if I ever get around to it I’ll let you know!


September 11, 2011 | 6:52 pm

It’s working !

I used [jit.uldl] to download the rss feed. And is used [sadam.rapidXML @symbolOutput1] ( you can find it on the forums )to read it. and some other stuff to get the right information out of the entire feed.

Now i just need to convert the info to something my "controller" understands..


September 14, 2011 | 9:35 pm

I did something like this here:

http://cnmat.berkeley.edu/patch/3003

mz

edit: I should add, I was using a USA-specific weather feed.


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