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:

 "BT" <b2me@fltg.net>

Subject:

 Re: SAPI question

Date:

 Thu, Jun 7, 2012 8:18:11 pm
This is a multi-part message in MIME format.

------=_NextPart_000_0049_01CD44EA.A958AF50
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Dave,

Sapi 4 voices along with some Sapi 5 voices are no longer used, or allowed on some systems, if not all. For they have to be registered and all this got changed I Vista and Windows7

The Sapi 4 is nice for sound effects but that is about it.

Even attempting to use Mike, Mary beyond the old Standard Sam will not work but they are still available on the web. For the not registered error will come up, which I had to work around inside that Sapi45Class file using an error trap to ignore them.

Anna is the standard default like the old Sam was on XP machines. Now, if you do have an XP machine you can use them because XP does not look for a register in the registry for them, just a class and path to find them.

The old Sapi 4 had memory errors and leaks, along with a nice way to hide virus code inside of them, one main reason why all old Sapi voices will not run. The new Sapi 5.3 is what is used for voices with little to no reverse compatibility, even though Microsoft first said they were and were not. Yes, new voices can run on old but old can not run on new.

So the old Sapi 4 is for those who still have XP machines or a possible compatibility mode.

Look at the class and note the complete format difference in the calling methods and you will see why there is no way of telling the difference outside of downloading them; but beware of viruses from websites that have them.

In my class there are if-else in every property there and labeled each as tts4 or tts5 to indicate the engine being used.

Bruce

Sent: Thursday, June 07, 2012 6:54 PM
Subject: SAPI question


Is there a quick, reliable way for me to determine if a SAPI voice is version 4 or 5? I do see how to retrieve the Description, Manufacturer, Product and Speaker info from the voice engine object. But is there any standards here, or any other test I can perform, so as to know if the voice in question is a SAPI 4 or SAPI 5 voice?

Thanks,

------=_NextPart_000_0049_01CD44EA.A958AF50
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19222">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Hi Dave,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>&nbsp;&nbsp;&nbsp; Sapi 4 voices along with some
Sapi 5 voices are no longer used, or allowed on some systems, if not all. For
they have to be registered and all this got changed I Vista and
Windows7</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>&nbsp;&nbsp;&nbsp; The Sapi 4 is nice for sound
effects but that is about it. </FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>&nbsp;&nbsp;&nbsp; Even attempting to use Mike,
Mary beyond the old Standard Sam will not work&nbsp;but&nbsp;they are still
available on the web. For the not registered error will come up, which I had to
work around inside that Sapi45Class file using an error trap to ignore
them.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>&nbsp;&nbsp;&nbsp; Anna is the standard default
like the old Sam was on XP machines. Now, if you do have an XP machine you can
use them because XP does not look for a register in the registry for them, just
a class and path to find them.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>&nbsp;&nbsp;&nbsp; The old Sapi 4 had memory errors
and leaks, along with a nice way to hide virus code inside of them, one main
reason why all old Sapi voices will not run. The new Sapi 5.3 is what is used
for voices with little to no reverse compatibility, even though Microsoft first
said they were and were not. Yes, new voices can run on old but old can not run
on new.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>&nbsp;&nbsp;&nbsp; So the old Sapi 4 is for those
who still have XP machines or a possible compatibility mode.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>&nbsp;&nbsp;&nbsp; Look at the class and note the
complete format difference in the calling methods and you will see why there is
no way of telling the difference outside of downloading them; but beware of
viruses from websites that have them.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>&nbsp;&nbsp;&nbsp; In my class there are if-else in
every property there and labeled each as tts4 or tts5 to indicate the engine
being used.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
Bruce</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, June 07, 2012 6:54
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> SAPI question</DIV>
<DIV><BR></DIV>
<DIV><FONT size=2 face=Arial>Is there a quick, reliable way for me to
determine if a SAPI voice is version 4 or 5? I do see how to retrieve the
Description, Manufacturer, Product and Speaker info from the voice engine
object. But is there any standards here, or any other test I can perform, so
as to know if the voice in question is a SAPI 4 or SAPI 5 voice?</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>Thanks,</FONT></DIV>
<DIV>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0049_01CD44EA.A958AF50--