Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. how qtspeech updates voice or language list ?
Forum Updated to NodeBB v4.3 + New Features

how qtspeech updates voice or language list ?

Scheduled Pinned Locked Moved Solved Mobile and Embedded
7 Posts 2 Posters 671 Views
  • 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.
  • S Offline
    S Offline
    stevewu
    wrote on last edited by
    #1

    how to update the voice or language list of qtspeech?
    for example, if i need female voice ,but the list only has male voice , how to deal with it ?
    cbc93c0b-c1cb-4b28-b4c4-720322eaf14c-图片.png

    jsulmJ 1 Reply Last reply
    0
    • S stevewu

      how to update the voice or language list of qtspeech?
      for example, if i need female voice ,but the list only has male voice , how to deal with it ?
      cbc93c0b-c1cb-4b28-b4c4-720322eaf14c-图片.png

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @stevewu https://doc.qt.io/qt-5/qtexttospeech.html#setVoice

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      S 1 Reply Last reply
      0
      • jsulmJ jsulm

        @stevewu https://doc.qt.io/qt-5/qtexttospeech.html#setVoice

        S Offline
        S Offline
        stevewu
        wrote on last edited by
        #3

        @jsulm hi, jsulm, I need to update the availableVoices() list ,
        as the image above,if I need female voice, but the voice name list only has male voice.
        how can I deal with it?

        jsulmJ 1 Reply Last reply
        0
        • S stevewu

          @jsulm hi, jsulm, I need to update the availableVoices() list ,
          as the image above,if I need female voice, but the voice name list only has male voice.
          how can I deal with it?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @stevewu Sorry, I'm not an expert in this area. I think it depends on the used speech back-end.
          https://doc.qt.io/qt-5/qtexttospeech.html
          "On Linux, speech-dispatcher is used by default".

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          S 1 Reply Last reply
          0
          • jsulmJ jsulm

            @stevewu Sorry, I'm not an expert in this area. I think it depends on the used speech back-end.
            https://doc.qt.io/qt-5/qtexttospeech.html
            "On Linux, speech-dispatcher is used by default".

            S Offline
            S Offline
            stevewu
            wrote on last edited by
            #5

            @jsulm thanks for your reply,
            I check the code in path ../qtspeech-everywhere-src-5.12.5/src/plugins/tts/speechdispatcher/qtexttospeech_speechd.cpp, line 88
            speechDispatcher = spd_open("QTextToSpeech", "main", nullptr, SPD_MODE_THREADED);

            the function 'spd_open' is defined by libspeechd-dev ,
            so I need to deal with libspeechd-dev lib, to fix it?

            jsulmJ 1 Reply Last reply
            0
            • S stevewu

              @jsulm thanks for your reply,
              I check the code in path ../qtspeech-everywhere-src-5.12.5/src/plugins/tts/speechdispatcher/qtexttospeech_speechd.cpp, line 88
              speechDispatcher = spd_open("QTextToSpeech", "main", nullptr, SPD_MODE_THREADED);

              the function 'spd_open' is defined by libspeechd-dev ,
              so I need to deal with libspeechd-dev lib, to fix it?

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @stevewu said in how qtspeech updates voice or language list ?:

              so I need to deal with libspeechd-dev lib, to fix it?

              Yes, you need to find out how the speech back-end handles the voices.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              S 1 Reply Last reply
              0
              • jsulmJ jsulm

                @stevewu said in how qtspeech updates voice or language list ?:

                so I need to deal with libspeechd-dev lib, to fix it?

                Yes, you need to find out how the speech back-end handles the voices.

                S Offline
                S Offline
                stevewu
                wrote on last edited by
                #7

                @jsulm OK , I got it,,

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved