|
ECS-L Home Automation and Security Archives |
learn more
| view messages for this
month | NetBloc® | terms of use | search
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects
Subject: From: Date: | Re: [ECS] TTS of weather Mark Gilmore Sat, 12 Feb 2000 11:23:03 -0500 |
I don't know what a "double-spaced format" is,
but EDM saves files in straight ASCII text
(no "special" formatting of any kind).
--
Mark Gilmore
Omnipotence (ECS home automation software)
http://www.usit.com/omnip
423-745-0026
A.J. Griglak wrote:
>
> Well, after about an hour and a half of tweaking, I am able to get the
> reading of the weather report close to perfect. Many thanks to Kevin Keast
> who sent me his script for parsing out the weather info, which most of this
> is based on.
>
> I also went into the Lexicon for the TTS item and changed the following:
>
> wind - winned
> winds - winneds
> pop - percent of precipitation
> est - eastern standard time
> mon - monday
> tue - tuesday
> wed - wensday (pronunciation, not spelling ;-)
> thu - thursday
> fri - friday
> sat - saturday
>
> I didn't put one in for sun, incase the weather report says something like
> 'increasing sun'
>
> I figured out that the pause at the end of the lines was not caused by the
> EOL itself, but because EDM saves the text file in a double-spaced format.
> I came up with the lengthy solution which you'll see below of g:3 / d g:4 /
> d, etc. I'm sure that there's a shorter way to do this, but frankly, I got
> tired of reading the edm.hlp and trying to decipher it!! This way works, so
> it's good enough for me. The af command appends a closing sentence for
> "Hank" to read: "This has been Hank with your local weather repot." ;-)
>
> -=A.J.
>
> EDM Script:
> bell
> r wpdl.htm
> f MIDDLESEX
> d-
> d
> g:1
> d3
> f =
> d+
> CA/ ... ,
> c/.' ' ..
> c/ .
> g:2
> d
> g:3
> d
> g:4
> d
> g:5
> d
> g:6
> d
> g:7
> d
> g:8
> d
> g:9
> d
> g:10
> d
> g:11
> d
> g:12
> d
> g:13
> d
> g:14
> d
> g:15
> d
> g:16
> d
> b
> af wxend.txt
> w wxtemp.txt
> q
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects