12-14-2020, 05:58 AM | #1 |
Bookish
Posts: 967
Karma: 1807784
Join Date: Jun 2011
Device: PC, t1, t2, t3, aura 2 v1, clara HD, Libra 2, Libra Color, Nxtpaper 11
|
calibre 5.7.2: Voice selection
On windows 10 I have 4 default voices installed: George, Hazel, Suzan and Frank. I have selected per default Frank.
When I open the Read-out-Aloud setting in the viewer I miss the existing options George, Suzan and Frank. There seems to be an additional new voice named Zira however. (Suzan under another name?) No matter which option I select in the viewer, I always seem to have selected Hazel (according to my limited audio recognition capabilities). Do I miss some config settings to make the voice selection work? |
12-14-2020, 06:11 AM | #2 |
creator of calibre
Posts: 44,380
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
voices come from the windows registry. David and Zira are the default voices in windows 10, with david being the system default. As for the rest whether they are recognized or not depends on where you go tht evoice from and whether the windows SAPI subsytem recognizes it.
|
Advert | |
|
12-14-2020, 06:18 AM | #3 | |
Diligent dilettante
Posts: 3,440
Karma: 49052774
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra H2O
|
Quote:
|
|
12-14-2020, 06:26 AM | #4 | |
Bookish
Posts: 967
Karma: 1807784
Join Date: Jun 2011
Device: PC, t1, t2, t3, aura 2 v1, clara HD, Libra 2, Libra Color, Nxtpaper 11
|
Quote:
So perhaps calibre does not read the current registry setting correctly. I'm using Windows 10 Pro 2004 build 19041.685 |
|
12-14-2020, 06:40 AM | #5 |
creator of calibre
Posts: 44,380
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre doesnt read the registry, windows does. calibre just calls the windows SAPI SpEnumToken function to get the voices.
|
Advert | |
|
12-14-2020, 07:34 AM | #6 |
Grand Sorcerer
Posts: 6,216
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
I wonder if there is anyone in the world who understands how Microsoft makes installed Voices available to various applications. The whole Windows registry is littered with lists of Voices, but which Voices appear in each list varies. Whoever thought this up must be some kind of sadist.
To the best of my knowledge (based on the work done on my 'TTS to MP3' plugin) the list of Voices calibre will see depends on whether you're using calibre 32-bit or calibre 64-bit. On my own Win10 PC: calibre 64-bit can see all Voices listed under this registry key: Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\Tokens Code:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\SPEECH\Voices\Tokens All of the above is based on observation/experiment rather than any real understanding. |
12-14-2020, 07:35 AM | #7 |
Bookish
Posts: 967
Karma: 1807784
Join Date: Jun 2011
Device: PC, t1, t2, t3, aura 2 v1, clara HD, Libra 2, Libra Color, Nxtpaper 11
|
Ok. In that case it seems that SpEnumToken has a preference for just the "Desktop" voice kinds. Which also explains why voice Zira is listed alongside voice Hazel.
|
12-14-2020, 07:40 AM | #8 | |
Bookish
Posts: 967
Karma: 1807784
Join Date: Jun 2011
Device: PC, t1, t2, t3, aura 2 v1, clara HD, Libra 2, Libra Color, Nxtpaper 11
|
Using Windows is a kind of self-torture I did gave up trying to understand Windows since version 3.11 ...
Quote:
In my case Win10 64x Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\Tokens Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech_OneCore\Voices\Tokens Last edited by DrChiper; 12-14-2020 at 08:41 AM. |
|
12-14-2020, 10:23 AM | #9 | |
Resident Curmudgeon
Posts: 75,995
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
12-14-2020, 11:35 AM | #10 |
Grand Sorcerer
Posts: 6,216
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Not too surprising. I think David may be a Windows 8 Voice whereas Eva is Windows 10 Cortana. There's another Win10 (not Cortana) US Male Voice, Mark, which should be accessible to those who have installed the US Voice pack. It may need registry editing shenanigans, though.
|
12-14-2020, 12:00 PM | #11 | |
Resident Curmudgeon
Posts: 75,995
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
If I had known David was rubbish, I would not have installed his reg entires. |
|
12-14-2020, 12:37 PM | #12 |
Grand Sorcerer
Posts: 6,216
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
|
12-14-2020, 01:43 PM | #13 |
Diligent dilettante
Posts: 3,440
Karma: 49052774
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra H2O
|
Thanks for the regedit tips jackie_w! I have another problem with my voice selectrion now, though.
When I opened Calibre viewer yesterday, and opened the selection dialog for Read Aloud, it offered several "ScanSoft" voices. I selected one, but then found that it was not actually available, despite Calibre viewer ofering it as an option. Now, I can't access the selection dialog to change it to one of the voices made available by following the procedure above. I get this error message: "OSError: C:\r\src\src\calibre\utils\windows\winsapi.cpp:163 :Failed to find voice with id:[-2147200966] IDispatch error #20026: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voice s\Tokens\ScanSoftTom_Dri20_22kHz" It's a perfectly understandable error message, my problem is that it pops up when I click on the gear icon to try to change the selected voice to one that is available. I've tried a Repair of my Calibre install, but that didn't fix it. Any ideas on how I should proceed? |
12-14-2020, 02:15 PM | #14 | |
Grand Sorcerer
Posts: 6,216
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
I also own several old purchased ScanSoft Voices, including Tom. I think they are Win 32-bit-only Voices. I can only see mine when I use calibre portable, which is 32-bit and, as I said earlier in the thread, I think the 32-bit Voice list is coming from registry key Code:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\SPEECH\Voices\Tokens This is the current contents of my registry entry for ScanSoft Tom. This is what the Tom installer exe put in my registry. Spoiler:
|
|
12-14-2020, 02:37 PM | #15 |
Diligent dilettante
Posts: 3,440
Karma: 49052774
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra H2O
|
Thanks Jackie. I think I may have been a bit imprecise about the nature of my problem. Those scansoft voices appeared yesterday in my Calibre viewer's "Configure Read Aloud" list of voices. They were not showing up in my Calibre list when I posted these screenshots two days ago, then they appeared, and I stupidly selected one. The error message I posted above is 100% accurate, because a regedit search shows no entries in any key in the entire registry for any ScanSoft voices. My problem is that I can't access the Calibre viewer's "Configure Read Aloud" dialog to repalce the missing voice with one I do have, because attempting to do so by clicking the gears icon brings up that error message.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Reverse selection in Calibre library | BeeTee-Ess | Calibre | 2 | 04-29-2014 11:16 PM |
Could Calibre remember its selection when closed and re-opened | BeeTee-Ess | Calibre | 11 | 12-29-2013 09:15 PM |
Calibre crashes on menu Button selection | entity | Calibre | 6 | 12-15-2012 03:44 AM |
Calibre & Whispersync for Voice Books | nynaevelan | Kindle Fire | 15 | 10-17-2012 01:19 PM |
Font size selection during conversion by Calibre for Kindle 3 | excalibra | Conversion | 0 | 01-09-2012 05:05 PM |