The GW-Scripting list is a discussion list for information regarding the development and use of Window-Eyes scripts. Any subscriber of the GW-Scripting list has the ability to post on-topic messages.
From:
BTSubject:
speech questionDate:
Fri, Jul 16, 2010 5:59:53 pmHi Chip,
Yes, that probably would be the way, punctuation off and reading a
sentence with either a period or comma, or colon at the end but all must
have a space after them.
Unless you do what I said, loop and monitor the events after a 10
millisecond sleep. But doing that means more over-head and changing how the
page is being read. Attempting to find the voice commands to do that is the
problem when doing that.
For there seems to not be an easy way to find the actual voice methods
outside of the Sapi format. I searched for a while last night and could not
find and break-down of the Windoweye voice commands outside of just Word,
Line and Paragraph read. No event watching in them.
It would seem that Windoweyes has used the Sapi format along with the
Window controls but could not find any association/description.
So back to the old simple controls built in.
Bruce
I will take Tom's idea to see if it helps; I'm afraid adding a small sleep
cycle won't help, as the code just sleeps while the previous line speaks,
unless I get the sleep too long, then it becomes jerky and full of unnatural
pauses.
Chip
-----Original Message-----
From: Jared Wright [mailto:wright.jaredm@gmail.com]
Sent: Friday, July 16, 2010 1:16 AM
To: gw-scripting@gwmicro.com
Subject: Re: speech question
Break them up into different speak statements for different lines (if
they're not already, I'd imagine it's some sort of loop?) and manually
insert a small sleep cycle? Or perhaps just append a period to the string of
each line to force it to speak normally. You also might try tweaking the
reading mode to line instead of paragraph as Tom mentioned, that sounds
feasible.
On 7/15/2010 7:35 PM, Chip Orange wrote:
Yes, that probably would be the way, punctuation off and reading a
sentence with either a period or comma, or colon at the end but all must
have a space after them.
Unless you do what I said, loop and monitor the events after a 10
millisecond sleep. But doing that means more over-head and changing how the
page is being read. Attempting to find the voice commands to do that is the
problem when doing that.
For there seems to not be an easy way to find the actual voice methods
outside of the Sapi format. I searched for a while last night and could not
find and break-down of the Windoweye voice commands outside of just Word,
Line and Paragraph read. No event watching in them.
It would seem that Windoweyes has used the Sapi format along with the
Window controls but could not find any association/description.
So back to the old simple controls built in.
Bruce
I will take Tom's idea to see if it helps; I'm afraid adding a small sleep
cycle won't help, as the code just sleeps while the previous line speaks,
unless I get the sleep too long, then it becomes jerky and full of unnatural
pauses.
Chip
-----Original Message-----
From: Jared Wright [mailto:wright.jaredm@gmail.com]
Sent: Friday, July 16, 2010 1:16 AM
To: gw-scripting@gwmicro.com
Subject: Re: speech question
Break them up into different speak statements for different lines (if
they're not already, I'd imagine it's some sort of loop?) and manually
insert a small sleep cycle? Or perhaps just append a period to the string of
each line to force it to speak normally. You also might try tweaking the
reading mode to line instead of paragraph as Tom mentioned, that sounds
feasible.
On 7/15/2010 7:35 PM, Chip Orange wrote:
thanks Steve, but the text of what the user needs to choose from
contains important punctuation they need to hear.
I could turn on punctuation, say each line, then turn it off and add
punctuation to cause a pause maybe? what do you think of that?
Chip
-----Original Message-----
From: Stephen Clower [mailto:steve@steve-audio.net]
Sent: Thursday, July 15, 2010 6:15 PM
To: gw-scripting@gwmicro.com
Subject: Re: speech question
Try temporarily turning screen punctuation off, and insert a bunch
of periods into your string. E.G.
Option 1. Do something.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Option 2. Do something else.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
And so on.
Steve
On 7/15/2010 6:11 PM, Pastor Gil Pries wrote:
Hi Chip,
Does it do it with all synthesizers?I don't know scripting so can't help, but was wondering about that.
Hope you get it solved.Pastor Gil
--------------------------------------------------
From: "Allison and Chip Orange"Sent: Thursday, July 15, 2010 3:04 PM To:
Subject: speech question
Hi all,
I need to be able to cause WE to read a window, with a choice oneach line, and I'd like it to pause slightly at the end of each line.
Is there either a speech setting in the set file I can use, or a
character I can add to the end of each line, or any other way toachieve this?
rightnow, even when setting the speed slower, it's running all the
choices together into one long, almost unintelligible, string.
thanks.
Chip




