Quote:
Originally Posted by jackie_w
Last time I looked the newer "natural voices" were not physically present as files in the local copy of Windows. I believe everything is done via sending the text to a MS server and the server sending back the audio, i.e. everything is done via the internet. Whilst this remains the case I don't really see a possibility of harnessing online-only voices in a local calibre plugin like this.
|
Quote:
Originally Posted by Quoth
Exactly.
Also it's a serious privacy / security issue. On Android I only use local TTS files.
|
No, the Natural voices are local TTS files on Windows 11, they are just so far limited to being used by Narrator's voice online and offline.
when you select add natural voices box it downloads them, if you go offline and have it set to Any Microsoft (Natural) - English US or UK, they work with the internet disconnected now, but they only show up under Accessibility > Narrator, text to speech only has Legacy voices for it, so it's not true that they are online only anymore-
So, if you can make say Natural voices work as Legacy voices by changing a few lines in regedit it might be possible to get them to work outside of Narrator, but since I am not a expect in regedit myself, I am not sure I can do that on my own.
again when you click on
Add Natural Voices in the
(Add) button, that I shared in that shows the details in the image which shows each natural english voices and shows in image each ones download size, I removed each voice in powershell and redownload them afterwards to make a screenshot of the file sizes today each one is small and mb in size and they all work offline in narrator app under windows 11. included the file sizes as a quote here, used
(a919) Free Ocr for Windows Desktop to change the text in the graphics into text just to make they easy to post if you for some reason cannot see my image posts in your browsers.
Quote:
Microsoft Neerja (Natural)
Female, English (India). 32.3 MB
Microsoft Prabhat (Natural)
Male, English (India), 32.3 MB
Microsoft Ryan (Natural)
Male, English (United Kingdom), 20.1 MB
Microsoft Sonia (Natural)
Female, English (United Kingdom), 20.1 MB
Microsoft Aria (Natural)
Female, English (United States), 12.2 MB
Microsoft Guy (Natural)
Male. English (United States), 12 MB
Microsoft Jenny (Natural)
Female, English (United States), 11.4 MB
|
after you download them in Narrator, in PowerShell app using this command, you can find the files names
Get-AppxPackage -Name "*Voice*"
Quote:
Name : MicrosoftWindows.Voice.en-GB.Sonia.1
Publisher : CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture : X64
ResourceId :
Version : 1.0.3.0
PackageFullName : MicrosoftWindows.Voice.en-GB.Sonia.1_1.0.3.0_x64__cw5n1h2txyewy
InstallLocation : C:\Program Files\WindowsApps\MicrosoftWindows.Voice.en-GB.Sonia.1_1.0.3.0_x64__cw5n1h2txyewy
IsFramework : False
PackageFamilyName : MicrosoftWindows.Voice.en-GB.Sonia.1_cw5n1h2txyewy
PublisherId : cw5n1h2txyewy
IsResourcePackage : False
IsBundle : False
IsDevelopmentMode : False
NonRemovable : False
IsPartiallyStaged : False
SignatureKind : Store
Status : Ok
Name : MicrosoftWindows.Voice.en-US.Aria.1
Publisher : CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture : X64
ResourceId :
Version : 1.0.8.0
PackageFullName : MicrosoftWindows.Voice.en-US.Aria.1_1.0.8.0_x64__cw5n1h2txyewy
InstallLocation : C:\Program Files\WindowsApps\MicrosoftWindows.Voice.en-US.Aria.1_1.0.8.0_x64__cw5n1h2txyewy
IsFramework : False
PackageFamilyName : MicrosoftWindows.Voice.en-US.Aria.1_cw5n1h2txyewy
PublisherId : cw5n1h2txyewy
IsResourcePackage : False
IsBundle : False
IsDevelopmentMode : False
NonRemovable : False
IsPartiallyStaged : False
SignatureKind : Store
Status : Ok
Name : MicrosoftWindows.Voice.en-US.Guy.1
Publisher : CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture : X64
ResourceId :
Version : 1.0.5.0
PackageFullName : MicrosoftWindows.Voice.en-US.Guy.1_1.0.5.0_x64__cw5n1h2txyewy
InstallLocation : C:\Program Files\WindowsApps\MicrosoftWindows.Voice.en-US.Guy.1_1.0.5.0_x64__cw5n1h2txyewy
IsFramework : False
PackageFamilyName : MicrosoftWindows.Voice.en-US.Guy.1_cw5n1h2txyewy
PublisherId : cw5n1h2txyewy
IsResourcePackage : False
IsBundle : False
IsDevelopmentMode : False
NonRemovable : False
IsPartiallyStaged : False
SignatureKind : Store
Status : Ok
|
as you can see it downloads files and stores them on your pc for the voices, but the cache is that they are setup so only Narrator can use them so far, that's why I think if you can make them show up as a Legacy voice you should be able to use them with Calibre's eBooks viewer read aloud offline since it works with Narrator offline too. of course, Narrator can be used to read eBooks I think I just have not figured out how Narrator works as a reader in such software. So if and when they work as Legacy voices then you should be able to use them with TTS to MP3 also, since they are locally stored and are not online only compared to edge's pdf read aloud which I think still using them as online only, in Narrator they are downloaded in windows 11 and do work offline, since I took my pc offline today Wi-Fi Connection my our home router, and as far the voice feature in Narrator with these voices do seem to work.
and if you want to remove them just use this type command which I put the link to that page here, for whatever reason if you want to uninstall them it has to be done in powershell.
https://www.thewindowsclub.com/how-t...tor-on-windows
Get-AppxPackage -Name "*Voice*"
Remove-AppxPackage -Package "MicrosoftWindows.Voice.en-US.Jenny.1_1.0.8.0_x64__cw5n1h2txyewy"
Quote:
How to Remove Natural Voices in Narrator on Windows 11
To remove a Natural Voice in Narrator on Windows 11, you will have to make use of the
command line. So launch Terminal or PowerShell as administrator and run this command
first:
Get-App><Package -Name "*Voice*"
This will give you the details of the Voice packages installed on your computer.
( Image from website went here) it does not translate images within images from (a919) Free Ocr for Windows Desktop and I had to correct one line since OCR is still not perfect and can make mistakes reading images)
Locate the one you want to remove. Let us say it is Jenny, Note down the PackageFullName
for it. lt is:
MicrosoftWindows.Voice.en-US.Jenny.1_1.0.8.0_x64__cw5n1h2txyewy
Then you have to run this command:
Remove-AppxPackage -Package "MicrosoftWindows.Voice.en-US.Jenny.1_1.0.8.0_x64__cw5n1h2txyewy"
You will see a message flash, and then the Voice package will be removed.
|
My Feedback hub Suggestion link for this so the natural voices get setup as legacy voices post.
https://aka.ms/AAp53w5
I don't know if any of this information is helpful in getting natural voices working as legacy voices, if its possible, I search one entrie of Microsoft Sonia in regedit to see all the places its stored in. first image should be of the 3 legacie voices in text to speech, then the rest of it should be where narrator is storing some of the info about the locally stored natural voices on windows 11. first link is a page on windows 10 and text to speech voices if that helps.
https://www.ghacks.net/2018/08/11/un...-more-of-them/
__________________
My Current Desktop pc info from CPU-Z website.
https://valid.x86.fr/sgnydq