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,

Reply via email to