Is it possible to add a language pack to Windows IoT Core? I am using the SpeechRecognizer API and would like to add other languages. From what I can see in code, only en-US is an available language with the default installation.
Is it possible to add a language pack to Windows IoT Core? I am using the SpeechRecognizer API and would like to add other languages. From what I can see in code, only en-US is an available language with the default installation.
You can follow these steps:
Make sure you click on the Download button of the Speech option. After that you have "fr-FR" folder in your PC we will use in step 2 & 3.
Copy the ‘fr-FR’ folder from C:\Windows\Speech_OneCore\Engines\TTS (of the PC) and paste it to Windows\Speech_OneCore\Engines\TTS of the Windows IoT device(here I use Raspberry Pi 3). You can access the files on your device using Windows file sharing.
Second copy is a little more complex because the Common directory that we want to access is protected. First, you copy the ‘fr-FR’ folder from C:\Windows\System32\Speech_OneCore\Common (of the PC) and paste it to Windows\System32\Speech_OneCore of the Windows IoT device. Then, we need to use PowerShell to connect the IoT device and navigate to Windows\System32\Speech_OneCore, run this command:
mv .\fr-FR\ .\Common\
will move the ‘fr-FR’ folder into Windows\System32\Speech_OneCore\Common directory.To test if it works, use this piece of code:
You will see the following printed lines in Output window of Visual Studio:
Initial post is here: https://blog.paulfasola.fr/en/add-voices-windows-10-iot-core-tts/