Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. add code text to speech voices windows 7 ?

add code text to speech voices windows 7 ?

Scheduled Pinned Locked Moved C#
debuggingquestion
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 2456424
    wrote on last edited by
    #1

    I run the code below only the code "en-US, en-GB" I want to add the code "vi-VN" in win7, what should I do ?

    foreach (RecognizerInfo ri in SpeechRecognitionEngine.InstalledRecognizers())
    {
    System.Diagnostics.Debug.WriteLine(ri.Culture.Name);
    }

    P 1 Reply Last reply
    0
    • U User 2456424

      I run the code below only the code "en-US, en-GB" I want to add the code "vi-VN" in win7, what should I do ?

      foreach (RecognizerInfo ri in SpeechRecognitionEngine.InstalledRecognizers())
      {
      System.Diagnostics.Debug.WriteLine(ri.Culture.Name);
      }

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      By default, Windows does not provide support for Vietnamese as a speech recognition language. If you want to use Vietnamese, you might have to consider using something like ESpeak[^] instead.

      Advanced TypeScript Programming Projects

      U 1 Reply Last reply
      0
      • P Pete OHanlon

        By default, Windows does not provide support for Vietnamese as a speech recognition language. If you want to use Vietnamese, you might have to consider using something like ESpeak[^] instead.

        Advanced TypeScript Programming Projects

        U Offline
        U Offline
        User 2456424
        wrote on last edited by
        #3

        The link you sent me is a pronunciation program but there is no C# code and I can't find the *.dll pronunciation library, the program is written in C language, I am looking for C# code to read Vietnamese, microsoft now supports Vietnamese you see my links below

        // Create an in-process speech recognizer for the en-US locale.
        using ( SpeechRecognitionEngine recognizer = new SpeechRecognitionEngine( new System.Globalization.CultureInfo("vi-VN")))//You must set up Vietnamese pronunciation codes or pronunciation codes for other languages you need
        {
        ...
        }

        [SpeechRecognitionEngine Class (System.Speech.Recognition) | Microsoft Docs](https://docs.microsoft.com/en-us/dotnet/api/system.speech.recognition.speechrecognitionengine?redirectedfrom=MSDN&view=netframework-4.8) [Language support - Speech Service - Azure Cognitive Services | Microsoft Docs](https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support) by default, the program only English pronunciation does not support other languages.

        P 1 Reply Last reply
        0
        • U User 2456424

          The link you sent me is a pronunciation program but there is no C# code and I can't find the *.dll pronunciation library, the program is written in C language, I am looking for C# code to read Vietnamese, microsoft now supports Vietnamese you see my links below

          // Create an in-process speech recognizer for the en-US locale.
          using ( SpeechRecognitionEngine recognizer = new SpeechRecognitionEngine( new System.Globalization.CultureInfo("vi-VN")))//You must set up Vietnamese pronunciation codes or pronunciation codes for other languages you need
          {
          ...
          }

          [SpeechRecognitionEngine Class (System.Speech.Recognition) | Microsoft Docs](https://docs.microsoft.com/en-us/dotnet/api/system.speech.recognition.speechrecognitionengine?redirectedfrom=MSDN&view=netframework-4.8) [Language support - Speech Service - Azure Cognitive Services | Microsoft Docs](https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support) by default, the program only English pronunciation does not support other languages.

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          You do realise that the Language support you point to is for the Azure Cognitive Services version don't you? That's a paid-for cloud service, and not the one you have through the SpeechRecognitionEngine. You can use the one I linked to via P/Invoke.

          Advanced TypeScript Programming Projects

          U 1 Reply Last reply
          0
          • P Pete OHanlon

            You do realise that the Language support you point to is for the Azure Cognitive Services version don't you? That's a paid-for cloud service, and not the one you have through the SpeechRecognitionEngine. You can use the one I linked to via P/Invoke.

            Advanced TypeScript Programming Projects

            U Offline
            U Offline
            User 2456424
            wrote on last edited by
            #5

            Hi Pete O'Hanlon! I don't think the 2 pages I resend charge for one microsoft page, the other one of Azure, thank you for answering my questions. In case other countries do not support voice pronunciation like Vietnam, those countries often use which programming language ? Is there any library for C# programming support ?

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups