Page 1 of 1

revSpeechVoices question

Posted: Mon Sep 20, 2010 7:00 am
by WaltBrown
Hi!
I do the following:

Code: Select all

   put revSpeechVoices() into fld "fVoices"
and I get this result:

Code: Select all

Microsoft Anna - English (United States)
Microsoft Mary
Microsoft Mike
ScanSoft Daniel_Dri40_22kHz
ScanSoft Samantha_Dri40_22kHz
ScanSoft Serena_Dri40_22kHz
ScanSoft Tom_Dri40_22kHz
but Windows (x64 Vista) says I only have Microsoft Anna (the default for Vista). Does anyone know if that is a SAPI4/SAPI5 issue? Where is Rev getting it's information from if the OS only indicates one voice? FYI, I have tried installing others from the MS Speech SDK some time in the past but failed.

Thanks,
Walt

Re: revSpeechVoices question

Posted: Tue Sep 21, 2010 10:41 am
by Mark
Hi Walt,

Does the speech control panel play the other voices in a 64bit environment?

Mark

Re: revSpeechVoices question

Posted: Wed Sep 22, 2010 1:39 am
by WaltBrown
Hi Mark.

No, the speech control panel only indicates Microsoft Anna. That's why I was wondering why LC indicates all the other voices as available. I didn't know if that meant they might be available to LC while not available to Vista x64, if it was a bug in LC, or what.

BR, Walt

Re: revSpeechVoices question

Posted: Wed Sep 22, 2010 8:19 am
by Mark
Hi Walt,

Have you tried using all those voices?

Best,

Mark

Re: revSpeechVoices question

Posted: Wed Sep 22, 2010 1:25 pm
by WaltBrown
Yes, I only get Microsoft Anna's voice no matter which voice I select. That's why I was wondering why LC lists all the others.
Walt

Re: revSpeechVoices question

Posted: Wed Sep 22, 2010 4:29 pm
by Mark
Hi Walt,

Apparently, RR/LC finds all voices, but it cannot play them all. Probably this is because most voices are 64 bit while RR is 32 bit. I presume two versions of Anna are included with Windows 7: 32 bit and 64 bit, while the other voices come as 64 bit only. (I didn't check this).

Best,

Mark

Re: revSpeechVoices question

Posted: Thu Sep 23, 2010 6:34 pm
by WaltBrown
Mark,

I think that might be worth checking, if LC actually checks for the real presence of the capability or makes a shortcut somewhere and grabs some default list of voices. I can't find any of the ScanSoft files anywhere on my computer. I think maybe some LC developer had a machine that had maybe an earlier Windows enterprise or ultimate capabilities on it, and cut and pasted that list of voices, making the mistaken assumption that all Win versions used that list (I'm feeling cynical at the moment) rather than having to write code that actually had to go out and look for each installation.

I'm going to "strings" all the code and see where "ScanSoft" was found.

Walt

Re: revSpeechVoices question

Posted: Thu Sep 23, 2010 6:49 pm
by WaltBrown
OK, it must be a Windows issue, none of the LC tools or DLLs have any voice listings embedded.
Walt

Re: revSpeechVoices question

Posted: Thu Sep 23, 2010 7:30 pm
by WaltBrown
Interesting. In the Registry, I found the following:
Under HKEY_LOCAL_MACHINE->SOFTWARE->

In MICROSOFT->SPEECH->VOICES->TOKENS->
I found what Win tells me I have:
MS-Anna

In Wow6432Node->MICROSFT->SPEECH-VOICES-TOKENS->
I found the exact list LC reports:
Microsoft Anna - English (United States)
Microsoft Mary
Microsoft Mike
ScanSoft Daniel_Dri40_22kHz
ScanSoft Samantha_Dri40_22kHz
ScanSoft Serena_Dri40_22kHz
ScanSoft Tom_Dri40_22kHz

Now this is well beyond me, but I wonder if Windows itself knows what questions to ask of the Registry when it is making 32 and 64 bit decisions, and revspeech.dll doesn't? Or Windows is too dumb to answer the correct question accurately? Or are these entries in the Registry an installation bug in Windows?

If anyone at RR/LC has the bandwidth, I guess find out how it is asking the question about what voices are available?

Walt

Re: revSpeechVoices question

Posted: Thu Sep 23, 2010 7:50 pm
by WaltBrown
Anyone have the source for revSpeechVoices in revspeech.dll?

Re: revSpeechVoices question

Posted: Thu Oct 07, 2010 11:08 pm
by WaltBrown
To refresh to the third message back in this thread, is LC looking at the Wow6432 reg entries or the actual available entries? If so, wouldn't that be a bug?
Walt