OT: weather script

Keith Watson Kwatson at smed.yi.org
Tue Aug 19 18:54:21 EDT 2003


Chris,

I use the dectalk software synth and the following line to get 
the weather:

say -r 360 -a "`lynx -dump 
http://braille.wunderground.com/cgi-bin/findweather/getForecast?query=33637`"

I put that into a shell script called tpa and vwala I get the 
dectalk to tell me more than i ever cared to know about the 
weather.


Keith

On 05:30 PM, Christopher Moore wrote:
> When looking at the commercially available voices on cepstral.com, I came
> across the demo weather voice.  
> 
> Before I re-invent the wheel, I was wondering whether a weather script
> exits which would speak the weather conditions and/or forecast for a
> particular city/zip code. I do this now by going into the
> braille.wunderground.com site in lynx, punching in the zipcode, hitting the
> submit button and reading the resulting screens.  
> 
> What I'm looking for is a shell script which would retrieve the weather and
> send it to flite or some other software synth for spoken output.  Once such
> a script were developed, a similar thing could be done for, say, stock
> quotes.  
> 
> I view this as a three step process:
> 1.   Retrieve the info from the net
> 2.  edit the results to strip out all the stuff you didn't want to hear,
> 3.  send the resulting text to festival, flite or a commercial voice.  
> 
> Thanks in advance for any feedback.
> 
> Chris
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
Keith Watson
kwatson at smed.yi.org

Among the major impediments to discovery are not the ignorant
but those with illusions of knowledge.    - B. Alan Wallace




More information about the Speakup mailing list