LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
WaltBrown
- Posts: 466
- Joined: Mon May 11, 2009 9:12 pm
Post
by WaltBrown » Mon Sep 20, 2010 7:00 am
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
Walt Brown
Omnis traductor traditor
-
Mark
- Livecode Opensource Backer

- Posts: 5150
- Joined: Thu Feb 23, 2006 9:24 pm
-
Contact:
Post
by Mark » Tue Sep 21, 2010 10:41 am
Hi Walt,
Does the speech control panel play the other voices in a 64bit environment?
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
WaltBrown
- Posts: 466
- Joined: Mon May 11, 2009 9:12 pm
Post
by WaltBrown » Wed Sep 22, 2010 1:39 am
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
Walt Brown
Omnis traductor traditor
-
Mark
- Livecode Opensource Backer

- Posts: 5150
- Joined: Thu Feb 23, 2006 9:24 pm
-
Contact:
Post
by Mark » Wed Sep 22, 2010 8:19 am
Hi Walt,
Have you tried using all those voices?
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
WaltBrown
- Posts: 466
- Joined: Mon May 11, 2009 9:12 pm
Post
by WaltBrown » Wed Sep 22, 2010 1:25 pm
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
Walt Brown
Omnis traductor traditor
-
Mark
- Livecode Opensource Backer

- Posts: 5150
- Joined: Thu Feb 23, 2006 9:24 pm
-
Contact:
Post
by Mark » Wed Sep 22, 2010 4:29 pm
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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
WaltBrown
- Posts: 466
- Joined: Mon May 11, 2009 9:12 pm
Post
by WaltBrown » Thu Sep 23, 2010 6:34 pm
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
Walt Brown
Omnis traductor traditor
-
WaltBrown
- Posts: 466
- Joined: Mon May 11, 2009 9:12 pm
Post
by WaltBrown » Thu Sep 23, 2010 6:49 pm
OK, it must be a Windows issue, none of the LC tools or DLLs have any voice listings embedded.
Walt
Walt Brown
Omnis traductor traditor
-
WaltBrown
- Posts: 466
- Joined: Mon May 11, 2009 9:12 pm
Post
by WaltBrown » Thu Sep 23, 2010 7:30 pm
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
Walt Brown
Omnis traductor traditor
-
WaltBrown
- Posts: 466
- Joined: Mon May 11, 2009 9:12 pm
Post
by WaltBrown » Thu Sep 23, 2010 7:50 pm
Anyone have the source for revSpeechVoices in revspeech.dll?
Walt Brown
Omnis traductor traditor
-
WaltBrown
- Posts: 466
- Joined: Mon May 11, 2009 9:12 pm
Post
by WaltBrown » Thu Oct 07, 2010 11:08 pm
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
Walt Brown
Omnis traductor traditor