Raspberry pi2 windowsiot中的语音语言

Raspberry pi2 windowsiot中的语音语言,raspberry-pi2,windows-10-iot-core,Raspberry Pi2,Windows 10 Iot Core,我找不到有关此类别或“Windows物联网”类别的信息 有没有办法为Raspberry Pi的Windows IOT语音系统安装新语言 我正在编写一个应用程序,它应该讲法语,但没有内置法语语音语言这将有助于在Windows 10 IoT Core上提供多种语言: 总之 在Win 7/8/10机器上安装语言 复制自:C:\Windows\Speech\u OneCore\Engines\SR\(lang) 到Windows IoT:\\minwinpc\C$\Windows\Speech\u On

我找不到有关此类别或“Windows物联网”类别的信息

有没有办法为Raspberry Pi的Windows IOT语音系统安装新语言


我正在编写一个应用程序,它应该讲法语,但没有内置法语语音语言

这将有助于在Windows 10 IoT Core上提供多种语言:

总之

  • 在Win 7/8/10机器上安装语言
  • 复制自:C:\Windows\Speech\u OneCore\Engines\SR\(lang)
  • 到Windows IoT:\\minwinpc\C$\Windows\Speech\u OneCore\Engines\SR\(lang)
  • 然后您可以使用:

    var speechRecognizer=新的speechRecognizer(新语言(“(lang)”))

  • 详情如下: (原链接(已死亡)):


    (回程机器链接):

    供参考,中有一个非常好的示例,详细介绍了如何使用SpeechRecongnizer和SpeechSynthesizer。按照Jim回答中的步骤进行操作后,您应该能够使用以下方式在语音合成器上设置语音:

    public static string voiceMatchLanguageCode = "fr";
    
    // select the language 
    var voices = SpeechSynthesizer.AllVoices;
    foreach (VoiceInformation voice in voices)
    {
        if (voice.Language.Contains(voiceMatchLanguageCode)) 
        {
            synthesizer.Voice = voice;
            break;
        }
     }